mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Tweak to centroid() docs.
This commit is contained in:
parent
8373b2db38
commit
214d382e1b
2 changed files with 4 additions and 2 deletions
|
@ -1386,7 +1386,9 @@ function polygon_area(poly, signed=false) =
|
||||||
// If you provide a non-planar or collinear polygon you will get an error. For self-intersecting
|
// If you provide a non-planar or collinear polygon you will get an error. For self-intersecting
|
||||||
// polygons you may get an error or you may get meaningless results.
|
// polygons you may get an error or you may get meaningless results.
|
||||||
// .
|
// .
|
||||||
// If object is a manifold VNF then returns the 3d centroid of the polyhedron. The VNF must
|
// Given a [[region|regions.scad]], returns the 2D coordinates of the region's centroid.
|
||||||
|
// .
|
||||||
|
// Given a manifold [[VNF|vnf.scad]] then returns the 3D centroid of the polyhedron. The VNF must
|
||||||
// describe a valid polyhedron with consistent face direction and no holes in the mesh; otherwise
|
// describe a valid polyhedron with consistent face direction and no holes in the mesh; otherwise
|
||||||
// the results are undefined.
|
// the results are undefined.
|
||||||
// Arguments:
|
// Arguments:
|
||||||
|
|
Loading…
Reference in a new issue