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

2d fill operation, filling holes in input shapes More...

#include <angelcad.h>

Inheritance diagram for fill2d:
shape2d shape

Public Member Functions

 fill2d (const shape2d@ s1)
 Fill internal holes on a 2d object. More...
 
 fill2d (array< shape2d@>@ arr)
 Fill internal voids of 2d objects in an array. More...
 
- Public Member Functions inherited from shape2d
shape2dopAdd (shape2d@ b)
 Boolean union operator+ overload. More...
 
shape2dopAnd (shape2d@ b)
 Boolean intersection operator& overload. More...
 
shape2dopMul (tmatrix@ matrix)
 Transform object by matrix multiplication: shape2d@ o2 = T * o1. More...
 
shape2dopSub (shape2d@ 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

2d fill operation, filling holes in input shapes

fill2d is a 2-dimensional boolean operation that removes internal holes
in in 2d shapes, but leaves a possibly concave outer contour intact.
fill2d can be invoked either on a single shape2d or an array.

Constructor & Destructor Documentation

◆ fill2d() [1/2]

fill2d::fill2d ( const shape2d s1)

Fill internal holes on a 2d object.

Parameters
s1shape2d@, 2d shape

◆ fill2d() [2/2]

fill2d::fill2d ( array< shape2d@>@  arr)

Fill internal voids of 2d objects in an array.

Parameters
arrarray@, Array of shapes to be filled

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