Normalizations
Segment2D - NormalizeOrientation_Axis
Changes the segment orientation using the coordinates on the selected axis.
IN
| Name | Type | Description |
|---|---|---|
| InSegment2D | Segment2D | The input Segment2D |
| InAxis | Enum < Axis > | Axis used to select coordinates. |
| 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 - NormalizeOrientation_Base
Changes the segment orientation based on the base angle.
IN
| Name | Type | Description |
|---|---|---|
| InSegment2D | Segment2D | The input Segment2D |
| InBaseOrientation | Float | Angle based on which differences are calculated. |
| 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 - NormalizeOrientation_Point
Changes the segment orientation based on the distance with the provided point.
IN
| Name | Type | Description |
|---|---|---|
| InSegment2D | Segment2D | The input Segment2D |
| InReferencePoint | Point2D | Point used to calculate distances. |
| 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 |
Rectangle2D - NormalizeOrientation
Normalizes the rectangle's angle value.
IN
| Name | Type | Description |
|---|---|---|
| InRectangle2D | Rectangle2D | The input Rectangle2D |
| InReferenceAngle | Float | The valid range midpoint of the output angle. |
| InRectangleOrientation | Enum < RectangleOrientation > | Orientation of the new 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 modified Core.Data.Types.Rectangle2D |
| Error | ErrorState | Gets the execution error message |
Point2D - RemoveInvalidPoints
Removes points with NaN of INF coordinates.
IN
| Name | Type | Description |
|---|---|---|
| IoPoints | Point2DArray | Array of points. It will be modified in-place. |
| 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 |