AngelCAD  1.5-00
Public Member Functions | List of all members
hull3d Class Reference

3d hull operation, enclosing the input solids More...

#include <angelcad.h>

Inheritance diagram for hull3d:
solid shape

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
solidopAdd (solid@ b)
 Boolean union operator+ overload. More...
 
solidopAnd (solid@ b)
 Boolean intersection operator& overload. More...
 
solidopMul (tmatrix@ matrix)
 Transform object by matrix multiplication: solid@ o2 = T * o1. More...
 
solidopSub (solid@ b)
 Boolean difference operator- overload. More...
 
- Public Member Functions inherited from shape
boundingboxbox () const
 Return bounding box of object. More...
 
tmatrixtransform () 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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ hull3d() [1/5]

hull3d::hull3d ( const solid s1,
const solid s2 
)

Compute 3d convex hull from 2 solids.

Parameters
s1solid@, solid
s2solid@, solid

◆ hull3d() [2/5]

hull3d::hull3d ( const solid s1,
const solid s2,
const solid s3 
)

Compute 3d convex hull from 3 solids.

Parameters
s1solid@, solid
s2solid@, solid
s3solid@, solid

◆ hull3d() [3/5]

hull3d::hull3d ( const solid s1,
const solid s2,
const solid s3,
const solid s4 
)

Compute 3d convex hull from 4 solids.

Parameters
s1solid@, solid
s2solid@, solid
s3solid@, solid
s4solid@, solid

◆ hull3d() [4/5]

hull3d::hull3d ( const solid s1,
const solid s2,
const solid s3,
const solid s4,
const solid s5 
)

Compute 3d convex hull from 5 solids.

Parameters
s1solid@, solid
s2solid@, solid
s3solid@, solid
s4solid@, solid
s5solid@, solid

◆ hull3d() [5/5]

hull3d::hull3d ( array< solid@>@  arr)

Compute 3d convex hull from an array of solids.

Parameters
arrarray@

The documentation for this class was generated from the following file: