S2Loop.makeRegularLoop - multiple declarations

Function 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.

static S2Loop makeRegularLoop (
  in const(s2.util.math.vector.Vector!(double,3L)) center,
  S1Angle radius,
  int num_vertices
);

Function 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.)

static S2Loop makeRegularLoop (
  in const(s2.util.math.matrix3x3.Matrix3x3!(double)) frame,
  S1Angle radius,
  int num_vertices
);