-
Notifications
You must be signed in to change notification settings - Fork 2
CheL3: The level 3 of CHE
moutella edited this page Sep 9, 2021
·
1 revision
This class represents the level 2 of CHE, it stores the a direct reference of each element of a mesh, i.e. sets a half-edge to represent each vertex, and a half-edge to represent each edge.
- _nCurves: stores the amount of boundary curves of the mesh.
- _tableCurveHalfEdge: Stores the half-edge that represents each curve.
- _che: References the Che orchestrator class.
- computeCurveHalfEdge()
- Computes which half-edges represent each curve.
- getCurveHalfEdge(curveId)
- returns the half-edge that represents a boundary curve.
- setSpecialOpposite(heId, nCurve)
- sets the opposite of a half-edge that does not contain an opposite, to the Boundary Curve it is a part of.
-
checkTableCurveHalfEdge()
-
Checks if the value stored in _nCurves is the number of elements in the _tableCurveHalfEdge array.
-
checkOpposites()
-
checks if all the values in the level 1 table of opposites reference an valid half edge or an existing boundary curve.