DbGeometry Class

.NET Framework (current version)
 

Provides a base class for objects that define geometric shapes.

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

System.Object
  System.Data.Spatial.DbGeometry

[<SerializableAttribute>]
[<DataContractAttribute>]
[<BindableTypeAttribute>]
type DbGeometry = class end

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. <returns>The number of elements in this geometry value, if it represents a collection of other geometry values; otherwise null.</returns>

System_CAPS_pubpropertyElevation

Gets the elevation (Z coordinate) of this DbGeometry value, if it represents a point. <returns>The elevation (Z coordinate) of this geometry value, if it represents a point; otherwise null.</returns>

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. <returns>The number of elements in this geometry value, if it represents a polygon; otherwise null.</returns>

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. <returns>The Measure (M coordinate) value of this geometry value, if it represents a point; otherwise null.</returns>

System_CAPS_pubpropertyPointCount

Gets the number of points in this DbGeometry value, if it represents a linestring or linear ring. <returns>The number of elements in this geometry value, if it represents a linestring or linear ring; otherwise null.</returns>

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_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. <returns>The X coordinate value of this geometry value, if it represents a point; otherwise null.</returns>

System_CAPS_pubpropertyYCoordinate

Gets the Y coordinate of this DbGeometry value, if it represents a point. <returns>The Y coordinate value of this geometry value, if it represents a point; otherwise null.</returns>

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. <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>

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(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()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInteriorRingAt(Int32)

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>

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()

Creates a shallow copy of the current Object.(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. <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>

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.

.NET Framework
Available since 4.5

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

Return to top
Show: