Click or drag to resize

CVVUOffsetCircles Method

Get non-overlapping offset location for circular symbols.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static void OffsetCircles(
	CGXNETCore gxNetShared,
	CVV vv_xi,
	CVV vv_yi,
	double offset,
	double radius,
	CVV vv_xo,
	CVV vv_yo
)

public static void OffsetCircles(
	CGXNETCore gxNetShared,
	CVV vv_xi,
	CVV vv_yi,
	double offset,
	double radius,
	CVV vv_xo,
	CVV vv_yo
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
vv_xi
Type: GeoEngine.Core.GXNetXCVV
Input X locations
vv_yi
Type: GeoEngine.Core.GXNetXCVV
Input Y locations
offset
Type: SystemDouble
Minimum offset distance
radius
Type: SystemDouble
Symbol radius
vv_xo
Type: GeoEngine.Core.GXNetXCVV
Output (offset) X locations
vv_yo
Type: GeoEngine.Core.GXNetXCVV
Output (offset) Y locations
Remarks
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 radius. This is to ensure that the original location is never covered by the offset symbol. 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!).
See Also