Find on which side of a curve a point exists
ID
tool-curve-analysis-curve-side
Name
Curve Side
Group
Curve Analysis
Package
Tool
Keywords
Render
Upon connecting the necessary inputs, the "Curve Side" node will provide an output indicating on which side of the curve the designated point was located. A value of -1 denotes that the point is situated on the left of the curve, a value of 0 indicates that the point coincides with the curve, and a value of 1 signifies that the point is on the right of the curve. Additionally, the second and third output ports return Boolean values, respectively indicating whether the point is to the left or right of the curve.
Point In Curve
Closed
Curve Length
End Points
Inputs
Name | Type | Description | Default Value |
---|---|---|---|
curve | Curve | Base curve | |
point | Point | Point to measure | |
plane | Plane | Optional plane to measure in. If omitted, the curve plane will be used | "XY" |
Outputs
Name | Type | Description |
---|---|---|
side | Number | Side of curve on which point was found (-1=Left, 0=Coincident, +1=Right) |
left | Boolean | Boolean indicating whether a point is to the left of the curve |
right | Boolean | Boolean indicating whether a point is to the right of the curve |