Method getOsnapNearest
- Namespace
- VectorDraw.Professional.vdPrimaries
- Assembly
- VectorDraw.Professional.dll
getOsnapNearest(gPoint, OsnapMode)
Get The closest osnap point to the givenPoint.
public gPoint getOsnapNearest(gPoint givenPoint, OsnapMode omode)
Parameters
givenPointgPointA point in World Coordinate System(WCS).
omodeOsnapModeThe OsnapMode used to get the osnap points that will combine their distance from the givenPoint.
Returns
- gPoint
Returns null or a point in WCS belonging to the curve.
Remarks
This method returns null if this object is vdPolyface or vdGroundSurface