Geotools.Net

Polygon Members

Public Instance Properties

CGAlgorithms (inherited from Geometry) Algorithms for computational geometry //do we want to do this...
Holes Gets the interior holes of this polygon.
PrecisionModel (inherited from Geometry)Missing <summary> documentation for P:Geotools.Geometries.Geometry.PrecisionModel
Shell Gets the shell of this polygon.

Public Instance Methods

ApplyOverloaded. Performs an operation with or on this Geometry's components.
Buffer (inherited from Geometry) Returns a buffer region around this Geometry having the given width. The buffer of a Geometry is the Minkowski sum of the Geometry with a disc of radius distance.
Centroid Retrieves the centroid of this polygon.
Clone Creates an exact copy of this Polygon.
CompareTo (inherited from Geometry) Returns whether this Geometry is greater than, equal to, or less than another Geometry. If their classes are different, they are compared using the following ordering:
  • Point (lowest) -
  • MultiPoint -
  • LineString -
  • LinearRing -
  • MultiLineString -
  • Polygon -
  • MultiPolygon -
  • GeometryCollection (highest) -
If the two Geometrys have the same class, their first elements are compared. If those are the same, the second elements are compared, etc.
CompareToSameClass Returns whether this Geometry is greater than, equal to, or less than another Geometry having the same class.
Contains (inherited from Geometry) Returns true if this geometry contains the input geometry.
ConvexHull Returns the smallest convex Polygon that contains all the points in the Geometry.
Crosses (inherited from Geometry) Returns true if the DE-9IM intersection matrix for the two Geometrys is: T*T****** for a point and a curve, a point and an area or a line and an area, 0******** for two curves.
Difference (inherited from Geometry) Returns a Geometry representing the points making up this Geometry that do not make up the other geometry.
Disjoint (inherited from Geometry) Returns true if the DE-9IM intersection matrix for the two Geometrys is FF*FF****.
Distance (inherited from Geometry) Returns the minimum distance between this Geometry and the Geometry g.
Equals Returns true if the two Geometrys have the same class and if the data which they store internally are equal. This method is stricter equality than equals. If this and the other Geometrys are composites and any children are not Geometrys, returns false.
EqualsTopology (inherited from Geometry) Returns true if the DE-9IM intersection matrix for the two Geometrys is T*F**FFF*.
Extent2D (inherited from Geometry) Gets the extents of the Geometry.
GeometryChanged (inherited from Geometry) Notifies this Geometry that it's Coordinates have been changed by an external party (using a CoordinateFilter, for example).
GetArea Returns the area of this polygon.
GetBoundary Returns the boundary, or the empty geometry if this Geometry is empty.
GetBoundaryDimension Returns the dimension of this Geometrys inherent boundary.
GetCoordinate Gets the coordinates for the shell of this polygon.
GetCoordinates Returns this Geometry's vertices. Do not modify the array, as it may be the actual array stored by this Geometry. The Geometries contained by composite Geometries must be Geometry's; that is, they must implement get Coordinates.
GetCoordinatesInternal (inherited from Geometry) Returns this Geometry's external vertices (points).
GetDimension Gets the dimension of this polygon. (The dimension of a polygon is always 2).
GetEnvelope (inherited from Geometry) Returns this Geometrys bounding box.
GetEnvelopeInternal (inherited from Geometry) Returns the minimum and maximum x and y values in this Geometry , or a null Envelope if this Geometry is empty.
GetExteriorRing Gets the exterior ring for this polygon.
GetGeometryType Returns the type of this geometry.
GetHashCode Returns the hash code for this object.
GetInteriorRingN Gets the interior ring from the array at index n.
GetLength Returns the perimeter of this polygon.
GetNewSRID (inherited from Geometry) Retrieve the new ID of the Spatial Reference System used by the Geometry.
GetNumInteriorRing Gets the number of interior rings in this polygon.
GetNumPoints Returns the number of points in this polygon.
GetPrecisionModel (inherited from Geometry) The specification of the grid of allowable points for this Geometry.
GetSRID (inherited from Geometry) The ID of the Spatial Reference System used by this Geometry.
GetType (inherited from Object)Gets the Type of the current instance.
GetValidOpError (inherited from Geometry) Returns sTopologyValidationError object available if IsValid() returns false or null if no error exists.
Intersection (inherited from Geometry) Returns a Geometry representing the points shared by this Geometry and other.
Intersects (inherited from Geometry) Determines if this geometry intersects the input geometry.
IsEmpty Determines if this polygon is empty.
IsSimple Determines if this polygon is simple (always true.)
IsValid (inherited from Geometry) Returns false if the Geometry is invlaid.
IsValidErrorMessage (inherited from Geometry) Returns string containing error message if IsValid() returns false or OK if no error exists.
Normalize Converts this Geometry to normal form (or canonical form).
Overlaps (inherited from Geometry) Returns true if the DE-9IM intersection matrix for the two Geometrys is: <br> T*T***T** (for two points or two surfaces) <br> 1*T***T** (for two curves)
Project Projects a geometry using the given transformation.
Relate (inherited from Geometry)Overloaded. Returns the DE-9IM intersection matrix for the two Geometrys.
SetSRID (inherited from Geometry) Sets the ID of the Spatial Reference System used by the Geometry.
SymDifference (inherited from Geometry) Returns a set combining the points in this Geometry not in other, and the points in other not in this Geometry.
ToString Returns a string representation of this object. Holes are excluded.
ToText (inherited from Geometry) Returns the Well-known Text representation of this Geometry.
Touches (inherited from Geometry) Returns true if the DE-9IM intersection matrix for the two Geometrys is FT*******, F**T***** or F***T****.
Union (inherited from Geometry) Returns a Geometry representing all the points in this Geometry and other.
Within (inherited from Geometry) Returns true if the DE-9IM intersection matrix for the two Geometrys is T*F**F***.

Protected Instance Fields

_envelope (inherited from Geometry)Missing <summary> documentation for F:Geotools.Geometries.Geometry._envelope
_geometryFactory (inherited from Geometry)Missing <summary> documentation for F:Geotools.Geometries.Geometry._geometryFactory
_holes The interior boundaries, if any.
_precisionModel (inherited from Geometry)Missing <summary> documentation for F:Geotools.Geometries.Geometry._precisionModel
_shell The exterior boundary, or null if this Polygon is the empty geometry.
_sortedClasses (inherited from Geometry)Missing <summary> documentation for F:Geotools.Geometries.Geometry._sortedClasses
_SRID (inherited from Geometry)Missing <summary> documentation for F:Geotools.Geometries.Geometry._SRID

Protected Instance Methods

CheckEqualPrecisionModel (inherited from Geometry) Throws an exception if the PrecisionModels differ.
CheckEqualSRID (inherited from Geometry) Throws an exception if the spatial reference IDs differ
CheckNotGeometryCollection (inherited from Geometry) Throws an exception if geometry's class is GeometryCollection. (Its subclasses do not trigger an exception).
Compare (inherited from Geometry) Returns the first non-zero result of CompareTo encountered as the two Collections are iterated over. If, by the time one of the iterations is complete, no non-zero result has been encountered, returns 0 if the other iteration is also complete. If b completes before a, a positive number is returned; if a before b, a negative number.
ComputeEnvelopeInternal Returns the minimum and maximum x and y value1s in this Geometry, or a null Envelope if this Geometry is empty.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
GeometryChangedAction (inherited from Geometry) Notifies this Geometry that its Coordinates have been changed by an external party.
IsEquivalentClass (inherited from Geometry) Returns whether the two Geometrys are equal, from the point of view of the equalsExact method.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Polygon Class | Geotools.Geometries Namespace