S2Loop.makeRegularLoop

Constructs a regular polygon with the given number of vertices, all located on a circle of the specified radius around "center". The radius is the actual distance from "center" to each vertex.

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

Meta