SqlGeometry.STCrosses(SqlGeometry) Method
Definition
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.
Determines whether the calling SqlGeometry instance crosses the specified SqlGeometry instance.
[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlBoolean STCrosses (Microsoft.SqlServer.Types.SqlGeometry other);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STCrosses : Microsoft.SqlServer.Types.SqlGeometry -> System.Data.SqlTypes.SqlBoolean
Public Function STCrosses (other As SqlGeometry) As SqlBoolean
Parameters
- other
- SqlGeometry
The SqlGeometry instance to compare against the instance on which STCrosses(SqlGeometry) is invoked.
Returns
Returns true if a SqlGeometry instance crosses another geometry instance. Returns false if it does not.
- Attributes