Method OnSegmentAt
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
OnSegmentAt(int, GeoPoint2, double)
Gets whether a point of the plane lies on the segment that leaves a vertex, within the point tolerance, as AutoCAD's
OnSegmentAt.
public bool OnSegmentAt(int index, GeoPoint2 pt2d, double value)
Parameters
indexintThe index of the vertex, from nought.
pt2dGeoPoint2The point, in the system of the polyline's normal.
valuedoubleNot read: AutoCAD's parameter of the point on the segment, which it does not give back either.
Returns
- bool
Whether the point is on the segment; false where the vertex leaves none.
Exceptions
- ArgumentOutOfRangeException
Thrown when there is no vertex of the index.