Header menu logo Euclid

VarDistParallel Type

We can only offset colinear segments if the distances are the same. What shall we do if they differ? Fail? or just skip the point? or add a point at closest distance on the oblique segment, non parallel offsets? or add a point perpendicular from here intersecting the oblique segment, non parallel offsets?

Record fields

Record Field Description

Fail

Full Usage: Fail

Field type: VarDistParallel
Modifiers: static

Fail if colinear segments with different offset distances are found.

Field type: VarDistParallel

Project

Full Usage: Project

Field type: VarDistParallel
Modifiers: static

Project the offset point onto the oblique segment. 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.

Field type: VarDistParallel

Proportional

Full Usage: Proportional

Field type: VarDistParallel
Modifiers: static

Add a point at the same proportional distance as the input segments. This keeps the total point count the same. This introduces non parallel offset segments. This keeps the total point count the same.

Field type: VarDistParallel

Skip

Full Usage: Skip

Field type: VarDistParallel
Modifiers: static

Just skip colinear points with different offset distances. This introduces non parallel offset segments. This reduces the total point count.

Field type: VarDistParallel

Type something to start searching.