Table of Contents

Enum LineSide

Namespace
GeometryHelper.Enums
Assembly
GeometryHelper.dll

Which side of a directed segment a point lies on, seen looking along it from its start to its end.

This is the counterpart in the plane of PlaneSide in space. A segment is read as the infinite line carrying it, so a point beyond either end still has a side; what decides the answer is only which way the point lies off the line, never how far along it sits.

public enum LineSide

Fields

Left = 0

The point lies to the left of the direction of the segment: the side its normal turned a quarter turn counter-clockwise points to.

Right = 1

The point lies to the right of the direction of the segment.

On = 2

The point lies on the line carrying the segment, within tolerance.