DbGeometry Class

 

Represents geometric shapes.

Namespace:   System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.Spatial.DbGeometry

[SerializableAttribute]
[DataContractAttribute]
public class DbGeometry

NameDescription
System_CAPS_pubpropertyArea

Gets a nullable double value that indicates the area of this DbGeometry value, which may be null if this value does not represent a surface.

System_CAPS_pubpropertyBoundary

Gets the boundary of the DbGeometry objects.

System_CAPS_pubpropertyCentroid

Gets the DbGeometry value that represents the centroid of this DbGeometry value, which may be null if this value does not represent a surface.

System_CAPS_pubpropertyConvexHull

Gets the convex hull of this DbGeometry value as another DbGeometry value.

System_CAPS_pubpropertyCoordinateSystemId

Gets the coordinate system identifier of the DbGeometry object.

System_CAPS_pubpropertySystem_CAPS_staticDefaultCoordinateSystemId

Gets the default coordinate system ID (SRID) for geometry values.

System_CAPS_pubpropertyDimension

Gets the dimension of the given DbGeometry value or, if the value is a collection, the dimension of its largest element.

System_CAPS_pubpropertyElementCount

Gets the number of elements in this DbGeometry value, if it represents a geometry collection.

System_CAPS_pubpropertyElevation

Gets the elevation (Z coordinate) of this DbGeometry value, if it represents a point.

System_CAPS_pubpropertyEndPoint

Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve.

System_CAPS_pubpropertyEnvelope

Gets the envelope (minimum bounding box) of this DbGeometry value, as a geometry value.

System_CAPS_pubpropertyExteriorRing

Gets the DbGeometry value that represents the exterior ring of this DbGeometry value, which may be null if this value does not represent a polygon.

System_CAPS_pubpropertyInteriorRingCount

Gets the number of interior rings in this DbGeometry value, if it represents a polygon.

System_CAPS_pubpropertyIsClosed

Gets a nullable Boolean value indicating whether this DbGeometry value is closed, which may be null if this value does not represent a curve.

System_CAPS_pubpropertyIsEmpty

Gets a nullable Boolean value indicating whether this DbGeometry value is empty, which may be null if this value does not represent a curve.

System_CAPS_pubpropertyIsRing

Gets a nullable Boolean value indicating whether this DbGeometry value is a ring, which may be null if this value does not represent a curve.

System_CAPS_pubpropertyIsSimple

Gets a nullable Boolean value indicating whether this DbGeometry value is simple.

System_CAPS_pubpropertyIsValid

Gets a nullable Boolean value indicating whether this DbGeometry value is valid.

System_CAPS_pubpropertyLength

Gets a nullable double value that indicates the length of this DbGeometry value, which may be null if this value does not represent a curve.

System_CAPS_pubpropertyMeasure

Gets the Measure (M coordinate) of this DbGeometry value, if it represents a point.

System_CAPS_pubpropertyPointCount

Gets the number of points in this DbGeometry value, if it represents a linestring or linear ring.

System_CAPS_pubpropertyPointOnSurface

Gets a point on the surface of this DbGeometry value, which may be null if this value does not represent a surface.

System_CAPS_pubpropertyProvider

Gets the spatial provider that will be used for operations on this spatial type.

System_CAPS_pubpropertyProviderValue

Gets a representation of this DbGeometry value that is specific to the underlying provider that constructed it.

System_CAPS_pubpropertySpatialTypeName

Gets a spatial type name representation of this DbGeometry value.

System_CAPS_pubpropertyStartPoint

Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve.

System_CAPS_pubpropertyWellKnownValue

Gets or sets a data contract serializable well known representation of this DbGeometry value.

System_CAPS_pubpropertyXCoordinate

Gets the X coordinate of this DbGeometry value, if it represents a point.

System_CAPS_pubpropertyYCoordinate

Gets the Y coordinate of this DbGeometry value, if it represents a point.

NameDescription
System_CAPS_pubmethodAsBinary()

Generates the well known binary representation of this DbGeometry value.

System_CAPS_pubmethodAsGml()

Generates the Geography Markup Language (GML) representation of this DbGeometry value.

System_CAPS_pubmethodAsText()

Generates the well known text representation of this DbGeometry value. Includes only X and Y coordinates for points.

System_CAPS_pubmethodBuffer(Nullable<Double>)

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.

System_CAPS_pubmethodContains(DbGeometry)

Determines whether this DbGeometry value spatially contains the specified DbGeometry argument.

System_CAPS_pubmethodCrosses(DbGeometry)

Determines whether this DbGeometry value spatially crosses the specified DbGeometry argument.

System_CAPS_pubmethodDifference(DbGeometry)

Computes the difference between this DbGeometry value and another DbGeometry value.

System_CAPS_pubmethodDisjoint(DbGeometry)

Determines whether this DbGeometry is spatially disjoint from the specified DbGeometry argument.

System_CAPS_pubmethodDistance(DbGeometry)

Computes the distance between the closest points in this DbGeometry value and another DbGeometry value.

System_CAPS_pubmethodElementAt(Int32)

Returns an element of this DbGeometry value from a specific position, if it represents a geometry collection.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFromBinary(Byte[])

Creates a new DbGeometry value based on the specified well known binary value.

System_CAPS_pubmethodSystem_CAPS_staticFromBinary(Byte[], Int32)

Creates a new DbGeometry value based on the specified well known binary value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticFromGml(String)

Creates a new DbGeometry value based on the specified Geography Markup Language (GML) value.

System_CAPS_pubmethodSystem_CAPS_staticFromGml(String, Int32)

Creates a new DbGeometry value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticFromText(String)

Creates a new DbGeometry value based on the specified well known text value.

System_CAPS_pubmethodSystem_CAPS_staticFromText(String, Int32)

Creates a new DbGeometry value based on the specified well known text value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticGeometryCollectionFromBinary(Byte[], Int32)

Creates a new DbGeometry collection value based on the specified well known binary value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticGeometryCollectionFromText(String, Int32)

Creates a new DbGeometry collection value based on the specified well known text value and coordinate system identifier (SRID).

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInteriorRingAt(Int32)

Returns an interior ring from this DbGeometry value at a specific position, if it represents a polygon.

System_CAPS_pubmethodIntersection(DbGeometry)

Computes the intersection of this DbGeometry value and another DbGeometry value.

System_CAPS_pubmethodIntersects(DbGeometry)

Determines whether this DbGeometry value spatially intersects the specified DbGeometry argument.

System_CAPS_pubmethodSystem_CAPS_staticLineFromBinary(Byte[], Int32)

Creates a new DbGeometry line value based on the specified well known binary value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticLineFromText(String, Int32)

Creates a new DbGeometry line value based on the specified well known text value and coordinate system identifier (SRID).

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticMultiLineFromBinary(Byte[], Int32)

Returns the multiline value from a binary value.

System_CAPS_pubmethodSystem_CAPS_staticMultiLineFromText(String, Int32)

Returns the multiline value from a well-known text value.

System_CAPS_pubmethodSystem_CAPS_staticMultiPointFromBinary(Byte[], Int32)

Returns the multipoint value from a well-known binary value.

System_CAPS_pubmethodSystem_CAPS_staticMultiPointFromText(String, Int32)

Returns the multipoint value from a well-known text value.

System_CAPS_pubmethodSystem_CAPS_staticMultiPolygonFromBinary(Byte[], Int32)

Returns the multi polygon value from a well-known binary value.

System_CAPS_pubmethodSystem_CAPS_staticMultiPolygonFromText(String, Int32)

Returns the multi polygon value from a well-known binary value.

System_CAPS_pubmethodOverlaps(DbGeometry)

Determines whether this DbGeometry value spatially overlaps the specified DbGeometry argument.

System_CAPS_pubmethodPointAt(Int32)

Returns an element of this DbGeometry value from a specific position, if it represents a linestring or linear ring.

System_CAPS_pubmethodSystem_CAPS_staticPointFromBinary(Byte[], Int32)

Creates a new DbGeometry point value based on the specified well known binary value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticPointFromText(String, Int32)

Creates a new DbGeometry point value based on the specified well known text value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticPolygonFromBinary(Byte[], Int32)

Creates a new DbGeometry polygon value based on the specified well known binary value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticPolygonFromText(String, Int32)

Creates a new DbGeometry polygon value based on the specified well known text value and coordinate system identifier (SRID).

System_CAPS_pubmethodRelate(DbGeometry, String)

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.

System_CAPS_pubmethodSpatialEquals(DbGeometry)

Determines whether this DbGeometry is spatially equal to the specified DbGeometry argument.

System_CAPS_pubmethodSymmetricDifference(DbGeometry)

Computes the symmetric difference between this DbGeometry value and another DbGeometry value.

System_CAPS_pubmethodToString()

Returns a string representation of the geometry value.(Overrides Object.ToString().)

System_CAPS_pubmethodTouches(DbGeometry)

Determines whether this DbGeometry value spatially touches the specified DbGeometry argument.

System_CAPS_pubmethodUnion(DbGeometry)

Computes the union of this DbGeometry value and another DbGeometry value.

System_CAPS_pubmethodWithin(DbGeometry)

Determines whether this DbGeometry value is spatially within the specified DbGeometry argument.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.