DbGeometry Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a base class for objects that define geometric shapes.
public ref class DbGeometry
[System.ComponentModel.DataAnnotations.BindableType]
[System.Runtime.Serialization.DataContract]
[System.Serializable]
public class DbGeometry
[<System.ComponentModel.DataAnnotations.BindableType>]
[<System.Runtime.Serialization.DataContract>]
[<System.Serializable>]
type DbGeometry = class
Public Class DbGeometry
- Inheritance
-
DbGeometry
- Attributes
Area |
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. |
Boundary |
Gets the boundary of the DbGeometry objects. |
Centroid |
Gets the DbGeometry value that represents the centroid of this DbGeometry value, which may be null if this value does not represent a surface. |
Convex |
Gets the convex hull of this DbGeometry value as another DbGeometry value. |
Coordinate |
Gets the coordinate system identifier of the DbGeometry object. |
Default |
Gets the default coordinate system id (SRID) for geometry values. |
Dimension |
Gets the dimension of the given DbGeometry value or, if the value is a collection, the dimension of its largest element. |
Element |
Gets the number of elements in this DbGeometry value, if it represents a geometry collection. |
Elevation |
Gets the elevation (Z coordinate) of this DbGeometry value, if it represents a point. |
End |
Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve. |
Envelope |
Gets the envelope (minimum bounding box) of this DbGeometry value, as a geometry value. |
Exterior |
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. |
Interior |
Gets the number of interior rings in this DbGeometry value, if it represents a polygon. |
Is |
Gets a nullable Boolean value indicating whether this DbGeometry value is closed, which may be null if this value does not represent a curve. |
Is |
Gets a nullable Boolean value indicating whether this DbGeometry value is empty, which may be null if this value does not represent a curve. |
Is |
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. |
Is |
Gets a nullable Boolean value indicating whether this DbGeometry value is simple. |
Is |
Gets a nullable Boolean value indicating whether this DbGeometry value is valid. |
Length |
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. |
Measure |
Gets the Measure (M coordinate) of this DbGeometry value, if it represents a point. |
Point |
Gets the number of points in this DbGeometry value, if it represents a linestring or linear ring. |
Point |
Gets a point on the surface of this DbGeometry value, which may be null if this value does not represent a surface. |
Provider |
Gets a representation of this DbGeometry value that is specific to the underlying provider that constructed it. |
Spatial |
Gets a spatial type name representation of this DbGeometry value. |
Start |
Gets a DbGeometry value representing the start point of this value, which may be null if this DbGeometry value does not represent a curve. |
Well |
Gets or sets a data contract serializable well known representation of this DbGeometry value. |
XCoordinate |
Gets the X coordinate of this DbGeometry value, if it represents a point. |
YCoordinate |
Gets the Y coordinate of this DbGeometry value, if it represents a point. |
As |
Generates the well known binary representation of this DbGeometry value. |
As |
Generates the Geography Markup Language (GML) representation of this DbGeometry value. |
As |
Generates the well known text representation of this DbGeometry value. Includes only X and Y coordinates for points. |
Buffer(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. |
Contains(Db |
Determines whether this DbGeometry value spatially contains the specified DbGeometry argument. |
Crosses(Db |
Determines whether this DbGeometry value spatially crosses the specified DbGeometry argument. |
Difference(Db |
Computes the difference between this DbGeometry value and another DbGeometry value. |
Disjoint(Db |
Determines whether this DbGeometry is spatially disjoint from the specified DbGeometry argument. |
Distance(Db |
Computes the distance between the closest points in this DbGeometry value and another DbGeometry value. |
Element |
Returns an element of this DbGeometry value from a specific position, if it represents a geometry collection. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
From |
Creates a new DbGeometry value based on the specified well known binary value and coordinate system identifier (SRID). |
From |
Creates a new DbGeometry value based on the specified well known binary value. |
From |
Creates a new DbGeometry value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID). |
From |
Creates a new DbGeometry value based on the specified Geography Markup Language (GML) value. |
From |
Creates a new DbGeometry value based on the specified well known text value and coordinate system identifier (SRID). |
From |
Creates a new DbGeometry value based on the specified well known text value. |
Geometry |
Creates a new DbGeometry collection value based on the specified well known binary value and coordinate system identifier (SRID). |
Geometry |
Creates a new DbGeometry collection value based on the specified well known text value and coordinate system identifier (SRID). |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Interior |
Returns an interior ring from this DbGeometry value at a specific position, if it represents a polygon. |
Intersection(Db |
Computes the intersection of this DbGeometry value and another DbGeometry value. |
Intersects(Db |
Determines whether this DbGeometry value spatially intersects the specified DbGeometry argument. |
Line |
Creates a new DbGeometry line value based on the specified well known binary value and coordinate system identifier (SRID). |
Line |
Creates a new DbGeometry line value based on the specified well known text value and coordinate system identifier (SRID). |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Multi |
Returns the multiline value from a binary value. |
Multi |
Returns the multiline value from a well-known text value. |
Multi |
Returns the multipoint value from a well-known binary value. |
Multi |
Returns the multipoint value from a well-known text value. |
Multi |
Returns the multi polygon value from a well-known binary value. |
Multi |
Returns the multi polygon value from a well-known binary value. |
Overlaps(Db |
Determines whether this DbGeometry value spatially overlaps the specified DbGeometry argument. |
Point |
Returns an element of this DbGeometry value from a specific position, if it represents a linestring or linear ring. |
Point |
Creates a new DbGeometry point value based on the specified well known binary value and coordinate system identifier (SRID). |
Point |
Creates a new DbGeometry point value based on the specified well known text value and coordinate system identifier (SRID). |
Polygon |
Creates a new DbGeometry polygon value based on the specified well known binary value and coordinate system identifier (SRID). |
Polygon |
Creates a new DbGeometry polygon value based on the specified well known text value and coordinate system identifier (SRID). |
Relate(Db |
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. |
Spatial |
Determines whether this DbGeometry is spatially equal to the specified DbGeometry argument. |
Symmetric |
Computes the symmetric difference between this DbGeometry value and another DbGeometry value. |
To |
Returns a string representation of the geometry value. |
Touches(Db |
Determines whether this DbGeometry value spatially touches the specified DbGeometry argument. |
Union(Db |
Computes the union of this DbGeometry value and another DbGeometry value. |
Within(Db |
Determines whether this DbGeometry value is spatially within the specified DbGeometry argument. |
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: