Table of Contents

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

givenPoint gPoint

A point in World Coordinate System(WCS).

omode OsnapMode

The 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