Share

LineSegment2d Object


Description

The LineSegment2d object. The object is a transient mathematical object and is not displayed graphically.

Methods

Name Description
Copy Creates a copy of this LineSegment2d object. Creates a copy of this LineSegment2d object. The result is entirely independent and can be edited without affecting the original LineSegment2d object.
DistanceTo Method that returns the distance to the specified point.
GetLineSegmentData Get the data defining this line segment.
IntersectWithCurve Method that returns Point2d objects that represent the points at the intersection of the Line2d/LineSegment2d and the input curve. Returns Nothing if the curves overlap or are parallel.
PutLineSegmentData Method that sets the data defining this line segment.

Properties

Name Description
Direction Gets the direction of the line segment.
EndPoint Specifies the end point of the line segment.
Evaluator Gets the Curve2dEvaluator for this line segment.
MidPoint Gets the mid point of the line segment.
StartPoint Specifies the start point of the line segment.

Accessed From

LineSegment2d.Copy, SketchLine.Geometry, SketchLineProxy.Geometry, SketchSplineHandle.Geometry, SketchSplineHandleProxy.Geometry, TransientGeometry.CreateLineSegment2d

Version

Introduced in version 5

Was this information helpful?