S2MinDistance

S2MinDistance is a thin wrapper around S1ChordAngle that is used by classes such as S2ClosestEdgeQuery to compute minimum distances on the sphere (as opposed to maximum distances, ellipsoidal distances, etc).

It implements the Distance concept defined by S2DistanceTarget, which is used by query classes such as S2ClosestPointQuery and S2ClosestEdgeQuery. (See s2distance_target.h for details.)

Alias This

s1ChordAngle

Members

Aliases

Delta
alias Delta = S1ChordAngle
Undocumented in source.

Functions

getChordAngleBound
S1ChordAngle getChordAngleBound()
Undocumented in source. Be warned that the author may not have intended to support it.
opCmp
int opCmp(S2MinDistance other)
Undocumented in source. Be warned that the author may not have intended to support it.
updateMin
bool updateMin(S2MinDistance dist)
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

infinity
S2MinDistance infinity()
Undocumented in source. Be warned that the author may not have intended to support it.
negative
S2MinDistance negative()
Undocumented in source. Be warned that the author may not have intended to support it.
zero
S2MinDistance zero()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

s1ChordAngle
S1ChordAngle s1ChordAngle;
Undocumented in source.

Meta