Geom Software - C++ Programming and Geometry Libraries
Fade2.5D Documentation pages v1.81
SegmentChecker.h File Reference
#include <map>
#include "common.h"
#include "Segment2.h"
#include "MsgBase.h"

Go to the source code of this file.

Classes

class  GEOM_FADE25D::SegmentChecker
 SegmentChecker identifies intersecting line segments. More...
 

Enumerations

enum  SegmentIntersectionType {
  SIT_UNINITIALIZED, SIT_NONE, SIT_SEGMENT, SIT_POINT,
  SIT_ENDPOINT
}
 

Enumeration Type Documentation

◆ SegmentIntersectionType

The Segment intersection type enumerates the way two line segments intersect each other

Enumerator
SIT_UNINITIALIZED 

Invalid value

SIT_NONE 

No intersection

SIT_SEGMENT 

The intersection is a non-degenerate segment (collinear intersection)

SIT_POINT 

The intersection is a single point differnt from the endpoints

SIT_ENDPOINT 

The two segments share a common endpoint which is the only intersection