C# 클래스 SharpMap.Geometries.SpatialRelations

Class defining a set of named spatial relationship operators for geometric shape objects.
파일 보기 프로젝트 열기: jumpinjackie/fdotoolbox 1 사용 예제들

공개 메소드들

메소드 설명
Contains ( Geometry sourceGeometry, Geometry otherGeometry ) : bool

Returns true if otherGeometry is wholly contained within the source geometry. This is the same as reversing the primary and comparison shapes of the Within operation.

Crosses ( Geometry g1, Geometry g2 ) : bool

Returns true if the intersection of the two geometries results in a geometry whose dimension is less than the maximum dimension of the two geometries and the intersection geometry is not equal to either. geometry.

Disjoint ( Geometry g1, Geometry g2 ) : bool

Returns true if otherGeometry is disjoint from the source geometry.

Equals ( Geometry g1, Geometry g2 ) : bool

Returns true if otherGeometry is of the same type and defines the same point set as the source geometry.

Intersects ( Geometry g1, Geometry g2 ) : bool

Returns true if there is any intersection between the two geometries.

Overlaps ( Geometry g1, Geometry g2 ) : bool

Returns true if the intersection of the two geometries results in an object of the same dimension as the input geometries and the intersection geometry is not equal to either geometry.

Touches ( Geometry g1, Geometry g2 ) : bool

Returns true if the only points in common between the two geometries lie in the union of their boundaries.

Within ( Geometry g1, Geometry g2 ) : bool

Returns true if the primary geometry is wholly contained within the comparison geometry.

메소드 상세

Contains() 공개 정적인 메소드

Returns true if otherGeometry is wholly contained within the source geometry. This is the same as reversing the primary and comparison shapes of the Within operation.
public static Contains ( Geometry sourceGeometry, Geometry otherGeometry ) : bool
sourceGeometry Geometry
otherGeometry Geometry
리턴 bool

Crosses() 공개 정적인 메소드

Returns true if the intersection of the two geometries results in a geometry whose dimension is less than the maximum dimension of the two geometries and the intersection geometry is not equal to either. geometry.
public static Crosses ( Geometry g1, Geometry g2 ) : bool
g1 Geometry
g2 Geometry
리턴 bool

Disjoint() 공개 정적인 메소드

Returns true if otherGeometry is disjoint from the source geometry.
public static Disjoint ( Geometry g1, Geometry g2 ) : bool
g1 Geometry
g2 Geometry
리턴 bool

Equals() 공개 정적인 메소드

Returns true if otherGeometry is of the same type and defines the same point set as the source geometry.
public static Equals ( Geometry g1, Geometry g2 ) : bool
g1 Geometry source geometry
g2 Geometry other Geometry
리턴 bool

Intersects() 공개 정적인 메소드

Returns true if there is any intersection between the two geometries.
public static Intersects ( Geometry g1, Geometry g2 ) : bool
g1 Geometry
g2 Geometry
리턴 bool

Overlaps() 공개 정적인 메소드

Returns true if the intersection of the two geometries results in an object of the same dimension as the input geometries and the intersection geometry is not equal to either geometry.
public static Overlaps ( Geometry g1, Geometry g2 ) : bool
g1 Geometry
g2 Geometry
리턴 bool

Touches() 공개 정적인 메소드

Returns true if the only points in common between the two geometries lie in the union of their boundaries.
public static Touches ( Geometry g1, Geometry g2 ) : bool
g1 Geometry
g2 Geometry
리턴 bool

Within() 공개 정적인 메소드

Returns true if the primary geometry is wholly contained within the comparison geometry.
public static Within ( Geometry g1, Geometry g2 ) : bool
g1 Geometry
g2 Geometry
리턴 bool