C# Class MapAround.Geometry.IntersectionMatrix

Dimensionally extended intersection matrix.
Afficher le fichier Open project: gkrsu/maparound.core

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

CalculatePartial() public méthode

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 '*'.
Résultat void

IntersectionMatrix() public méthode

Initializes a new instance of MapAround.Geometry.IntersectionMatrix
public IntersectionMatrix ( ) : System
Résultat System

Matches() public méthode

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

ToString() public méthode

Converts this instance to its equivalent string representation.
public ToString ( ) : string
Résultat string

this() public méthode

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