Each "Result" object represents a closest point. Here are its main methods (see S2ClosestPointQueryBase::Result for details):
// The distance from the target to this point. S1ChordAngle distance() const;
// The point itself. const S2Point& point() const;
// The client-specified data associated with this point. const Data& data() const;
See Implementation
Each "Result" object represents a closest point. Here are its main methods (see S2ClosestPointQueryBase::Result for details):
// The distance from the target to this point. S1ChordAngle distance() const;
// The point itself. const S2Point& point() const;
// The client-specified data associated with this point. const Data& data() const;