C# Class MapAround.Geometry.PlanarGraphEdge

Edge of the planar graph.
ファイルを表示 Open project: gkrsu/maparound.core Class Usage Examples

Public Properties

Property Type Description
OrientationInObject1 EdgeOrientation
OrientationInObject2 EdgeOrientation

Public Methods

Method Description
CenterPoint ( ) : ICoordinate

Computes a coordinate of the center point.

PlanarGraphEdge ( PlanarGraphNode node1, PlanarGraphNode node2 ) : System

Initializes a new instance of MapAround.Geometry.PlanarGraphEdge

Private Methods

Method Description
SwapNodes ( ) : void

Swap nodes of edges.

Method Details

CenterPoint() public method

Computes a coordinate of the center point.
public CenterPoint ( ) : ICoordinate
return ICoordinate

PlanarGraphEdge() public method

Initializes a new instance of MapAround.Geometry.PlanarGraphEdge
public PlanarGraphEdge ( PlanarGraphNode node1, PlanarGraphNode node2 ) : System
node1 PlanarGraphNode First node
node2 PlanarGraphNode Second node
return System

Property Details

OrientationInObject1 public_oe property

Edge orientation relative to the direction of first object traversal;
public EdgeOrientation OrientationInObject1
return EdgeOrientation

OrientationInObject2 public_oe property

Edge orientation relative to the direction of second object traversal;
public EdgeOrientation OrientationInObject2
return EdgeOrientation