omdl
v0.6.1
OpenSCAD Mechanical Design Library
|
Other shapes mathematical functions. More...
#include <../datatypes/datatypes-base.scad>
Go to the source code of this file.
Functions | |
function | rpolygon_lp (n, r, a, vr, cw=true) |
Compute the coordinates for an n-sided regular polygon. More... | |
function | rpolygon_area (n, r, a) |
Compute the area of an n-sided regular polygon. More... | |
function | rpolygon_perimeter (n, r, a) |
Compute the perimeter of an n-sided regular polygon. More... | |
Other shapes mathematical functions.
This file is part of omdl, an OpenSCAD mechanical design library.
The omdl is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
The omdl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with the omdl; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA; or see http://www.gnu.org/licenses/.
Definition in file math_oshapes.scad.