Share

TransientGeometry.CreateLineSegment2d Method

Parent Object: TransientGeometry

Description

Method that creates a new LineSegment2d object. The object created is a transient mathematical object and is not displayed graphically

Syntax

TransientGeometry.CreateLineSegment2d( StartPoint As Point2d, EndPoint As Point2d ) As LineSegment2d

Parameters

Name Type Description
StartPoint Point2d Input Point2d object that specifies the start point of the line.
EndPoint Point2d Input Point2d object that specifies the end point of the line.

Samples

Name Description
3D Curve from Parametric Curve Demonstrates the conversion of a 2d parameteric space curve into the equivalent 3d model space curve. To use this sample you must have a part open. You can select any face and 3D curves will be drawn on the face using client graphics.

Version

Introduced in version 11

Was this information helpful?