toxi.geom.mesh
Class PlaneSelector
java.lang.Object
toxi.geom.mesh.VertexSelector
toxi.geom.mesh.PlaneSelector
public class PlaneSelector
- extends VertexSelector
A VertexSelector
implementation for selecting vertices in relation to
a given Plane
. Using a plane Plane.Classifier
vertices can be
selected either: on the plane, in front or behind. A tolerance for this check
can be given too.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
plane
public Plane plane
tolerance
public float tolerance
classifier
public Plane.Classifier classifier
PlaneSelector
public PlaneSelector(Mesh3D mesh,
Plane plane,
Plane.Classifier classifier)
PlaneSelector
public PlaneSelector(Mesh3D mesh,
Plane plane,
Plane.Classifier classifier,
float tolerance)
selectVertices
public VertexSelector selectVertices()
- Description copied from class:
VertexSelector
- Selects vertices using an implementation specific method. This is the
only method which needs to be implemented by any selector subclass.
- Specified by:
selectVertices
in class VertexSelector
- Returns:
- itself