Skip to content

Interpolations

Interpolations - Interpolate_Angles

Computes a new angle using linear interpolation.

IN

Name Type Description
InAngle0 Float First input angle.
InAngle1 Float Second input angle.
InLambda Float Interpolation coefficient.
InAngleRange Enum < AngleRange > Range of value used to normalize the output value.
InRotationDirection Enum < RotationDirection > Direction of rotation used for the linear interpolation.
InInverse Bool If true, angles are considered with the inverted sign.
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 value.
Error ErrorState Gets the execution error message

Interpolations - Interpolate_Paths

Computes a new path using linear interpolation.

IN

Name Type Description
InPath0 Path First input path.
InPath1 Path Second input path.
InLambda Float Interpolation coefficient.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPath Path The computed object.
Error ErrorState Gets the execution error message

Interpolations - Interpolate_Points

Computes a new point using linear interpolation.

IN

Name Type Description
InPoint0 Point2D First input point.
InPoint1 Point2D Second input point.
InLambda Float Interpolation coefficient.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

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

Interpolations - Interpolate_RadialVectors

Computes a new radial vector using linear interpolation.

IN

Name Type Description
InVector0 Vector2D First input vector.
InVector1 Vector2D Second input vector.
InRotationDirection Enum < RotationDirection > Direction of rotation used for the linear interpolation.
InLambda Float Interpolation coefficient.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

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

Interpolations - Interpolate_Segments

Computes a new segment using linear interpolation.

IN

Name Type Description
InSegment0 Segment2D First input segment.
InSegment1 Segment2D Second input segment.
InLambda Float Interpolation coefficient.
InIgnoreOrientation Bool If false, points are interpolated based on their distance. Otherwise, segments' points are interpolated respecting their order in the constructor.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

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

Interpolations - Interpolate_Vectors

Computes a new vector using linear interpolation.

IN

Name Type Description
InVector0 Vector2D First input vector.
InVector1 Vector2D Second input vector.
InLambda Float Interpolation coefficient.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

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

Interpolations - Midpoint

Computes the midpoint of the segment connecting the two provided points.

IN

Name Type Description
InPoint1 Point2D First input point.
InPoint2 Point2D Second input point.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPoint2D Point2D The computed object.
Error ErrorState Gets the execution error message