Header menu logo Euclid

UTurn Type

An Enum for describing what to do at U-turns (180 degree turns). It is not possible to offset U-turns correctly. This Enum describes the options: 1: Fail 2: Add a chamfer with two points. 3: Use the offset point for the threshold angle, by default this is 179 degrees. 4: Just skip the point.

Record fields

Record Field Description

Chamfer

Full Usage: Chamfer

Field type: UTurn
Modifiers: static

Add two points to create a chamfer at a U-turn above the tolerance.

Field type: UTurn

Fail

Full Usage: Fail

Field type: UTurn
Modifiers: static

Fail if at a U-turn of more than the tolerance (179 degrees?) is present in the polyline.

Field type: UTurn

Skip

Full Usage: Skip

Field type: UTurn
Modifiers: static

Just skip U-turn points. This will create a polyline with less points than the input that cuts across the U-turn.

Field type: UTurn

UseThreshold

Full Usage: UseThreshold

Field type: UTurn
Modifiers: static

This will create a very long offset at a U-turns. Makes the offset point as if the acute angel matches the threshold angle, even if it is more acute by default this is 179 degrees. This option guarantees the same number of points in the returned Polyline. (unless StepWithTwoPoints is used for var dist offsets)

Field type: UTurn

Type something to start searching.