SqlGeometry.STIsRing 메서드

SQL Server 2012

Determines whether the calling SqlGeometry instance is a ring.

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STIsRing()

반환 값

유형: System.Data.SqlTypes.SqlBoolean
Returns true if a geometry instance fulfills the following requirements:
  • It is a LineString instance.

  • It is closed.

  • It is simple.

Returns false if the LineString instance does not meet the requirements.

For a SqlGeometry instance to be closed and simple, both STIsClosed and STIsSimple must return true when invoked on the instance. To determine the instance type of a SqlGeometry, use STGeometryType.

커뮤니티 추가 항목

추가
표시: