VarDistParallel Type
An Enum for describing what to do at collinear points where the two segments have different in-plane offset distances. Collinear segments can only be offset parallel to themselves if their distances are the same. A point is collinear here if it turns by less than considerCollinearBelow, and if the polyline also turns by less than that from the last point that was offset exactly. This Enum describes the options: 1: Fail 2: just skip the point. 3: add a point at the same proportional distance on the oblique segment, non parallel offsets. 4: add a point perpendicular from here intersecting the oblique segment, non parallel offsets.
Record fields
| Record Field |
Description
|
|
Fail if collinear segments with different offset distances are found.
|
|
Project the offset point onto the oblique segment, where it crosses the plane through the input point that is perpendicular to the polyline. For a planar polyline this moves the point along its in-plane normal, like Offset2D.VarDistParallel.Project. In shallow angles with strongly different distances the projected point may be outside of the input segments. This introduces non parallel offset segments. This keeps the total point count the same. This may create a self-intersection in the result if the projected point is outside of the segment. The Proportional method is usually better.
|
|
Add a point at the same proportional distance as the input segments. This introduces non parallel offset segments. This keeps the total point count the same.
|
|
Just skip collinear points with different offset distances. This introduces non parallel offset segments. This reduces the total point count.
|
Euclid