Constructor DxfOsnapPointRef
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DxfOsnapPointRef(int, DxfOsnapType, string, int, double, GeoPoint3, string)
Makes a point reference to an entity.
public DxfOsnapPointRef(int pointIndex, DxfOsnapType osnapType, string objectHandle, int gsMarker, double nearParameter, GeoPoint3 point, string intersectionObjectHandle)
Parameters
pointIndexintWhich point of the dimension it is, 0 to 3 (see the remarks).
osnapTypeDxfOsnapTypeThe object snap it was taken by.
objectHandlestringThe handle of the entity snapped to.
gsMarkerintThe segment of a polyline snapped to, 1 for its first; 0 for a line, an arc or a circle.
nearParameterdoubleThe parameter of the point on the entity: 0 to 1 along a line or a segment of a polyline, the angle on an arc or a circle.
pointGeoPoint3The point snapped, in world coordinates.
intersectionObjectHandlestringThe handle of the second entity of an intersection; null for any other snap.
Exceptions
- ArgumentOutOfRangeException
Thrown when the index is not 0 to 3.
- ArgumentNullException
Thrown when the handle is null.