artofillusion
Class TriMeshBeveler

java.lang.Object
  extended by artofillusion.TriMeshBeveler

public class TriMeshBeveler
extends java.lang.Object

TriMeshBeveler defines methods for beveling/extruding a TriangleMesh.


Field Summary
static int BEVEL_EDGES
           
static int BEVEL_FACE_GROUPS
           
static int BEVEL_FACES
           
static int BEVEL_VERTICES
           
 
Constructor Summary
TriMeshBeveler(TriangleMesh theMesh, boolean[] selection, int bevelMode)
           
 
Method Summary
 TriangleMesh bevelMesh(double height, double width)
          Construct a new mesh by beveling and extruding the original one.
 boolean[] getNewSelection()
          Get a list of which faces, edges, or vertices (depending on the bevel mode) should be selected after beveling.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEVEL_FACES

public static final int BEVEL_FACES
See Also:
Constant Field Values

BEVEL_FACE_GROUPS

public static final int BEVEL_FACE_GROUPS
See Also:
Constant Field Values

BEVEL_EDGES

public static final int BEVEL_EDGES
See Also:
Constant Field Values

BEVEL_VERTICES

public static final int BEVEL_VERTICES
See Also:
Constant Field Values
Constructor Detail

TriMeshBeveler

public TriMeshBeveler(TriangleMesh theMesh,
                      boolean[] selection,
                      int bevelMode)
Method Detail

bevelMesh

public TriangleMesh bevelMesh(double height,
                              double width)
Construct a new mesh by beveling and extruding the original one.

Parameters:
height - the extrude height
width - the bevel width

getNewSelection

public boolean[] getNewSelection()
Get a list of which faces, edges, or vertices (depending on the bevel mode) should be selected after beveling.



Copyright © 1999-2011 by Peter Eastman.