S2Loop.makeRegularLoop

Like the function above, but this version constructs a loop centered around the z-axis of the given coordinate frame, with the first vertex in the direction of the positive x-axis. (This allows the loop to be rotated for testing purposes.)

  1. S2Loop makeRegularLoop(S2Point center, S1Angle radius, int num_vertices)
  2. S2Loop makeRegularLoop(Matrix3x3_d frame, S1Angle radius, int num_vertices)
    class S2Loop
    static
    makeRegularLoop

Meta