S2Cap.this

Constructs a cap with the given center and radius. A negative radius yields an empty cap; a radius of 180 degrees or more yields a full cap (containing the entire sphere). "center" should be unit length.

  1. this()
  2. this(S2Cap o)
  3. this(S2Point center, S1Angle radius)
    class S2Cap
    this
    out { assert (isValid()); }
  4. this(S2Point center, S1ChordAngle radius)

Meta