Package toxi.geom.mesh
Class PlaneSelector
java.lang.Object
toxi.geom.mesh.VertexSelector
toxi.geom.mesh.PlaneSelector
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.-
Field Summary
-
Constructor Summary
ConstructorDescriptionPlaneSelector
(Mesh3D mesh, Plane plane, Plane.Classifier classifier) PlaneSelector
(Mesh3D mesh, Plane plane, Plane.Classifier classifier, float tolerance) -
Method Summary
Modifier and TypeMethodDescriptionSelects vertices using an implementation specific method.Methods inherited from class toxi.geom.mesh.VertexSelector
addSelection, clearSelection, getMesh, getSelection, invertSelection, selectSimilar, setMesh, size, subtractSelection
-
Field Details
-
plane
-
tolerance
public float tolerance -
classifier
-
-
Constructor Details
-
PlaneSelector
-
PlaneSelector
-
-
Method Details
-
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 classVertexSelector
- Returns:
- itself
-