NetTopologySuite
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
NetTopologySuite.Noding.IntersectionAdder Class Reference

Computes the possible intersections between two line segments in ISegmentStrings and adds them to each string using NodedSegmentString.AddIntersection(NetTopologySuite.Algorithm.LineIntersector,int,int,int). More...

Inheritance diagram for NetTopologySuite.Noding.IntersectionAdder:
NetTopologySuite.Noding.ISegmentIntersector

Public Member Functions

 IntersectionAdder (LineIntersector li)
 Initializes a new instance of the IntersectionAdder class. More...
 
void ProcessIntersections (ISegmentString e0, int segIndex0, ISegmentString e1, int segIndex1)
 This method is called by clients of the ISegmentIntersector class to process intersections for two segments of the ISegmentString being intersected.
Note that some clients (such as MonotoneChain") may optimize away this call for segment pairs which they have determined do not intersect (e.g. by an disjoint envelope test). More...
 

Static Public Member Functions

static bool IsAdjacentSegments (int i1, int i2)
 

Public Attributes

int NumIntersections = 0
 
int NumInteriorIntersections = 0
 
int NumProperIntersections = 0
 
int NumTests = 0
 

Properties

LineIntersector LineIntersector [get]
 
Coordinate ProperIntersectionPoint [get]
 Returns the proper intersection point, or null if none was found. More...
 
bool HasIntersection [get]
 
bool HasProperIntersection [get]
 A proper intersection is an intersection which is interior to at least two line segments. Note that a proper intersection is not necessarily in the interior of the entire Geometry, since another edge may have an endpoint equal to the intersection, which according to SFS semantics can result in the point being on the Boundary of the Geometry. More...
 
bool HasProperInteriorIntersection [get]
 A proper interior intersection is a proper intersection which is not contained in the set of boundary nodes set for this ISegmentIntersector. More...
 
bool HasInteriorIntersection [get]
 An interior intersection is an intersection which is in the interior of some segment. More...
 
Boolean IsDone [get]
 
- Properties inherited from NetTopologySuite.Noding.ISegmentIntersector
Boolean IsDone [get]
 

Detailed Description

Computes the possible intersections between two line segments in ISegmentStrings and adds them to each string using NodedSegmentString.AddIntersection(NetTopologySuite.Algorithm.LineIntersector,int,int,int).

Constructor & Destructor Documentation

NetTopologySuite.Noding.IntersectionAdder.IntersectionAdder ( LineIntersector  li)

Initializes a new instance of the IntersectionAdder class.

Parameters
li

Member Function Documentation

static bool NetTopologySuite.Noding.IntersectionAdder.IsAdjacentSegments ( int  i1,
int  i2 
)
static

Parameters
i1
i2
Returns
void NetTopologySuite.Noding.IntersectionAdder.ProcessIntersections ( ISegmentString  e0,
int  segIndex0,
ISegmentString  e1,
int  segIndex1 
)

This method is called by clients of the ISegmentIntersector class to process intersections for two segments of the ISegmentString being intersected.
Note that some clients (such as MonotoneChain") may optimize away this call for segment pairs which they have determined do not intersect (e.g. by an disjoint envelope test).

Parameters
e0
segIndex0
e1
segIndex1

summary> Always process all intersections /summary>

Implements NetTopologySuite.Noding.ISegmentIntersector.

Member Data Documentation

int NetTopologySuite.Noding.IntersectionAdder.NumInteriorIntersections = 0

int NetTopologySuite.Noding.IntersectionAdder.NumIntersections = 0

int NetTopologySuite.Noding.IntersectionAdder.NumProperIntersections = 0

int NetTopologySuite.Noding.IntersectionAdder.NumTests = 0

Property Documentation

bool NetTopologySuite.Noding.IntersectionAdder.HasInteriorIntersection
get

An interior intersection is an intersection which is in the interior of some segment.

bool NetTopologySuite.Noding.IntersectionAdder.HasIntersection
get

bool NetTopologySuite.Noding.IntersectionAdder.HasProperInteriorIntersection
get

A proper interior intersection is a proper intersection which is not contained in the set of boundary nodes set for this ISegmentIntersector.

bool NetTopologySuite.Noding.IntersectionAdder.HasProperIntersection
get

A proper intersection is an intersection which is interior to at least two line segments. Note that a proper intersection is not necessarily in the interior of the entire Geometry, since another edge may have an endpoint equal to the intersection, which according to SFS semantics can result in the point being on the Boundary of the Geometry.

LineIntersector NetTopologySuite.Noding.IntersectionAdder.LineIntersector
get

Coordinate NetTopologySuite.Noding.IntersectionAdder.ProperIntersectionPoint
get

Returns the proper intersection point, or null if none was found.


The documentation for this class was generated from the following file: