Method | Description | |
---|---|---|
Build ( IGeometry geometry1, IGeometry geometry2 ) : |
Builds a planar graph of two geometries.
|
|
BuildFaces ( IList |
Builds all faces.
|
|
BuildPoints ( ) : List |
Builds a points from graph nodes.
|
|
BuildPolygon ( bool markObject1EdgesOrientation, bool markObject2EdgesOrientation ) : Polygon |
Builds a polygon from graph edges.
|
|
BuildPolyline ( bool markObject1EdgesOrientation, bool markObject2EdgesOrientation ) : Polyline |
Builds a polyline from graph edges.
|
|
BuildWithSnap ( IGeometry geometry1, IGeometry geometry2, ICoordinate gridOrigin ) : |
Builds a planar graph of two geometries.
|
|
SetElementsEnabledState ( bool enabled ) : void |
Sets enabled state to all graph nodes and edges.
|
Method | Description | |
---|---|---|
PlanarGraph ( ) : System |
Initializes a new instance of MapAround.Geometry.PlanarGraph
|
|
addEdge ( |
||
addEdges ( ) : void | ||
addOrMergeNode ( ICoordinate coordinate, IGeometry obj ) : void | ||
addSourceSegments ( IGeometry g, int objectNumber ) : void | ||
addSplittedSegment ( SplittedSegment ss ) : void | ||
addVerticesAsNodes ( IGeometry g ) : void | ||
areEqualContours ( Contour c1, Contour c2 ) : bool | ||
build ( ) : void | ||
cutSelfTouch ( Contour contour, int i1, int i2, bool heterogenous ) : Contour | ||
getAngle ( ICoordinate p1, ICoordinate p2, ICoordinate p3, bool counterClockwise ) : double |
Gets an angle between p2p1 and p2p3 rays. Angle is measured from p2p1 ray.
|
|
getAngleBetweenEdges ( Segment &s1, Segment &s2, bool counterClockwise ) : double |
Gets an angle between two segments that share an endpoint.
|
|
getContourSelfTouchIndicies ( Contour contour, int &i1, int &i2 ) : bool | ||
getNodeAt ( ICoordinate &point ) : |
||
getRelatedSegments ( Segment segment ) : List |
||
init ( ) : void | ||
internalBuild ( IGeometry geometry1, IGeometry geometry2 ) : void | ||
normalizeContour ( Contour contour, bool heterogenous ) : List |
||
normalizeContours ( List |
||
normalizeSourceSegment ( SourceSegment s ) : void | ||
pointQuadrantNumber ( ICoordinate p ) : int | ||
processContour ( |
Constructs a contour.
|
|
processContour ( int startNodeIndex, |
Constructs a contour.
|
|
processLinePath ( int startNodeIndex, bool markObject1EdgesOrientation, bool markObject2EdgesOrientation ) : LinePath | ||
removeSplittedSegment ( SplittedSegment ss ) : void | ||
splitContour ( Contour contour, List |
||
splitSegmentByNodes ( SourceSegment segment ) : bool | ||
splitSegmentBySegments ( List |
||
splitSegments ( ) : void | ||
splitSegmentsByCrossPoints ( List |
||
throwIfNotBuilt ( ) : void | ||
translateAngleQuadrant ( double angle, int quadrantNumber ) : double | ||
updateSplittedSegment ( List |
public static Build ( IGeometry geometry1, IGeometry geometry2 ) : |
||
geometry1 | IGeometry | First geometry |
geometry2 | IGeometry | Second geometry |
return |
public BuildFaces ( IList |
||
redundantSegments | IList |
|
return | List |
public BuildPolygon ( bool markObject1EdgesOrientation, bool markObject2EdgesOrientation ) : Polygon | ||
markObject1EdgesOrientation | bool | |
markObject2EdgesOrientation | bool | |
return | Polygon |
public BuildPolyline ( bool markObject1EdgesOrientation, bool markObject2EdgesOrientation ) : Polyline | ||
markObject1EdgesOrientation | bool | |
markObject2EdgesOrientation | bool | |
return | Polyline |
public static BuildWithSnap ( IGeometry geometry1, IGeometry geometry2, ICoordinate gridOrigin ) : |
||
geometry1 | IGeometry | First geometry |
geometry2 | IGeometry | Second geometry |
gridOrigin | ICoordinate | Snapping grid origin |
return |
public SetElementsEnabledState ( bool enabled ) : void | ||
enabled | bool | Enabled state |
return | void |