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

Sweep 2d shape along path curve to create 3d solid. More...

#include <angelcad.h>

Inheritance diagram for sweep:
solid shape

Public Member Functions

 sweep (const shape2d@ shape, const spline_path@ path)
 Construct 3d object by sweeping 2d shape along spline path. 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

Sweep 2d shape along path curve to create 3d solid.

a sweep creates a solid by sweeping a 2d profile along a path curve

Constructor & Destructor Documentation

◆ sweep()

sweep::sweep ( const shape2d shape,
const spline_path path 
)

Construct 3d object by sweeping 2d shape along spline path.

Parameters
shapeshape2d@, 2d profile shape to sweep
pathspline_path@, The path cirve to sweep along

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