- class weldx.geometry.DynamicShapeSegment(series, max_coord=1, **kwargs)#
Shape segment class to define arbitrary 2d shapes.
MathematicalExpression]) – A
SpatialSeriesthat describes the trajectory of the shape segment. Alternatively, one can pass every other object that is valid as first argument to of the
__init__method of the
float) – [only expression based
SpatialSeries] The maximum coordinate value of the passed series dimension that specifies the position on the 2d line. The value defines the segments length by evaluating the expression on the interval [0,
Apply an in-place transformation to the segment using a matrix.
Apply a translation in place.
Get an array of the points at the specified relative positions.
Get the length from the start of the segment to the passed relative position.
Get an array of discrete raster points of the segment.
Create a new segment transformed by the passed matrix.
Create a new segment translated by the passed vector.
Get the length of the segment.
Get the end point of the segment.
Get the starting point of the segment.