jvx.geom
Class PwRivaraBisection
java.lang.Object
|
+--jv.object.PsObject
|
+--jvx.geom.PwRivaraBisection
- All Implemented Interfaces:
- java.lang.Cloneable, PsUpdateIf, java.io.Serializable
- public class PwRivaraBisection
- extends PsObject
Rivara bisection algorithm on triangulated surfaces.
This class adaptively refines a marked subset of the triangles of a triangulation.
A cache mechanism is added to the element, vertex, and neighbour
array. Each array has now a used size and a maximal size.
Each time when the used size is greater than the maximal size
the array is increased by caNewSize entries.
- Version:
- 20.07.01, 1.20 revised (ur) Bugs in method rivaraRefinement removed, maintaining of colors and textures added.
01.11.99, 1.10 revised (af) Cache implemented for arrays.
30.09.99, 1.00 created (af)
- Author:
- Axel Friedrich
- See Also:
- Serialized Form
| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, NUM_TAGS |
|
Method Summary |
boolean |
rivaraRefinement(PgElementSet geom,
int[] refineElements)
Invokes the Rivara refinement process on the set of marked triangles. |
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, hasInspector, hasTag, hasUpdateListener, init, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, toString, update, updatePanels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PwRivaraBisection
public PwRivaraBisection()
rivaraRefinement
public boolean rivaraRefinement(PgElementSet geom,
int[] refineElements)
- Invokes the Rivara refinement process on the set of marked triangles.
- Parameters:
refineElements - an array which holds the indices of the elements that have to be refined- Returns:
- false if geometry is empty or not a triangulation.
The software JavaView® is copyright protected. All Rights Reserved.