HE_Mesh  6.0.1
wblut.hemesh.HEM_Slice Class Reference
+ Inheritance diagram for wblut.hemesh.HEM_Slice:

Public Member Functions

HEM_Slice setOffset (final double d)
 
 HEM_Slice ()
 
HEM_Slice setPlane (final WB_Plane P)
 
HEM_Slice setPlane (final double ox, final double oy, final double oz, final double nx, final double ny, final double nz)
 
HEM_Slice setReverse (final Boolean b)
 
HEM_Slice setCap (final Boolean b)
 
HEM_Slice setOptimizeCap (final boolean b)
 
- Public Member Functions inherited from wblut.hemesh.HEM_Modifier
 HEM_Modifier ()
 
HE_Mesh apply (final HE_Mesh mesh)
 
HE_Mesh apply (final HE_Selection selection)
 
- Public Member Functions inherited from wblut.hemesh.HE_Machine
abstract HE_Mesh apply (HE_Mesh mesh)
 
abstract HE_Mesh apply (HE_Selection selection)
 
String getName ()
 
void setName (final String name)
 

Static Public Member Functions

static void main (final String[] args)
 

Protected Member Functions

HE_Mesh applySelf (final HE_Mesh mesh)
 
HE_Mesh applySelf (final HE_Selection selection)
 
- Protected Member Functions inherited from wblut.hemesh.HEM_Modifier
abstract HE_Mesh applySelf (final HE_Mesh mesh)
 
abstract HE_Mesh applySelf (final HE_Selection selection)
 

Private Attributes

WB_Plane P
 
boolean reverse = false
 
boolean capHoles = true
 
boolean optimizeCap = false
 
double offset
 

Additional Inherited Members

- Static Public Attributes inherited from wblut.hemesh.HE_Machine
static final WB_ProgressTracker tracker = WB_ProgressTracker.instance()
 

Detailed Description

Planar cut of a mesh. Faces on positive side of cut plane are removed.

Author
Frederik Vanhoutte (W:Blut)

Constructor & Destructor Documentation

wblut.hemesh.HEM_Slice.HEM_Slice ( )

Instantiates a new HEM_Slice.

Member Function Documentation

HE_Mesh wblut.hemesh.HEM_Slice.applySelf ( final HE_Mesh  mesh)
protected
HE_Mesh wblut.hemesh.HEM_Slice.applySelf ( final HE_Selection  selection)
protected
HEM_Slice wblut.hemesh.HEM_Slice.setCap ( final Boolean  b)

Set option to cap holes.

Parameters
btrue, false;
Returns
self
HEM_Slice wblut.hemesh.HEM_Slice.setOffset ( final double  d)

Set offset.

Parameters
doffset
Returns
self
HEM_Slice wblut.hemesh.HEM_Slice.setOptimizeCap ( final boolean  b)
HEM_Slice wblut.hemesh.HEM_Slice.setPlane ( final WB_Plane  P)

Set cut plane.

Parameters
Pcut plane
Returns
self

References wblut.hemesh.HEM_Slice.P.

HEM_Slice wblut.hemesh.HEM_Slice.setPlane ( final double  ox,
final double  oy,
final double  oz,
final double  nx,
final double  ny,
final double  nz 
)

Sets the plane.

Parameters
oxthe ox
oythe oy
ozthe oz
nxthe nx
nythe ny
nzthe nz
Returns
the hE m_ slice
HEM_Slice wblut.hemesh.HEM_Slice.setReverse ( final Boolean  b)

Set reverse option.

Parameters
btrue, false
Returns
self

Member Data Documentation

boolean wblut.hemesh.HEM_Slice.capHoles = true
private

Cap holes?. Capping holes does not work properly with self-intersection...

double wblut.hemesh.HEM_Slice.offset
private

The offset.

boolean wblut.hemesh.HEM_Slice.optimizeCap = false
private
WB_Plane wblut.hemesh.HEM_Slice.P
private

Cut plane.

boolean wblut.hemesh.HEM_Slice.reverse = false
private

HEM_slice keeps the part of the mesh on the positive side of the plane. Reverse planar cut.


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