Options.setMaxDistance

Specifies that only edges whose distance to the target is less than "max_distance" should be returned.

Note that edges whose distance is exactly equal to "max_distance" are not returned. Normally this doesn't matter, because distances are not computed exactly in the first place, but if such edges are needed then see set_inclusive_max_distance() below.

DEFAULT: Distance::Infinity()

  1. void setMaxDistance(S1ChordAngle max_distance)
    class Options
    void
    setMaxDistance
  2. void setMaxDistance(S1Angle max_distance)

Meta