Method Transpose
Transpose(SpatialRelation)
Given the result of shapeA.Relate(shapeB)
, transposing that
result should yield the result of shapeB.Relate(shapeA)
. There
is a corner case is when the shapes are equal, in which case actually
flipping the Relate() call will result in the same value -- either CONTAINS
or WITHIN; this method can't possible check for that so the caller might
have to.
Declaration
public static SpatialRelation Transpose(this SpatialRelation sr)
Parameters
Type | Name | Description |
---|---|---|
SpatialRelation | sr |
Returns
Type | Description |
---|---|
SpatialRelation |