AngelCAD
1.5-00
|
3d hull operation, enclosing the input solids More...
#include <angelcad.h>
Public Member Functions | |
hull3d (const solid@ s1, const solid@ s2) | |
Compute 3d convex hull from 2 solids. More... | |
hull3d (const solid@ s1, const solid@ s2, const solid@ s3) | |
Compute 3d convex hull from 3 solids. More... | |
hull3d (const solid@ s1, const solid@ s2, const solid@ s3, const solid@ s4) | |
Compute 3d convex hull from 4 solids. More... | |
hull3d (const solid@ s1, const solid@ s2, const solid@ s3, const solid@ s4, const solid@ s5) | |
Compute 3d convex hull from 5 solids. More... | |
hull3d (array< solid@>@ arr) | |
Compute 3d convex hull from an array of solids. More... | |
Public Member Functions inherited from solid | |
solid@ | opAdd (solid@ b) |
Boolean union operator+ overload. More... | |
solid@ | opAnd (solid@ b) |
Boolean intersection operator& overload. More... | |
solid@ | opMul (tmatrix@ matrix) |
Transform object by matrix multiplication: solid@ o2 = T * o1. More... | |
solid@ | opSub (solid@ b) |
Boolean difference operator- overload. More... | |
Public Member Functions inherited from shape | |
boundingbox@ | box () const |
Return bounding box of object. More... | |
tmatrix@ | transform () const |
Return transformation matrix of object. More... | |
void | write_csg (string path) |
Write object to OpenSCAD .csg file. More... | |
void | write_xcsg (string path, double secant_tolerance=- 1.0) |
Write object to .xcsg file for processing by xcsg program. More... | |
3d hull operation, enclosing the input solids
hull3d is a 3-dimensional boolean operation. It encapsulates
the input objects with a convex shape. It can for example be used
to create a cuboid with rounded cornes using 8 spheres.
Compute 3d convex hull from 2 solids.
s1 | solid@, solid |
s2 | solid@, solid |
Compute 3d convex hull from 3 solids.
s1 | solid@, solid |
s2 | solid@, solid |
s3 | solid@, solid |
Compute 3d convex hull from 4 solids.
s1 | solid@, solid |
s2 | solid@, solid |
s3 | solid@, solid |
s4 | solid@, solid |
hull3d::hull3d | ( | const solid@ | s1, |
const solid@ | s2, | ||
const solid@ | s3, | ||
const solid@ | s4, | ||
const solid@ | s5 | ||
) |
Compute 3d convex hull from 5 solids.
s1 | solid@, solid |
s2 | solid@, solid |
s3 | solid@, solid |
s4 | solid@, solid |
s5 | solid@, solid |
Compute 3d convex hull from an array of solids.
arr | array@ |