Function s2::point::regular_points[][src]

pub fn regular_points(
    center: &Point,
    radius: Angle,
    num_vertices: usize
) -> Vec<Point>

regular_points generates a slice of points shaped as a regular polygon with the numVertices vertices, all located on a circle of the specified angular radius around the center. The radius is the actual distance from center to each vertex. TODO: private?