Method | Description | |
---|---|---|
BoundsContainPoint ( ICoordinate point ) : bool |
Determines whether the bounding rectangle of this monotone chain contains point.
|
|
BoundsIntersect ( |
Determines whether the bounding rectangle of this chain intersects the bounding rectangle of specified chain.
|
|
Clone ( ) : object |
Creates a new object that is a copy of the current instance.
|
|
CrossesWith ( |
Determines whether this chain crosses with other.
|
|
GetCrossPoints ( |
Calculates the intersection points of two chains.
|
|
GetCrossSegments ( |
Computes the 2D intersections of two chains.
|
|
GetSegmentOrientation ( Segment segment ) : Orientation |
Computes an orientation of specified segment.
|
|
InsertSegment ( Segment segment ) : bool |
Adds a segment to the chain.
|
|
InsertSegment ( Segment segment, |
Adds a segment to the chain.
|
|
IsPointInSegmentsBounds ( ICoordinate point ) : bool |
Defines if a specified point lies into the bounding rectangle of any segment of chain.
|
|
MonotoneChain ( Orientation orientation ) : System |
Initializes a new instance of MonotoneChain.
|
|
MonotoneChain ( Segment segment ) : System |
Initializes a new instance of MonotoneChain.
|
|
MonotoneChain ( Segment segment, |
Initializes a new instance of MonotoneChain.
|
|
ReduceSegments ( double minLength ) : void |
Removes all segments from chain which length is less than specified. The remaining segments are connected.
|
|
ReplaceLabel ( int index, |
Replaces the label associated with segment having specified index in the chain.
|
|
Split ( List |
Splits the segments of the chain at the specified points.
|
Method | Description | |
---|---|---|
boundsChanged ( ) : void | ||
checkSegment ( Segment segment ) : bool | ||
getSubChainBounds ( int index1, int index2 ) : BoundingRectangle | ||
internalInsertSegment ( Segment segment, |
||
isPointInSegmentsBounds ( ICoordinate point, int minIndex, int maxIndex ) : bool |
public BoundsContainPoint ( ICoordinate point ) : bool | ||
point | ICoordinate | Point coordinate |
return | bool |
public BoundsIntersect ( |
||
chain | Monotone chain | |
return | bool |
public CrossesWith ( |
||
chain | Chain | |
return | bool |
public GetCrossPoints ( |
||
chain | Monotone chain | |
return | List |
public GetCrossSegments ( |
||
chain | Monotone chain | |
return | List |
public static GetSegmentOrientation ( Segment segment ) : Orientation | ||
segment | Segment | Segment to compute orientation |
return | Orientation |
public InsertSegment ( Segment segment ) : bool | ||
segment | Segment | The segment to add |
return | bool |
public InsertSegment ( Segment segment, |
||
segment | Segment | The segment to add |
label | The label of the segment | |
return | bool |
public IsPointInSegmentsBounds ( ICoordinate point ) : bool | ||
point | ICoordinate | Coordinate of point |
return | bool |
public MonotoneChain ( Orientation orientation ) : System | ||
orientation | Orientation | Orientation of segments |
return | System |
public MonotoneChain ( Segment segment ) : System | ||
segment | Segment | An initial segment |
return | System |
public MonotoneChain ( Segment segment, |
||
segment | Segment | An initial segment |
tag | A label of initial segment | |
return | System |
public ReduceSegments ( double minLength ) : void | ||
minLength | double | The minimum length of segment |
return | void |
public ReplaceLabel ( int index, |
||
index | int | The index of segment in the chain |
newValue | Instance of label | |
return | void |
public Split ( List |
||
list | List |
A list contatinig points where you need to split the chain |
return | bool |