C# 클래스 SharpMap.Geometries.Polygon

상속: Surface
파일 보기 프로젝트 열기: jumpinjackie/fdotoolbox 1 사용 예제들

공개 메소드들

메소드 설명
Boundary ( ) : Geometry

Returns the closure of the combinatorial boundary of this Geometry. The combinatorial boundary is defined as described in section 3.12.3.2 of [1]. Because the result of this function is a closure, and hence topologically closed, the resulting boundary can be represented using representational geometry primitives

Buffer ( double d ) : Geometry

Returns a geometry that represents all points whose distance from this Geometry is less than or equal to distance. Calculations are in the Spatial Reference System of this Geometry.

Clone ( ) : Polygon

Return a copy of this geometry

ConvexHull ( ) : Geometry

Geometry—Returns a geometry that represents the convex hull of this Geometry.

Difference ( Geometry geom ) : Geometry

Returns a geometry that represents the point set difference of this Geometry with anotherGeometry.

Distance ( Geometry geom ) : double

Returns the shortest distance between any two points in the two geometries as calculated in the spatial reference system of this Geometry.

Equals ( Polygon p ) : bool

Determines if this Polygon and the specified Polygon object has the same values

GetBoundingBox ( ) : BoundingBox

Returns the bounding box of the object

GetHashCode ( ) : int

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.

InteriorRing ( int N ) : LinearRing

Returns the Nth interior ring for this Polygon as a LineString

This method is supplied as part of the OpenGIS Simple Features Specification

Intersection ( Geometry geom ) : Geometry

Returns a geometry that represents the point set intersection of this Geometry with anotherGeometry.

IsEmpty ( ) : bool

If true, then this Geometry represents the empty point set, Ø, for the coordinate space.

IsSimple ( ) : bool

Returns 'true' if this Geometry has no anomalous geometric points, such as self intersection or self tangency. The description of each instantiable geometric class will include the specific conditions that cause an instance of that class to be classified as not simple.

Polygon ( ) : System

Instatiates a polygon

Polygon ( LinearRing exteriorRing ) : System

Instatiates a polygon based on one extorier ring.

Polygon ( LinearRing exteriorRing, List interiorRings ) : System

Instatiates a polygon based on one extorier ring and a collection of interior rings.

SymDifference ( Geometry geom ) : Geometry

Returns a geometry that represents the point set symmetric difference of this Geometry with anotherGeometry.

TransformToImage ( SharpMap map ) : System.Drawing.PointF[]

Transforms the polygon to image coordinates, based on the map

Union ( Geometry geom ) : Geometry

Returns a geometry that represents the point set union of this Geometry with anotherGeometry.

메소드 상세

Boundary() 공개 메소드

Returns the closure of the combinatorial boundary of this Geometry. The combinatorial boundary is defined as described in section 3.12.3.2 of [1]. Because the result of this function is a closure, and hence topologically closed, the resulting boundary can be represented using representational geometry primitives
public Boundary ( ) : Geometry
리턴 Geometry

Buffer() 공개 메소드

Returns a geometry that represents all points whose distance from this Geometry is less than or equal to distance. Calculations are in the Spatial Reference System of this Geometry.
public Buffer ( double d ) : Geometry
d double
리턴 Geometry

Clone() 공개 메소드

Return a copy of this geometry
public Clone ( ) : Polygon
리턴 Polygon

ConvexHull() 공개 메소드

Geometry—Returns a geometry that represents the convex hull of this Geometry.
public ConvexHull ( ) : Geometry
리턴 Geometry

Difference() 공개 메소드

Returns a geometry that represents the point set difference of this Geometry with anotherGeometry.
public Difference ( Geometry geom ) : Geometry
geom Geometry
리턴 Geometry

Distance() 공개 메소드

Returns the shortest distance between any two points in the two geometries as calculated in the spatial reference system of this Geometry.
public Distance ( Geometry geom ) : double
geom Geometry
리턴 double

Equals() 공개 메소드

Determines if this Polygon and the specified Polygon object has the same values
public Equals ( Polygon p ) : bool
p Polygon Polygon to compare with
리턴 bool

GetBoundingBox() 공개 메소드

Returns the bounding box of the object
public GetBoundingBox ( ) : BoundingBox
리턴 BoundingBox

GetHashCode() 공개 메소드

Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
public GetHashCode ( ) : int
리턴 int

InteriorRing() 공개 메소드

Returns the Nth interior ring for this Polygon as a LineString
This method is supplied as part of the OpenGIS Simple Features Specification
public InteriorRing ( int N ) : LinearRing
N int
리턴 LinearRing

Intersection() 공개 메소드

Returns a geometry that represents the point set intersection of this Geometry with anotherGeometry.
public Intersection ( Geometry geom ) : Geometry
geom Geometry
리턴 Geometry

IsEmpty() 공개 메소드

If true, then this Geometry represents the empty point set, Ø, for the coordinate space.
public IsEmpty ( ) : bool
리턴 bool

IsSimple() 공개 메소드

Returns 'true' if this Geometry has no anomalous geometric points, such as self intersection or self tangency. The description of each instantiable geometric class will include the specific conditions that cause an instance of that class to be classified as not simple.
public IsSimple ( ) : bool
리턴 bool

Polygon() 공개 메소드

Instatiates a polygon
public Polygon ( ) : System
리턴 System

Polygon() 공개 메소드

Instatiates a polygon based on one extorier ring.
public Polygon ( LinearRing exteriorRing ) : System
exteriorRing LinearRing Exterior ring
리턴 System

Polygon() 공개 메소드

Instatiates a polygon based on one extorier ring and a collection of interior rings.
public Polygon ( LinearRing exteriorRing, List interiorRings ) : System
exteriorRing LinearRing Exterior ring
interiorRings List Interior rings
리턴 System

SymDifference() 공개 메소드

Returns a geometry that represents the point set symmetric difference of this Geometry with anotherGeometry.
public SymDifference ( Geometry geom ) : Geometry
geom Geometry
리턴 Geometry

TransformToImage() 공개 메소드

Transforms the polygon to image coordinates, based on the map
public TransformToImage ( SharpMap map ) : System.Drawing.PointF[]
map SharpMap Map to base coordinates on
리턴 System.Drawing.PointF[]

Union() 공개 메소드

Returns a geometry that represents the point set union of this Geometry with anotherGeometry.
public Union ( Geometry geom ) : Geometry
geom Geometry
리턴 Geometry