weldx.geometry.LineSegment¶
- class weldx.geometry.LineSegment(points)¶
Line segment.
Construct line segment.
- Parameters
points – 2x2 matrix of points. The first column is the starting point and the second column the end point.
- Returns
- Return type
Methods
Apply a transformation matrix to the segment.
Apply a translation to the segment.
Construct a line segment with two points.
Interpolate two line segments linearly.
Create an array of points that describe the segments contour.
Get a transformed copy of the segment.
Get a translated copy of the segment.
Attributes
Get the segment length.
Get the end point of the segment.
Get the starting point of the segment.
Get the segments points in form of a 2x2 matrix.