C# 클래스 Earthworm.AO.RelationalOpExt

Provides extension methods for IGeometry so that functions such as spatial predicates can be invoked directly against shape objects.
파일 보기 프로젝트 열기: jshirota/Earthworm

공개 메소드들

메소드 설명
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.

메소드 상세

Contains() 공개 정적인 메소드

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.
리턴 bool

Crosses() 공개 정적인 메소드

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.
리턴 bool

Disjoint() 공개 정적인 메소드

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.
리턴 bool

DistanceTo() 공개 정적인 메소드

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.
리턴 double

Equals2() 공개 정적인 메소드

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.
리턴 bool

Equals2() 공개 정적인 메소드

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.
리턴 bool

Intersects() 공개 정적인 메소드

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.
리턴 bool

Overlaps() 공개 정적인 메소드

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.
리턴 bool

Relation() 공개 정적인 메소드

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).
리턴 bool

Touches() 공개 정적인 메소드

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.
리턴 bool

Within() 공개 정적인 메소드

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.
리턴 bool

Within() 공개 정적인 메소드

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.
리턴 bool