Skip to contents

Generates vertex coordinates for various shapes.

Usage

cpp_generate_geometry(shape_type, params)

Arguments

shape_type

Shape type name

params

List of shape parameters

Value

Matrix of vertex coordinates (2 x n_vertices)