Package org.jmol.util
Class MeshSlicer
java.lang.Object
org.jmol.util.MeshSlicer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getIntersection
(float distance, P4 plane, P3[] ptCenters, Lst<P3[]> vData, float[] fData, BS bsSource, MeshSurface meshSurface, boolean andCap, boolean doClean, int tokType, boolean isGhost) protected void
slabBrillouin
(P3[] unitCellPoints) "slabs" an isosurface into the first Brillouin zone moving points as necessary.boolean
slabPolygons
(Object[] slabObject, boolean allowCap)
-
Field Details
-
m
-
-
Constructor Details
-
MeshSlicer
public MeshSlicer()
-
-
Method Details
-
slabPolygons
- Parameters:
slabObject
- [0] Integer type, [1] object, [2] andCap, [3] colorDataallowCap
-- Returns:
- true if successful
-
getIntersection
public void getIntersection(float distance, P4 plane, P3[] ptCenters, Lst<P3[]> vData, float[] fData, BS bsSource, MeshSurface meshSurface, boolean andCap, boolean doClean, int tokType, boolean isGhost) - Parameters:
distance
- a distance from a plane or pointplane
- a slabbing planeptCenters
- a set of atoms to measure distance fromvData
- when not null, this is a query, not an actual slabbingfData
- vertex values or other data to overlaybsSource
- TODOmeshSurface
- second surface; not implemented -- still some problems thereandCap
- to cap this off, crudely onlydoClean
- compact set - draw onlytokType
- type of slabisGhost
- translucent slab, so we mark slabbed triangles
-
slabBrillouin
"slabs" an isosurface into the first Brillouin zone moving points as necessary.- Parameters:
unitCellPoints
-
-