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

Extrude from botton to top shapes using transform. More...

#include <angelcad.h>

Inheritance diagram for transform_extrude:
solid shape

Public Member Functions

 transform_extrude (const shape2d@ bottom, const shape2d@ top)
 Create solid by extruding from bottom to top. The top shape should be multiplied with a translation in z-direction. 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

Extrude from botton to top shapes using transform.

transform_extrude is a special extrusion operation, defined by two 2d shapes, representing bottom and top of extrusion.

Constructor & Destructor Documentation

◆ transform_extrude()

transform_extrude::transform_extrude ( const shape2d bottom,
const shape2d top 
)

Create solid by extruding from bottom to top. The top shape should be multiplied with a translation in z-direction.

Parameters
bottomshape2d@, The bottom 2d shape in xy-plane
topshape2d@, The top 2d shape, to be transformed in z direction (e.g. multiply with a translation in z-direction)

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