The geometry data type provides many built-in methods you can use to determine relationships between two geometry instances.
To determine if two instances comprise the same point set
STEquals
To determine if two instances are disjoint
STDisjoint
To determine if two instances intersect
STIntersects
To determine if two instances touch
STTouches
To determine if two instances overlap
STOverlaps
To determine if two instances cross
STCrosses
To determine if one instance is within another
STWithin
To determine if one instance contains another
STContains
To determine if one instance overlaps another
STOverlaps
To determine if two instances are spatially related
STRelate
To determine the shortest distance between points in two geometries
STDistance

See Also