S1ChordAngle.successor

Returns the smallest representable S1ChordAngle larger than this object. This can be used to convert a "<" comparison to a "<=" comparison. For

struct S1ChordAngle
const
successor
()

Examples

S2ClosestEdgeQuery query(...); S1ChordAngle limit = ...; if (query.IsDistanceLess(target, limit.Successor())) { // Distance to "target" is less than or equal to "limit". }

Note the following special cases: Negative().Successor() == Zero() Straight().Successor() == Infinity() Infinity().Successor() == Infinity()

Meta