C# Class Earthworm.AO.RelationalOpExt

Provides extension methods for IGeometry so that functions such as spatial predicates can be invoked directly against shape objects.
Afficher le fichier Open project: jshirota/Earthworm

Méthodes publiques

Méthode Description
Contains ( this shape, IGeometry comparisonShape ) : bool

Indicates if this geometry contains the other geometry.

Crosses ( this shape, IGeometry comparisonShape ) : bool

Indicates if the two geometries intersect in a geometry of lesser dimension.

Disjoint ( this shape, IGeometry comparisonShape ) : bool

Indicates if the two geometries share no points in common.

DistanceTo ( this shape, IGeometry comparisonShape ) : double

Calculates the distance from the current geometry to the other geometry.

Equals2 ( this shape, IGeometry comparisonShape ) : bool

Indicates if the two geometries are of the same type and define the same set of points in the plane.

Equals2 ( this shape, IPoint comparisonShape ) : bool

Indicates if the two points are the same.

Intersects ( this shape, IGeometry comparisonShape ) : bool

Indicates if this geometry intersects the other geometry.

Overlaps ( this shape, IGeometry comparisonShape ) : bool

Indicates if the intersection of the two geometries has the same dimension as one of the input geometries.

Relation ( this shape, IGeometry comparisonShape, string relationDescription ) : bool

Indicates if the defined relationship exists.

Touches ( this shape, IGeometry comparisonShape ) : bool

Indicates if the boundaries of the geometries intersect.

Within ( this shape, IGeometry comparisonShape ) : bool

Indicates if this geometry is contained (is within) another geometry.

Within ( this shape, IGeometry comparisonShape, double distance ) : bool

Indicates if this geometry is within the distance of (buffer intersects) another geometry.

Method Details

Contains() public static méthode

Indicates if this geometry contains the other geometry.
public static Contains ( this shape, IGeometry comparisonShape ) : bool
shape this The current geometry.
comparisonShape IGeometry The geometry to compare with.
Résultat bool

Crosses() public static méthode

Indicates if the two geometries intersect in a geometry of lesser dimension.
public static Crosses ( this shape, IGeometry comparisonShape ) : bool
shape this The current geometry.
comparisonShape IGeometry The geometry to compare with.
Résultat bool

Disjoint() public static méthode

Indicates if the two geometries share no points in common.
public static Disjoint ( this shape, IGeometry comparisonShape ) : bool
shape this The current geometry.
comparisonShape IGeometry The geometry to compare with.
Résultat bool

DistanceTo() public static méthode

Calculates the distance from the current geometry to the other geometry.
public static DistanceTo ( this shape, IGeometry comparisonShape ) : double
shape this The current geometry.
comparisonShape IGeometry The geometry to compare with.
Résultat double

Equals2() public static méthode

Indicates if the two geometries are of the same type and define the same set of points in the plane.
public static Equals2 ( this shape, IGeometry comparisonShape ) : bool
shape this The current geometry.
comparisonShape IGeometry The geometry to compare with.
Résultat bool

Equals2() public static méthode

Indicates if the two points are the same.
public static Equals2 ( this shape, IPoint comparisonShape ) : bool
shape this The current geometry.
comparisonShape IPoint The geometry to compare with.
Résultat bool

Intersects() public static méthode

Indicates if this geometry intersects the other geometry.
public static Intersects ( this shape, IGeometry comparisonShape ) : bool
shape this The current geometry.
comparisonShape IGeometry The geometry to compare with.
Résultat bool

Overlaps() public static méthode

Indicates if the intersection of the two geometries has the same dimension as one of the input geometries.
public static Overlaps ( this shape, IGeometry comparisonShape ) : bool
shape this The current geometry.
comparisonShape IGeometry The geometry to compare with.
Résultat bool

Relation() public static méthode

Indicates if the defined relationship exists.
public static Relation ( this shape, IGeometry comparisonShape, string relationDescription ) : bool
shape this The current geometry.
comparisonShape IGeometry The geometry to compare with.
relationDescription string Description of the spatial relation (Shape Comparison Language).
Résultat bool

Touches() public static méthode

Indicates if the boundaries of the geometries intersect.
public static Touches ( this shape, IGeometry comparisonShape ) : bool
shape this The current geometry.
comparisonShape IGeometry The geometry to compare with.
Résultat bool

Within() public static méthode

Indicates if this geometry is contained (is within) another geometry.
public static Within ( this shape, IGeometry comparisonShape ) : bool
shape this The current geometry.
comparisonShape IGeometry The geometry to compare with.
Résultat bool

Within() public static méthode

Indicates if this geometry is within the distance of (buffer intersects) another geometry.
public static Within ( this shape, IGeometry comparisonShape, double distance ) : bool
shape this The current geometry.
comparisonShape IGeometry The geometry to compare with.
distance double The distance in the map unit of the current shape.
Résultat bool