![](../icons/Help.png) | CVVUOffsetCircles Method |
Get non-overlapping offset location for circular symbols.
Available since Oasis montaj version: 5.0.7
License: Available to anyone with an Oasis Montaj license.
Namespace: Geosoft.Desktop.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.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
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!).
Syntaxpublic static void OffsetCircles(
CGXNETCore gxNetShared,
CVV vv_xi,
CVV vv_yi,
double offset,
double radius,
CVV vv_xo,
CVV vv_yo
)
Public Shared Sub OffsetCircles (
gxNetShared As CGXNETCore,
vv_xi As CVV,
vv_yi As CVV,
offset As Double,
radius As Double,
vv_xo As CVV,
vv_yo As CVV
)
public:
static void OffsetCircles(
CGXNETCore^ gxNetShared,
CVV^ vv_xi,
CVV^ vv_yi,
double offset,
double radius,
CVV^ vv_xo,
CVV^ vv_yo
)
static member OffsetCircles :
gxNetShared : CGXNETCore *
vv_xi : CVV *
vv_yi : CVV *
offset : float *
radius : float *
vv_xo : CVV *
vv_yo : CVV -> unit
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
See Also