AngleMetrics
AngleMetrics - MeasureAngle_Directions
Measures the angle created by the two provided directions.
IN
| Name | Type | Description |
|---|---|---|
| InDirection1 | Float | First input direction. |
| InDirection2 | Float | Second input direction. |
| InRotationDirection | Enum < RotationDirection > | Direction of rotation considered by the algorithm. |
| InAngleRange | Enum < AngleRange > | Range of the output value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutFloat | Float | The absolute value of the computed angle. |
| Error | ErrorState | Gets the execution error message |
AngleMetrics - MeasureAngle_Lines
Measures the smallest angle formed between two lines.
IN
| Name | Type | Description |
|---|---|---|
| InLine1 | Line2D | First input line. |
| InLine2 | Line2D | Second input line. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutFloat | Float | The smallest angle created by the two lines. The other formed angle is its supplementary. |
| Error | ErrorState | Gets the execution error message |
AngleMetrics - MeasureAngle_Points
Measures the angle formed between the three provided points.
IN
| Name | Type | Description |
|---|---|---|
| InPoint1 | Point2D | First input point. |
| InPoint2 | Point2D | Second input point. This is the center point that is connected both to points 1 and 3. |
| InPoint3 | Point2D | Third input point. |
| InRotationDirection | Enum < RotationDirection > | Direction of rotation considered by the algorithm. |
| 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 in the range 〔0, 360), in degrees. |
| Error | ErrorState | Gets the execution error message |
AngleMetrics - MeasureAngle_Segments
Measures the angle formed between the two provided segments.
IN
| Name | Type | Description |
|---|---|---|
| InSegment1 | Segment2D | First input segment. |
| InSegment2 | Segment2D | Second input segment. |
| InAngleMetric | Enum < AngleMetric > | The methods used by the algorithm to compute the angle. |
| 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 in the range 〔0, 360), in degrees. |
| Error | ErrorState | Gets the execution error message |
AngleMetrics - MeasureAngle_Vectors
Measures the angle formed between the two provided vectors.
IN
| Name | Type | Description |
|---|---|---|
| InVector1 | Vector2D | First input vector. |
| InVector2 | Vector2D | Second input vector. |
| InRotationDirection | Enum < RotationDirection > | Direction of rotation considered by the algorithm. |
| 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 in the range 〔0, 360), in degrees. |
| Error | ErrorState | Gets the execution error message |
AngleMetrics - MeasureDirectedAngle_Directions
Measures the angle formed between the two provided directions. The sign depends on the rotation direction.
IN
| Name | Type | Description |
|---|---|---|
| InDirection1 | Float | First input direction. |
| InDirection2 | Float | Second input direction. |
| InRotationDirection | Enum < RotationDirection > | Direction of rotation considered by the algorithm. |
| InAngleRange | Enum < AngleRange > | Range of the output value. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutFloat | Float | The value of the computed angle. |
| Error | ErrorState | Gets the execution error message |
AngleMetrics - MeasureDirectedAngle_Points
Measures the angle formed between the three provided points. The sign depends on the rotation direction.
IN
| Name | Type | Description |
|---|---|---|
| InPoint1 | Point2D | First input point. |
| InPoint2 | Point2D | Second input point. This is the central point that is connected both to points 1 and 3. |
| InPoint3 | Point2D | Third input point. |
| InRotationDirection | Enum < RotationDirection > | Direction of rotation considered by the algorithm. |
| 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 in the range 〔0, 360), in degrees. |
| Error | ErrorState | Gets the execution error message |
AngleMetrics - MeasureDirectedAngle_Segments
Measures the angle formed between the two provided segments. The sign depends on the rotation direction.
IN
| Name | Type | Description |
|---|---|---|
| InSegment1 | Segment2D | First input segment. |
| InSegment2 | Segment2D | Second input segment. |
| InAngleMetric | Enum < AngleMetric > | The method used by the algorithm to compute the angle. |
| 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 in the range 〔0, 360), in degrees. |
| Error | ErrorState | Gets the execution error message |
AngleMetrics - MeasureDirectedAngle_Vectors
Measures the angle formed between the two provided vectors. The sign depends on the rotation direction.
IN
| Name | Type | Description |
|---|---|---|
| InVector1 | Vector2D | First input vector. |
| InVector2 | Vector2D | Second input vector. |
| InRotationDirection | Enum < RotationDirection > | Direction of rotation considered by the algorithm. |
| 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 in the range 〔0, 360), in degrees. |
| Error | ErrorState | Gets the execution error message |
AngleMetrics - NormalizeAngle
Normalizes an angle using the provided range.
IN
| Name | Type | Description |
|---|---|---|
| InAngle | Float | Input angle 〔deg〕. |
| InAngleRange | Enum < AngleRange > | Range used for the normalization. |
| InBaseAngle | Float | Start of the normalization range. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutFloat | Float | The normalized angle. |
| Error | ErrorState | Gets the execution error message |
AngleMetrics - NormalizeAngle_To360
Computes the angle normalized in the range [0, 360).
IN
| Name | Type | Description |
|---|---|---|
| InAngle | Float | Input angle 〔deg〕. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutFloat | Float | The normalized angle. |
| Error | ErrorState | Gets the execution error message |