SqlGeometry 클래스

SQL Server 2012

The SqlGeometry type represents data in a Euclidean (flat) coordinate system.

System.Object
  Microsoft.SqlServer.Types.SqlGeometry

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

[SerializableAttribute]
[SqlUserDefinedTypeAttribute(Format.UserDefined, IsByteOrdered = false, 
	MaxByteSize = , IsFixedLength = false)]
[CLSCompliantAttribute(true)]
public sealed class SqlGeometry : INullable, 
	IBinarySerialize, ISqlSpatialGridIndexable

SqlGeometry 유형에서 다음 멤버를 표시합니다.

  이름설명
공용 메서드SqlGeometryInitializes a new instance of the SqlGeometry class.
맨 위로 이동

  이름설명
공용 속성HasMReturns true if at least one point in a spatial object contains value M; otherwise returns false. This property is read-only.
공용 속성HasZReturns true if at least one point in a spatial object contains value Z; otherwise returns false. This property is read-only.
공용 속성IsNullGets a value that indicates whether the SqlGeometry object is null.
공용 속성MGets the M (measure) value of the SqlGeometry instance. The semantics of the measure value are user-defined.
공용 속성정적 멤버NullGets a read-only property providing a null instance of the SqlGeometry type.
공용 속성STSridGets or sets an integer that represents the Spatial Reference Identifier (SRID) of the instance.
공용 속성STXGets the X-coordinate property of a Point instance.
공용 속성STYGets the Y-coordinate property of a Point instance.
공용 속성ZGets the Z (elevation) value of the instance. The semantics of the elevation value are user-defined.
맨 위로 이동

  이름설명
공용 메서드AsBinaryZMReturns the Elevation and Measure as a binary.
공용 메서드AsGmlReturns the Geography Markup Language (GML) representation of a SqlGeometry instance.
공용 메서드AsTextZMReturns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a SqlGeometry instance, augmented with any Z (elevation) and M (measure) values carried by the instance.
공용 메서드BufferWithCurvesBuffers the geometry objects with curves.
공용 메서드BufferWithToleranceReturns a geometric object that represents the union of all point values whose distance from a SqlGeometry instance is less than or equal to a specified value, allowing for a specified tolerance.
공용 메서드CurveToLineWithToleranceReturns a polygonal approximation of a SqlGeometry instance that contains circular arc segments.
공용 메서드정적 멤버DeserializeReturns a constructed SqlGeometry from an internal SQL Server format for spatial data.
공용 메서드Equals (Object에서 상속됨)
공용 메서드FilterOffers a fast, index-only intersection method to determine if a SqlGeometry instance intersects another SqlGeometry instance, assuming an index is available.
공용 메서드정적 멤버GeomFromGmlConstructs a SqlGeometry instance given a representation in the SQL Server subset of the Geography Markup Language (GML).
공용 메서드GetHashCode (Object에서 상속됨)
공용 메서드GetType (Object에서 상속됨)
공용 메서드InstanceOfTests if the SqlGeometry instance is the same as the specified type.
공용 메서드IsValidDetailedReturns a message to help identify validity issues with a spatial object.
공용 메서드MakeValidConverts an invalid SqlGeometry instance into a SqlGeometry instance with a valid Open Geospatial Consortium (OGC) type.
공용 메서드MinDbCompatibilityLevelReturns the minimum database compatibility that accepts the SqlGeometry type.
공용 메서드정적 멤버ParseReturns a SqlGeometry instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation.
공용 메서드정적 멤버PointConstructs a SqlGeometry instance that represents a Point instance from its X and Y values and an SRID.
공용 메서드Populate(IGeometrySink) 더 이상 사용되지 않습니다. Applies a geometry type call sequence to an IGeometrySink object. The call sequence is a sequential set of figures, lines, and points. SqlGeometry
공용 메서드Populate(IGeometrySink110)Applies a geometry type call sequence to IGeometrySink object.
공용 메서드ReadReads a binary representation of a geometry type into a SqlGeometry object. SqlGeometry
공용 메서드ReduceReturns an approximation of the given SqlGeometry instance produced by running the Douglas-Peucker algorithm on the instance with the given tolerance.
공용 메서드SerializeReturns the bytes that represent an internal SQL Server format of SqlGeometry type.
공용 메서드ShortestLineToReturns the shortest distance between the two SqlGeometryinstances.
공용 메서드STAreaReturns the total surface area of a SqlGeometry instance.
공용 메서드STAsBinaryReturns the Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation of a SqlGeometry instance. This value will not contain any Z or M values carried by the instance.
공용 메서드STAsTextReturns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a SqlGeometry instance. This text will not contain any Z (elevation) or M (measure) values carried by the instance.
공용 메서드STBoundaryReturns the boundary of a SqlGeometry instance.
공용 메서드STBufferReturns a geometric object that represents the union of all points whose distance from a SqlGeometry instance is less than or equal to a specified value.
공용 메서드STCentroidReturns the geometric center of a SqlGeometry instance consisting of one or more polygons.
공용 메서드STContainsSpecifies whether the calling SqlGeometry instance completely contains another SqlGeometry.
공용 메서드STConvexHullReturns an object that represents the convex hull of a SqlGeometry instance.
공용 메서드STCrossesDetermines whether the calling SqlGeometry instance crosses the specified SqlGeometry instance.
공용 메서드STCurveNReturns the curve specified from a SqlGeometry instance that is a LineString, CircularString, or CompoundCurve.
공용 메서드STCurveToLineReturns a polygonal approximation of a SqlGeometry instance that contains circular arc segments.
공용 메서드STDifferenceReturns an object that represents the points from one SqlGeometry instance that do not lie within another SqlGeometry instance.
공용 메서드STDimensionReturns the maximum dimension of a SqlGeometry instance.
공용 메서드STDisjointDetermines whether the calling SqlGeometry instance is disjointed when compared against the specified SqlGeometry.
공용 메서드STDistanceReturns the shortest distance between a point in a SqlGeometry instance and a point in the specified SqlGeometry instance.
공용 메서드STEndPointReturns the end point of a SqlGeometry instance.
공용 메서드STEnvelopeReturns the minimum axis-aligned bounding rectangle of the instance.
공용 메서드STEqualsDetermines whether the specified SqlGeometry has a point set identical to the calling SqlGeometry.
공용 메서드STExteriorRingReturns the exterior ring of a SqlGeometry instance that is a polygon.
공용 메서드정적 멤버STGeomCollFromTextReturns a SqlGeometry instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation augmented with any Z (elevation) and M (measure) values carried by the instance.
공용 메서드정적 멤버STGeomCollFromWKBReturns a SqlGeometry collection instance from an Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation.
공용 메서드STGeometryNReturns the specified SqlGeometry in a SqlGeometry collection.
공용 메서드STGeometryTypeReturns the Open Geospatial Consortium (OGC) type name represented by a geometry instance. SqlGeometry
공용 메서드정적 멤버STGeomFromTextReturns a SqlGeometry instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation augmented with any Z (elevation) and M (measure) values carried by the instance.
공용 메서드정적 멤버STGeomFromWKBReturns a SqlGeometry instance from an Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation.
공용 메서드STInteriorRingNReturns the specified interior ring of a Polygon SqlGeometry instance.
공용 메서드STIntersectionReturns an object that represents the points where a SqlGeometry instance intersects another SqlGeometry instance.
공용 메서드STIntersectsDetermines whether the calling SqlGeometry instance intersects another SqlGeometry.
공용 메서드STIsClosedDetermines whether the start and end points of the calling SqlGeometry are the same.
공용 메서드STIsEmptyIndicates whether the calling SqlGeometry instance is empty.
공용 메서드STIsRingDetermines whether the calling SqlGeometry instance is a ring.
공용 메서드STIsSimpleDetermines whether the calling SqlGeometry instance is simple.
공용 메서드STIsValidDetermines whether the SqlGeometry instance is well-formed.
공용 메서드STLengthReturns the total length of the elements in a SqlGeometry instance.
공용 메서드정적 멤버STLineFromTextReturns a SqlGeometry instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation augmented with any Z (elevation) and M (measure) values carried by the instance.
공용 메서드정적 멤버STLineFromWKBReturns a SqlGeometry LineString instance from an Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation.
공용 메서드정적 멤버STMLineFromTextReturns a SqlGeometry instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation augmented with any Z (elevation) and M (measure) values carried by the instance.
공용 메서드정적 멤버STMLineFromWKBReturns a SqlGeometry MultiLineString instance from an Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation.
공용 메서드정적 멤버STMPointFromTextReturns a SqlGeometry instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation augmented with any Z (elevation) and M (measure) values carried by the instance.
공용 메서드정적 멤버STMPointFromWKBReturns a SqlGeometry Point instance from an Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation.
공용 메서드정적 멤버STMPolyFromTextReturns a SqlGeometry instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation with any Z (elevation) and M (measure) values carried by the instance.
공용 메서드정적 멤버STMPolyFromWKBReturns a SqlGeometry MultiPolygon instance from an Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation.
공용 메서드STNumCurvesReturns the number of curves in a one-dimensional SqlGeometry instance.
공용 메서드STNumGeometriesReturns the number of SqlGeometry that comprise a SqlGeometry instance.
공용 메서드STNumInteriorRingReturns the number of interior rings of a Polygon SqlGeometry instance.
공용 메서드STNumPointsReturns the sum of the number of points in each of the figures in a SqlGeometry instance.
공용 메서드STOverlapsDetermines whether the specified SqlGeometry overlaps the current SqlGeometry.
공용 메서드정적 멤버STPointFromTextReturns a SqlGeometry instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation augmented with any Z (elevation) and M (measure) values carried by the instance.
공용 메서드정적 멤버STPointFromWKBReturns a SqlGeometry Point instance from an Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation.
공용 메서드STPointNReturns a specified point in a SqlGeometry instance.
공용 메서드STPointOnSurfaceReturns an arbitrary point located within the interior of a SqlGeometry instance.
공용 메서드정적 멤버STPolyFromTextReturns a SqlGeometry instance from an Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation augmented with any Z (elevation) and M (measure) values carried by the instance.
공용 메서드정적 멤버STPolyFromWKBReturns a SqlGeometry Polygon instance from an Open Geospatial Consortium (OGC) Well-Known Binary (WKB) representation.
공용 메서드STRelateDetermines whether the calling SqlGeometry is related to the specified SqlGeometry.
공용 메서드STStartPointReturns the start point of a SqlGeometry instance.
공용 메서드STSymDifferenceReturns an object that represents all points that are either in one SqlGeometry instance or another SqlGeometry instance, but not those points that lie in both instances.
공용 메서드STTouchesDetermines whether the specified SqlGeometry touches the current SqlGeometry.
공용 메서드STUnionReturns an object that represents the union of a SqlGeometry instance with another SqlGeometry instance.
공용 메서드STWithinDetermines whether the current SqlGeometry is completely within the specified SqlGeometry instance.
공용 메서드ToStringReturns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a SqlGeometry instance augmented with any Z (elevation) and M (measure) values carried by the instance. (Object.ToString()을(를) 재정의함)
공용 메서드WriteWrites a SqlGeometry instance to a binary stream. SqlGeometry
맨 위로 이동

  이름설명
명시적 인터페이스 구현전용 메서드ISqlSpatialGridIndexable.BufferForDistanceQueryReturns the buffer for distance query for the SQL Geometry.
명시적 인터페이스 구현전용 메서드ISqlSpatialGridIndexable.GetBoundingBoxCornersReturns a value for the bounding box corners for the SQL Geometry.
명시적 인터페이스 구현전용 메서드ISqlSpatialGridIndexable.GetGridCoverageReturns the grid coverage of the SQL Geometry.
명시적 인터페이스 구현전용 메서드ISqlSpatialGridIndexable.InteriorBufferForDistanceQueryGets the interior buffer for distance query for the SQL Geometry.
맨 위로 이동

SQL Server 2012 supports a set of methods for the geometry spatial data type. These methods include methods on geometry that are defined by the Open Geospatial Consortium (OGC) standard and a set of Microsoft extensions to that standard.

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

커뮤니티 추가 항목

추가
표시: