| Name | Description |
| Copy | Creates a copy of this LineSegment object. The result is entirely independent and can be edited without affecting the original LineSegment object. |
| DistanceTo | Method that returns the distance to the specified point. |
| GetLineSegmentData | Method that returns the data defining this line segment. |
| IntersectWithCurve | Method that returns Point objects that represent the points at the intersection of the Line/LineSegment and the input curve. Returns Nothing if the curves overlap or are parallel. |
| IntersectWithSurface | Method that returns Point objects that represent the points at the intersection of the Line/LineSegment and the input surface. Returns Nothing if the Line/LineSegment lies on the surface or it is parallel to the surface. |
| PutLineSegmentData | Method that sets the data defining this line segment. |
| Name | Description |
| Direction | Property that returns the direction of the line segment. |
| EndPoint | Specifies the end point of the line segment. |
| Evaluator | Property that returns the CurveEvaluator for this line segment. |
| MidPoint | Property that returns the midpoint of the line segment. |
| StartPoint | Specifies the start point of the line segment. |
| Name | Description |
| Create sheet metal rip feature | This sample demonstrates the creation of a rip sheet metal feature. |
| Transient surface body creation | The following sample demonstrates the creation of a transient surface body consisting of a single rectangular face. The body is created in transient space and then copied over to a part document as a base feature. |
| Create curve primitives | This sample demonstrates the creation of curve primitives (lines, arcs, circles, etc.) using client graphics. |