#include <geometry_tetrahedron_z_slicer.h>
List of all members.
Detailed Description
template<typename vector3_type_>
class OpenTissue::geometry::ZTetrahedronSlicer< vector3_type_ >
Specialized Tetrahedron Slicer. Cut a tetrahedron with a specified z-plane and returns the sliced tetrahedron.
This code was originally implemented by Andreas Bæentzen, IMM (jab@imm.dtu.dk).
Member Typedef Documentation
template<typename vector3_type_>
template<typename vector3_type_>
Constructor & Destructor Documentation
template<typename vector3_type_>
Member Function Documentation
template<typename vector3_type_>
Computes intersection point of edge going from node i towards node j
- Parameters:
-
| z | The z value, indicating the z-plane aginst which the edge is tested. |
| i | The node index of the starting node (got lowest z-value). |
| j | The node index of the ending node (got highest z-value). |
| p | Upon return this argument holds the intersection point. |
template<typename vector3_type_>
Compute Intersection Slice of Tetrahedron and Z-plane.
- Parameters:
-
| z | The z-plane to slice against. |
| slice | Upon return holds the intersection points of the sliced tetrahedron. |
- Returns:
- The number of vertices in the sliced tetrahedron.
template<typename vector3_type_>
Swap the order of two nodes if their z-value allows it.
- Parameters:
-
| i | A node index. |
| j | A node index. |
- Returns:
- true if swapped otherwise false.
Member Data Documentation
template<typename vector3_type_>
The documentation for this class was generated from the following file: