Geotools.Net

Geometry Members

Protected Static (Shared) Fields

_cgAlgorithmsMissing <summary> documentation for F:Geotools.Geometries.Geometry._cgAlgorithms

Protected Static (Shared) Methods

HasNonEmptyElements Returns true if the array contains any non-empty Geometrys.
HasNullElements Returns true if the array contains any null elements.
IndexOf Returns the index of coordinate in coordinates.
MinCoordinate Returns the minimum coordinate, using the usual lexicographic comparison.
ReversePointOrder Flips the positions of the elements in the array so that the last is first.
Scroll Shifts the positions of the coordinates until firstCoordinate is first.

Public Instance Properties

CGAlgorithms Algorithms for computational geometry //do we want to do this...
PrecisionModelMissing <summary> documentation for P:Geotools.Geometries.Geometry.PrecisionModel

Public Instance Methods

ApplyOverloaded. Performs an operation with or on this Geometry and its component Geometries. Only GeometryCollection and Polygons have component Geometryes; for Polygons they are the LinearRings of the shell and holes.
Buffer 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.
Clone Creates a copy of this object.
CompareTo 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 Returns true if this geometry contains the input geometry.
ConvexHull Returns the smallest convex Polygon that contains all the points in the Geometry.
Crosses 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 Returns a Geometry representing the points making up this Geometry that do not make up the other geometry.
Disjoint Returns true if the DE-9IM intersection matrix for the two Geometrys is FF*FF****.
Distance Returns the minimum distance between this Geometry and the Geometry g.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
EqualsTopology Returns true if the DE-9IM intersection matrix for the two Geometrys is T*F**FFF*.
Extent2D Gets the extents of the Geometry.
GeometryChanged 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 Geometry. Areal Geometrys have a non-zero area. They override this function to compute the area, others return 0.0.
GetBoundary Returns the boundary, or the empty geometry if this Geometry is empty.
GetBoundaryDimension Returns the dimension of this Geometrys inherent boundary.
GetCoordinate Returns a vertex of this Geometry.
GetCoordinates Returns this Geometry's internal vertices.
GetCoordinatesInternal Returns this Geometry's external vertices (points).
GetDimension Returns the dimension of this Geometry.
GetEnvelope Returns this Geometrys bounding box.
GetEnvelopeInternal Returns the minimum and maximum x and y values in this Geometry , or a null Envelope if this Geometry is empty.
GetGeometryType Returns the type of this geometry.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLength Returns the length of this Geometry.
GetNewSRID Retrieve the new ID of the Spatial Reference System used by the Geometry.
GetNumPoints Returns the count of this Geometrys vertices.
GetPrecisionModel The specification of the grid of allowable points for this Geometry.
GetSRID The ID of the Spatial Reference System used by this Geometry.
GetType (inherited from Object)Gets the Type of the current instance.
GetValidOpError Returns sTopologyValidationError object available if IsValid() returns false or null if no error exists.
Intersection Returns a Geometry representing the points shared by this Geometry and other.
Intersects Determines if this geometry intersects the input geometry.
IsEmpty Returns whether or not the set of points in this Geometry is empty.
IsSimple Returns false if the Geometry not simple.
IsValid Returns false if the Geometry is invlaid.
IsValidErrorMessage 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 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.
RelateOverloaded. Returns the DE-9IM intersection matrix for the two Geometrys.
SetSRID Sets the ID of the Spatial Reference System used by the Geometry.
SymDifference Returns a set combining the points in this Geometry not in other, and the points in other not in this Geometry.
ToString Converts to the string representation of this object.
ToText Returns the Well-known Text representation of this Geometry.
Touches Returns true if the DE-9IM intersection matrix for the two Geometrys is FT*******, F**T***** or F***T****.
Union Returns a Geometry representing all the points in this Geometry and other.
Within Returns true if the DE-9IM intersection matrix for the two Geometrys is T*F**F***.

Protected Instance Fields

_envelopeMissing <summary> documentation for F:Geotools.Geometries.Geometry._envelope
_geometryFactoryMissing <summary> documentation for F:Geotools.Geometries.Geometry._geometryFactory
_precisionModelMissing <summary> documentation for F:Geotools.Geometries.Geometry._precisionModel
_sortedClassesMissing <summary> documentation for F:Geotools.Geometries.Geometry._sortedClasses
_SRIDMissing <summary> documentation for F:Geotools.Geometries.Geometry._SRID

Protected Instance Methods

CheckEqualPrecisionModel Throws an exception if the PrecisionModels differ.
CheckEqualSRID Throws an exception if the spatial reference IDs differ
CheckNotGeometryCollection Throws an exception if geometry's class is GeometryCollection. (Its subclasses do not trigger an exception).
Compare 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 Notifies this Geometry that its Coordinates have been changed by an external party.
IsEquivalentClass 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

Geometry Class | Geotools.Geometries Namespace