Table of Contents

Enum LineExtension

Namespace
GeometryHelper.Enums
Assembly
GeometryHelper.dll

Says which of two line segments an intersection may reach past, by reading it as the infinite line carrying it. This is what AutoCAD's Intersect option does for IntersectWith.

A segment that is not extended must contain the intersection itself, within tolerance. An extended one only has to point at it, however far away.

public enum LineExtension

Fields

None = 0

Neither segment is extended: the intersection must lie on both.

First = 1

The first segment (the one the method is called on) is read as an infinite line; the second must contain the intersection.

Second = 2

The second segment (the argument) is read as an infinite line; the first must contain the intersection.

Both = 3

Both segments are read as infinite lines.