Table of Contents

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

pointIndex int

Which point of the dimension it is, 0 to 3 (see the remarks).

osnapType DxfOsnapType

The object snap it was taken by.

objectHandle string

The handle of the entity snapped to.

gsMarker int

The segment of a polyline snapped to, 1 for its first; 0 for a line, an arc or a circle.

nearParameter double

The 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.

point GeoPoint3

The point snapped, in world coordinates.

intersectionObjectHandle string

The 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.