Geotools.Net

LineString Members

Public Instance Properties

CGAlgorithms (inherited from Geometry) Algorithms for computational geometry //do we want to do this...
PrecisionModel (inherited from Geometry)Missing <summary> documentation for P:Geotools.Geometries.Geometry.PrecisionModel

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.
Clone Creates a copy of this LineString.
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 (inherited from Geometry) 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.
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 (inherited from Geometry) 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 Retrieves the first coordinate in the linestring.
GetCoordinateN Gets the nth coordinate in this linestring.
GetCoordinates Gets the set of coordinates for this linestring.
GetCoordinatesInternal (inherited from Geometry) Returns this Geometry's external vertices (points).
GetDimension Always returns a 1 because all linestrings have a dimension of 1.
GetEndPoint Get the last point in the linestring.
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.
GetGeometryType Returns the type of this geometry.
GetHashCode Returns the hash code for this object.
GetLength Returns the length of this LineString.
GetNewSRID (inherited from Geometry) Retrieve the new ID of the Spatial Reference System used by the Geometry.
GetNumPoints Gets the number of points in this linestring.
GetPointN Gets the nth point in the linestring.
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.
GetStartPoint Gets the starting point of the linestring.
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.
IsClosed Determines if this linestring is closed.
IsCoordinate Determines if pt is a member of the line string.
IsEmpty Determines if this linestring is empty.
IsRing Determines if this linestring is closed and simple therefore a ring.
IsSimple Determines if this linestring is simple (does not intersect itself).
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.
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
_points The points of this LineString.
_precisionModel (inherited from Geometry)Missing <summary> documentation for F:Geotools.Geometries.Geometry._precisionModel
_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 values 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

LineString Class | Geotools.Geometries Namespace