Click or drag to resize
CVVUOffsetRectangles Method
Get non-overlapping offset location for rectangular symbols.

Available since Oasis montaj version: 5.0.7
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNet
Assembly: geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll)
Notes
Often on maps plotted symbols and text overlap each other. This routine accepts of VV of locations and returns a new set of locations offset from the originals, and guaranteed not to overlap, given the size of the original symbols. The returned offset X, Y locations are offset from the original locations by the minimum of a) the input offset, b) the input symbol X or Y size. This is to ensure that the original location is never covered by the offset symbol. In addition, the offset symbol is never place directly below the original location, to make it easier to draw a connecting line. Care should be taken when choosing the symbol size, because if the point density is too high, all the points will get pushed to the outside edge and your plot will look like a hedgehog (it also takes a lot longer!).
Syntax
public static void OffsetRectangles(
	CVV oVV1,
	CVV oVV2,
	double d3,
	double d4,
	double d5,
	CVV oVV6,
	CVV oVV7
)

Parameters

oVV1
Type: GeoEngine.Core.GXNetCVV
Input X locations
oVV2
Type: GeoEngine.Core.GXNetCVV
Input Y locations
d3
Type: SystemDouble
minimum offset distance
d4
Type: SystemDouble
symbol X size (width)
d5
Type: SystemDouble
symbol Y size (height)
oVV6
Type: GeoEngine.Core.GXNetCVV
Output (offset) X locations
oVV7
Type: GeoEngine.Core.GXNetCVV
Output (offset) Y locations
See Also