C# Class MapAround.Geometry.IntersectionMatrix

Dimensionally extended intersection matrix.
ファイルを表示 Open project: gkrsu/maparound.core

Public Methods

Method Description
Calculate ( IGeometry geometry1, IGeometry geometry2 ) : void

Calculates an intersection matrix for two geometries.

CalculatePartial ( IGeometry geometry1, IGeometry geometry2, string template ) : void

Calculates a specified elements of intersection matrix for two geometries.

IntersectionMatrix ( ) : System

Initializes a new instance of MapAround.Geometry.IntersectionMatrix

Matches ( string template ) : bool

Indicates whether this matrix matches a specified template.

ToString ( ) : string

Converts this instance to its equivalent string representation.

this ( ElementPosition x, ElementPosition y ) : ElementValue

Represents an element of this intersection matrix

Private Methods

Method Description
buildGraph ( ) : void
calculateBoundsBounds ( ) : void
calculateBoundsExternal ( bool inverseArgs ) : void
calculateDisjointMatrix ( ) : void
calculateInternalBounds ( bool inverseArgs ) : void
calculateInternalExternal ( bool inverseArgs ) : void
calculateValue ( int x, int y ) : void
calculateValues ( ) : void
calculateValuesPartial ( string template ) : void
calculteInternalInternal ( ) : void
checkGeometry ( IGeometry geometry ) : void
elementToChar ( int x, int y ) : char
getDimensionPair ( ) : void
initSourceGeometries ( IGeometry geometry1, IGeometry geometry2 ) : void
markPolygonsOrientation ( ) : void
reduceGeometrySegments ( IGeometry g, double minLength ) : void
snapGeometryPoints ( IGeometry g, ICoordinate snapCenter ) : IGeometry

Method Details

Calculate() public method

Calculates an intersection matrix for two geometries.
public Calculate ( IGeometry geometry1, IGeometry geometry2 ) : void
geometry1 IGeometry First geometry
geometry2 IGeometry Second geometry
return void

CalculatePartial() public method

Calculates a specified elements of intersection matrix for two geometries.
public CalculatePartial ( IGeometry geometry1, IGeometry geometry2, string template ) : void
geometry1 IGeometry First geometry
geometry2 IGeometry Second geometry
template string String template of intersection matrix /// Will be calculated all the elements that do not correspond to the symbol '*'.
return void

IntersectionMatrix() public method

Initializes a new instance of MapAround.Geometry.IntersectionMatrix
public IntersectionMatrix ( ) : System
return System

Matches() public method

Indicates whether this matrix matches a specified template.
public Matches ( string template ) : bool
template string String template of matrix
return bool

ToString() public method

Converts this instance to its equivalent string representation.
public ToString ( ) : string
return string

this() public method

Represents an element of this intersection matrix
public this ( ElementPosition x, ElementPosition y ) : ElementValue
x ElementPosition Row number
y ElementPosition Column number
return ElementValue