This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

Line Class

The Line class represents a single infinite line in 3D space. See LineSegment for the implementation of a segment of a line.
Inheritance Hierarchy

Namespace:  Tekla.Structures.Geometry3d
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2019.0.0.0 (2019.0.0.0)
public class Line

The Line type exposes the following members.

  Name Description
Public method Line
Instantiates a line with an undefined direction.
Public method Line(LineSegment)
Instantiates a line defined by the given line segment.
Public method Line(Point, Point)
Instantiates a line defined by the given points.
Public method Line(Point, Vector)
Instantiates a line defined by the given point and direction vector.
  Name Description
Public property Direction
The direction vector of the line.
Public property Origin
The origin of the line.
See Also