Skip to content

SpatialTransforms

Vector2D - Rescale

Rescales the vector using a scale factor.

IN

Name Type Description
InVector2D Vector2D The input Vector2D
InScale Float Scaling factor.
InInverse Bool If true, the inverse of the scale factor is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutVector2D Vector2D The rescaled vector.
Error ErrorState Gets the execution error message

Vector2D - Resize

Changes the length of the vector, keeping the direction fixed.

IN

Name Type Description
InVector2D Vector2D The input Vector2D
InNewLength Float New vector length. Range: 〔0, +inf).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutVector2D Vector2D The resized vector.
Error ErrorState Gets the execution error message

Vector2D - ResizeRelative

Increases or decreases the vector lengths by the provided amount.

IN

Name Type Description
InVector2D Vector2D The input Vector2D
InDelta Float Quantity added to the vector length.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutVector2D Vector2D The resized vector.
Error ErrorState Gets the execution error message

Vector2D - Rotate

Rotates the vector.

IN

Name Type Description
InVector2D Vector2D The input Vector2D
InAngle Float Rotation angle.
InInverse Bool If true, the opposite rotation angle is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutVector2D Vector2D The rotated vector.
Error ErrorState Gets the execution error message

UCS2D - Align

Aligns the object to a new coordinate system.

IN

Name Type Description
InUCS2D UCS2D The input UCS2D
InAlignment UCS2D New coordinate system.
InInverse Bool If true, the opposite transformation is applied.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutUCS2D UCS2D The aligned coordinate system.
Error ErrorState Gets the execution error message

UCS2D - Invert

Inverts the coordinate system.

IN

Name Type Description
InUCS2D UCS2D The input UCS2D
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutUCS2D UCS2D The inverted coordinate system.
Error ErrorState Gets the execution error message

UCS2D - Rotate

Rotates the coordinate system around a center point.

IN

Name Type Description
InUCS2D UCS2D The input UCS2D
InAngle Float Rotation angle.
InInverse Bool If true, the opposite rotation angle is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutUCS2D UCS2D The rotated coordinate system.
Error ErrorState Gets the execution error message

UCS2D - Translate

Translates the coordinate system using the provided vector.

IN

Name Type Description
InUCS2D UCS2D The input UCS2D
InDelta Vector2D Translation segment.
InInverse Bool If true, the vector with the opposite direction is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutUCS2D UCS2D The translated segment.
Error ErrorState Gets the execution error message

Segment2D - Align

Aligns the segment to a new coordinate system.

IN

Name Type Description
InSegment2D Segment2D The input Segment2D
InAlignment UCS2D Input coordinate system.
InInverse Bool If true, the opposite transformation is applied.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutSegment2D Segment2D The aligned segment.
Error ErrorState Gets the execution error message

Segment2D - Rescale

Rescales the segment using a scaling factor.

IN

Name Type Description
InSegment2D Segment2D The input Segment2D
InScale Float Input scaling factor. If negative, the segment will be inverted.
InInverse Bool If true, the inverse of the scaling factor will be used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutSegment2D Segment2D Segment2D
Error ErrorState Gets the execution error message

Segment2D - Resize

Changes the length of the segment while keeping an anchor point fixed.

IN

Name Type Description
InSegment2D Segment2D The input Segment2D
InNewLength Float New length of the segment. Range: 〔0, +inf).
InAnchor Float Point in the original segment that will be maintained fixed. If equal to 0, the first point will be maintained fixed. If equal to 1, the second point will be maintained fixed.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutSegment2D Segment2D The resized segment.
Error ErrorState Gets the execution error message

Segment2D - ResizeRelative

Increases or decreases the length of the segment while keeping an anchor point fixed.

IN

Name Type Description
InSegment2D Segment2D The input Segment2D
InDelta Float Quantity that will be added to the segment length.
InAnchor Float Point in the original segment that will be maintained fixed. If equal to 0, the first point will be maintained fixed. If equal to 1, the second point will be maintained fixed.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutSegment2D Segment2D The resized segment.
Error ErrorState Gets the execution error message

Segment2D - Reverse

Swaps the segment endpoints.

IN

Name Type Description
InSegment2D Segment2D The input Segment2D
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutSegment2D Segment2D The modified Core.Data.Types.Segment2D
Error ErrorState Gets the execution error message

Segment2D - Rotate

Rotates the segment around a center point.

IN

Name Type Description
InSegment2D Segment2D The input Segment2D
InAngle Float Rotation angle.
InInverse Bool If true, the opposite rotation angle is considered.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutSegment2D Segment2D The rotated segment.
Error ErrorState Gets the execution error message

Segment2D - Split

Splits the segments in multiple ones, each with the same length.

IN

Name Type Description
InSegment2D Segment2D The input Segment2D
InCount Int The number of resulting segments. Range: 〔1, +inf).
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutSegment2D Segment2DArray Array containing all the segment obtained by the splitting.
Error ErrorState Gets the execution error message

Segment2D - Translate

Translates the segment using the provided vector.

IN

Name Type Description
InSegment2D Segment2D The input Segment2D
InDelta Vector2D Translation vector.
InDeltaAlignment Enum < TranslateAlignment > Coordinate system used for translation.
InInverse Bool If true, the vector with the opposite direction is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutSegment2D Segment2D The translated segment.
Error ErrorState Gets the execution error message

Segment2D - Trim_Box

Trims the segment so that it is entirely contained in a box.

IN

Name Type Description
InSegment2D Segment2D The input Segment2D
InBox Box Input box.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutSegment2D Segment2DNull A conditional object containing the part of the segment entirely contained in the box. If no part of the segment is contained in the box, the conditional will be Null.
Error ErrorState Gets the execution error message

Segment2D - Trim_Circle

Trims the segment so that it is entirely contained in a circle.

IN

Name Type Description
InSegment2D Segment2D The input Segment2D
InCircle Circle2D Input circle.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutSegment2D Segment2DNull A conditional object containing the part of the segment entirely contained in the circle. If no part of the segment is contained in the circle, the conditional will be Null.
Error ErrorState Gets the execution error message

Segment2D - Trim_Rectangle

Trims the segment so that it is entirely contained in a rectangle.

IN

Name Type Description
InSegment2D Segment2D The input Segment2D
InRectangle Rectangle2D Input rectangle.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutSegment2D Segment2DNull A conditional object containing the part of the segment entirely contained in the rectangle. If no part of the segment is contained in the rectangle, the conditional will be Null.
Error ErrorState Gets the execution error message

Ring2D - Align

Aligns the ring to a new coordinate system.

IN

Name Type Description
InRing2D Ring2D The input Ring2D
InRingAlignment UCS2D Input coordinate system.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRing2D Ring2D The aligned ring.
Error ErrorState Gets the execution error message

Rectangle2D - Align

Aligns the rectangle to a new coordinate system.

IN

Name Type Description
InRectangle2D Rectangle2D The input Rectangle2D
InAlignment UCS2D Input coordinate system.
InInverse Bool If true, the inverse transformation is applied.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRectangle2D Rectangle2D The aligned rectangle.
Error ErrorState Gets the execution error message

Rectangle2D - Inflate

Increases rectangle dimension by some amount.

IN

Name Type Description
InRectangle2D Rectangle2D The input Rectangle2D
InMargin Float Amount added to each side of the rectangle.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRectangle2D Rectangle2D The inflated rectangle.
Error ErrorState Gets the execution error message

Rectangle2D - Rescale

Rescales the rectangle using a scale factor.

IN

Name Type Description
InRectangle2D Rectangle2D The input Rectangle2D
InScale Float Rescaling factor.
InInverse Bool If true, the inverse of the rescaling factor is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRectangle2D Rectangle2D The rescaled rectangle.
Error ErrorState Gets the execution error message

Rectangle2D - ResizeRelative

Changes the dimensions of the rectangle by adding a certain quantity to each dimension, while keeping an anchor point fixed.

IN

Name Type Description
InRectangle2D Rectangle2D The input Rectangle2D
InAnchor Enum < Anchor2D > Selects the point of the rectangle that will not change its coordinate.
InWidthDelta Float Amount added to the rectangle width.
InHeightDelta Float Amount added to the rectangle height.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRectangle2D Rectangle2D The resized rectangle.
Error ErrorState Gets the execution error message

Rectangle2D - Resize_NewSize

Changes the dimensions of the rectangle, while keeping an anchor point fixed.

IN

Name Type Description
InRectangle2D Rectangle2D The input Rectangle2D
InAnchor Enum < Anchor2D > Selects the point of the rectangle that will not change its coordinate.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRectangle2D Rectangle2D The resized rectangle.
Error ErrorState Gets the execution error message

Rectangle2D - Resize_Scale

Changes the dimensions of the rectangle using a scaling factor, while keeping an anchor point fixed.

IN

Name Type Description
InRectangle2D Rectangle2D The input Rectangle2D
InAnchor Enum < Anchor2D > Selects the point of the rectangle that will not change its coordinate.
InWidthScale Float Scale factor for the rectangle width.
InHeightScale Float Scale factor for the rectangle height.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRectangle2D Rectangle2D The resized rectangle.
Error ErrorState Gets the execution error message

Rectangle2D - Rotate

Rotates the rectangle around a point.

IN

Name Type Description
InRectangle2D Rectangle2D The input Rectangle2D
InAngle Float Rotation angle.
InInverse Bool If true, the opposite rotation angle is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRectangle2D Rectangle2D The rotated rectangle.
Error ErrorState Gets the execution error message

Rectangle2D - Translate

Translates the rectangle using the provided vector.

IN

Name Type Description
InRectangle2D Rectangle2D The input Rectangle2D
InDelta Vector2D Translation vector.
InInverse Bool If true, the vector with the opposite direction is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutRectangle2D Rectangle2D The translated rectangle.
Error ErrorState Gets the execution error message

Point2D - Align

Aligns the point to a new coordinate system.

IN

Name Type Description
InPoint2D Point2D The input Point2D
InAlignment UCS2D New coordinate system.
InInverse Bool If true, the inverse transform is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPoint2D Point2D The aligned point.
Error ErrorState Gets the execution error message

Point2D - AlignPoints

Aligns all the points in the array. The operation is applied in-place.

IN

Name Type Description
IoPoints Point2DArray Input points.
InAlignment UCS2D New coordinate system.
InInverse Bool If true, the inverse transform is applied.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutIoPoints Point2DArray The modified Core.Data.Types.Point2DArray
Error ErrorState Gets the execution error message

Point2D - Rescale

Rescales the point distance with respect to a reference point.

IN

Name Type Description
InPoint2D Point2D The input Point2D
InScale Float Scale factor.
InReferencePoint Point2D Input reference point.
InInverse Bool If true, the scale is inverted.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPoint2D Point2D The rescaled point.
Error ErrorState Gets the execution error message

Point2D - RescalePoints

Rescales all the points in the array with respect to a reference point. The operation is applied in-place.

IN

Name Type Description
IoPoints Point2DArray Input points.
InScale Float Scale coefficient.
InInverse Bool If true, the scale coefficient is inverted.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutIoPoints Point2DArray The modified Core.Data.Types.Point2DArray
Error ErrorState Gets the execution error message

Point2D - Rotate

Rotates the point coordinates clockwise.

IN

Name Type Description
InPoint2D Point2D The input Point2D
InAngle Float Rotation angle.
InCenter Point2D Rotation center.
InInverse Bool If true, the rotation is performed counter-clockwise.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPoint2D Point2D The rotated point.
Error ErrorState Gets the execution error message

Point2D - RotatePoints

Rotates clockwise all the points in the array. The operation is applied in-place.

IN

Name Type Description
IoPoints Point2DArray Input points.
InAngle Float Input angle 〔deg〕.
InInverse Bool If true, rotation is applied counterclockwise.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutIoPoints Point2DArray The modified Core.Data.Types.Point2DArray
Error ErrorState Gets the execution error message

Point2D - SplitPoints

Divides the input points in two arrays, based on the position with respect to the provided line.

IN

Name Type Description
InPoints Point2DArray Input points.
InLine Line2D Reference line.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPointsPositive Point2DArray Array of points with positive distance from the reference line.
OutPointsNegative Point2DArray Array of points with negative distance from the reference line.
Error ErrorState Gets the execution error message

Point2D - Translate

Translates the point coordinates using the provided vector.

IN

Name Type Description
InPoint2D Point2D The input Point2D
InDelta Vector2D Translation vector.
InInverse Bool If true, the vector with opposite direction is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPoint2D Point2D The translated point.
Error ErrorState Gets the execution error message

Point2D - TranslatePoints

Translates all the points in the array. The operation is applied in-place.

IN

Name Type Description
IoPoints Point2DArray Input points.
InDelta Vector2D Input translation vector.
InInverse Bool If true, the translation is applied using the vector with opposite direction.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutIoPoints Point2DArray The modified Core.Data.Types.Point2DArray
Error ErrorState Gets the execution error message

Point2D - Translate_AlongDirection

Translates the point along the provided direction.

IN

Name Type Description
InPoint2D Point2D The input Point2D
InDirection Float Direction of translation.
InDistance Float Distance of translation.
InInverse Bool If true, the point is translated in the opposite direction with respect to inTargetPoint.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPoint2D Point2D The translated point.
Error ErrorState Gets the execution error message

Point2D - Translate_Toward

Translates the point towards a target point.

IN

Name Type Description
InPoint2D Point2D The input Point2D
InTargetPoint Point2D Point that define the direction of translation.
InDistance Float Distance of translation.
InInverse Bool If true, the point is translated in the opposite direction with respect to inTargetPoint.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPoint2D Point2D The translated point.
Error ErrorState Gets the execution error message

Point2D - TrimPoints_Box

Filters the points that are contained in the provided box.

IN

Name Type Description
InPoints Point2DArray Input points.
InBox Box Reference box.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPoint2D Point2DArray Array with all the points that are contained in the box.
Error ErrorState Gets the execution error message

Point2D - TrimPoints_Region

Filters the points that are contained in the provided region.

IN

Name Type Description
InPoints Point2DArray Input points.
InRegion Region Reference region.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPoint2D Point2DArray Array with all the points that are contained in the region.
Error ErrorState Gets the execution error message

Line2D - Align

Aligns the line to a new coordinate system.

IN

Name Type Description
InLine2D Line2D The input Line2D
InAlignment UCS2D New coordinate system.
InInverse Bool If true, the inverse transformation is applied.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutLine2D Line2D The aligned line.
Error ErrorState Gets the execution error message

Line2D - Rescale

Rescales the line using a scale factor.

IN

Name Type Description
InLine2D Line2D The input Line2D
InScale Float Rescaling factor.
InReferencePoint Point2D Point used to calculate the distance from the line.
InInverse Bool If true, the inverse of the rescaling factor is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutLine2D Line2D The rescaled line.
Error ErrorState Gets the execution error message

Line2D - Rotate

Rotates the line around a center point.

IN

Name Type Description
InLine2D Line2D The input Line2D
InAngle Float Rotation angle.
InCenter Point2D Rotation center.
InInverse Bool If true, the opposite rotation angle is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutLine2D Line2D The rotated line.
Error ErrorState Gets the execution error message

Line2D - Translate

Translates the line using the provided vector.

IN

Name Type Description
InLine2D Line2D The input Line2D
InDelta Vector2D Translation vector.
InDeltaAlignment Enum < TranslateAlignment > Coordinate system used for translation.
InInverse Bool If true, the vector with the opposite direction is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutLine2D Line2D The translated line.
Error ErrorState Gets the execution error message

Line2D - Trim_Box

Trims the line so that it is entirely contained in a box.

IN

Name Type Description
InLine2D Line2D The input Line2D
InBox Box Input box.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutSegment2D Segment2DNull A conditional segment entirely contained in the provided box. If no part of the line is contained in the box, the conditional object will be Null.
Error ErrorState Gets the execution error message

Line2D - Trim_Rectangle

Trims the line so that it is entirely contained in a rectangle.

IN

Name Type Description
InLine2D Line2D The input Line2D
InRectangle Rectangle2D Input rectangle.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutSegment2D Segment2DNull A conditional segment entirely contained in the provided rectangle. If no part of the line is contained in the rectangle, the conditional object will be Null.
Error ErrorState Gets the execution error message

Ellipse2D - Align

Aligns the ellipse to a new coordinate system.

IN

Name Type Description
InEllipse2D Ellipse2D The input Ellipse2D
InAlignment UCS2D Input coordinate system.
InInverse Bool If true, the inverse transformation is applied.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutEllipse2D Ellipse2D The aligned ellipse.
Error ErrorState Gets the execution error message

Circle2D - Align

Aligns the circle to a new coordinate system.

IN

Name Type Description
InCircle2D Circle2D The input Circle2D
InAlignment UCS2D Input coordinate system.
InInverse Bool If true, the opposite operation is applied.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutCircle2D Circle2D The aligned circle.
Error ErrorState Gets the execution error message

Circle2D - Rescale

Rescales the circle using the provided scale factor.

IN

Name Type Description
InCircle2D Circle2D The input Circle2D
InScale Float Input scale factor.
InInverse Bool If true, the inverse of the scale factor is considered.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutCircle2D Circle2D The rescaled circle.
Error ErrorState Gets the execution error message

Circle2D - Resize

Adds a value to the circle radius.

IN

Name Type Description
InCircle2D Circle2D The input Circle2D
InRadiusDelta Float Quantity added to the radius.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutCircle2D Circle2D The resized circle.
Error ErrorState Gets the execution error message

Circle2D - Rotate

Rotates the circle around a rotation center.

IN

Name Type Description
InCircle2D Circle2D The input Circle2D
InAngle Float Rotation angle.
InCenter Point2D Rotation center.
InInverse Bool if true, the opposite rotation angle is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutCircle2D Circle2D The rotated circle.
Error ErrorState Gets the execution error message

Circle2D - Translate

Translates the circle using the provided vector.

IN

Name Type Description
InCircle2D Circle2D The input Circle2D
InDelta Vector2D Input vector used for translation.
InInverse Bool If true, the vector with the opposite direction is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutCircle2D Circle2D The translated circle.
Error ErrorState Gets the execution error message

Arc2D - Align

Aligns the arc to a new coordinate system.

IN

Name Type Description
InArc2D Arc2D The input Arc2D
InAlignment UCS2D Input coordinate system.
InInverse Bool If true, the inverse operation is applied.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutArc2D Arc2D The aligned arc.
Error ErrorState Gets the execution error message

Arc2D - Rescale

Rescales the arc using a scale factor.

IN

Name Type Description
InArc2D Arc2D The input Arc2D
InScale Float Input scale factor.
InInverse Bool If true, the inverse of the scale factor is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutArc2D Arc2D The rescaled arc.
Error ErrorState Gets the execution error message

Arc2D - Resize

Adds the provided length to the arc radius.

IN

Name Type Description
InArc2D Arc2D The input Arc2D
InDelta Float Length added to the arc radius.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutArc2D Arc2D The resized arc.
Error ErrorState Gets the execution error message

Arc2D - Reverse

Returns an object with equal center and radius, but with opposite arc direction.

IN

Name Type Description
InArc2D Arc2D The input Arc2D
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutArc2D Arc2D Reversed arc.
Error ErrorState Gets the execution error message

Arc2D - Rotate

Rotates the arc using the provided angle.

IN

Name Type Description
InArc2D Arc2D The input Arc2D
InAngle Float Input rotation angle.
InInverse Bool If true, the opposite angle is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutArc2D Arc2D The rotated arc.
Error ErrorState Gets the execution error message

Arc2D - Translate

Translates the arc using the provided vector.

IN

Name Type Description
InArc2D Arc2D The input Arc2D
InDelta Vector2D Input vector used for translations.
InInverse Bool If true, the vector with the opposite direction is used.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutArc2D Arc2D The translated arc.
Error ErrorState Gets the execution error message

AngleMetrics - RotateAngle

Computes the sum of two angles.

IN

Name Type Description
InAngle Float Input angle 〔deg〕.
InRotation Float Rotation angle 〔deg〕.
InAngleRange Enum < AngleRange > Range out the output angle.
InInverse Bool If true, the second angle is subtracted from the first.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutFloat Float The computed angle.
Error ErrorState Gets the execution error message

AngleMetrics - RotateAngle_Target

Rotates an angle towards a target angle, in the direction of minimum rotation.

IN

Name Type Description
InAngle Float Input angle 〔deg〕.
InTargetAngle Float Angle used to determine the rotation direction 〔deg〕.
InRotation Float Rotation angle 〔deg〕.
InAngleRange Enum < AngleRange > Range out the output angle.
InInverse Bool If true, the angle is rotated in the opposite direction.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutFloat Float The computed angle.
Error ErrorState Gets the execution error message