Export (0) Print
Expand All

DbGeometry Methods

.NET Framework 4.5

The DbGeometry type exposes the following members.

  Name Description
Public method AsBinary Generates the well known binary representation of this DbGeometry value.
Public method AsGml Generates the Geography Markup Language (GML) representation of this DbGeometry value.
Public method AsText Generates the well known text representation of this DbGeometry value. Includes only X and Y coordinates for points.
Public method Buffer Returns a geometry object that represents the union of all points whose distance from a geometry instance is less than or equal to a specified value.
Public method Contains Determines whether this DbGeometry value spatially contains the specified DbGeometry argument.
Public method Crosses Determines whether this DbGeometry value spatially crosses the specified DbGeometry argument.
Public method Difference Computes the difference between this DbGeometry value and another DbGeometry value.
Public method Disjoint Determines whether this DbGeometry is spatially disjoint from the specified DbGeometry argument.
Public method Distance Computes the distance between the closest points in this DbGeometry value and another DbGeometry value.
Public method ElementAt Returns an element of this DbGeometry value from a specific position, if it represents a geometry collection. <param name="index">The position within this geometry value from which the element should be taken.</param><returns>The element in this geometry value at the specified position, if it represents a collection of other geometry values; otherwise null.</returns>
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Static member FromBinary(Byte[]) Creates a new DbGeometry value based on the specified well known binary value.
Public method Static member FromBinary(Byte[], Int32) Creates a new DbGeometry value based on the specified well known binary value and coordinate system identifier (SRID).
Public method Static member FromGml(String) Creates a new DbGeometry value based on the specified Geography Markup Language (GML) value.
Public method Static member FromGml(String, Int32) Creates a new DbGeometry value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID).
Public method Static member FromText(String) Creates a new DbGeometry value based on the specified well known text value.
Public method Static member FromText(String, Int32) Creates a new DbGeometry value based on the specified well known text value and coordinate system identifier (SRID).
Public method Static member GeometryCollectionFromBinary Creates a new DbGeometry collection value based on the specified well known binary value and coordinate system identifier (SRID).
Public method Static member GeometryCollectionFromText Creates a new DbGeometry collection value based on the specified well known text value and coordinate system identifier (SRID).
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InteriorRingAt Returns an interior ring from this DbGeometry value at a specific position, if it represents a polygon. <param name="index">The position within this geometry value from which the interior ring should be taken.</param><returns>The interior ring in this geometry value at the specified position, if it represents a polygon; otherwise null.</returns>
Public method Intersection Computes the intersection of this DbGeometry value and another DbGeometry value.
Public method Intersects Determines whether this DbGeometry value spatially intersects the specified DbGeometry argument.
Public method Static member LineFromBinary Creates a new DbGeometry line value based on the specified well known binary value and coordinate system identifier (SRID).
Public method Static member LineFromText Creates a new DbGeometry line value based on the specified well known text value and coordinate system identifier (SRID).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member MultiLineFromBinary Returns the multiline value from a binary value.
Public method Static member MultiLineFromText Returns the multiline value from a well-known text value.
Public method Static member MultiPointFromBinary Returns the multipoint value from a well-known binary value.
Public method Static member MultiPointFromText Returns the multipoint value from a well-known text value.
Public method Static member MultiPolygonFromBinary Returns the multi polygon value from a well-known binary value.
Public method Static member MultiPolygonFromText Returns the multi polygon value from a well-known binary value.
Public method Overlaps Determines whether this DbGeometry value spatially overlaps the specified DbGeometry argument.
Public method PointAt Returns an element of this DbGeometry value from a specific position, if it represents a linestring or linear ring. <param name="index">The position within this geometry value from which the element should be taken.</param><returns>The element in this geometry value at the specified position, if it represents a linestring or linear ring; otherwise null.</returns>
Public method Static member PointFromBinary Creates a new DbGeometry point value based on the specified well known binary value and coordinate system identifier (SRID).
Public method Static member PointFromText Creates a new DbGeometry point value based on the specified well known text value and coordinate system identifier (SRID).
Public method Static member PolygonFromBinary Creates a new DbGeometry polygon value based on the specified well known binary value and coordinate system identifier (SRID).
Public method Static member PolygonFromText Creates a new DbGeometry polygon value based on the specified well known text value and coordinate system identifier (SRID).
Public method Relate Determines whether this DbGeometry value spatially relates to the specified DbGeometry argument according to the given Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern.
Public method SpatialEquals Determines whether this DbGeometry is spatially equal to the specified DbGeometry argument.
Public method SymmetricDifference Computes the symmetric difference between this DbGeometry value and another DbGeometry value.
Public method ToString Returns a string representation of the geometry value. (Overrides Object.ToString().)
Public method Touches Determines whether this DbGeometry value spatially touches the specified DbGeometry argument.
Public method Union Computes the union of this DbGeometry value and another DbGeometry value.
Public method Within Determines whether this DbGeometry value is spatially within the specified DbGeometry argument.
Top
Show:
© 2014 Microsoft