Uses of Class
mgui.geometry.Triangle3D
| Package | Description |
|---|---|
| mgui.geometry |
Provides 2D and 3D geometry representations and utilities for all shapes used in ModelGUI.
|
| mgui.geometry.util |
Uility classes for geometric operations.
|
-
Uses of Triangle3D in mgui.geometry
Methods in mgui.geometry that return Triangle3D Modifier and Type Method Description Triangle3DMesh3D. getFaceTriangle(int i)Returns a 3D triangle for facei. -
Uses of Triangle3D in mgui.geometry.util
Methods in mgui.geometry.util with parameters of type Triangle3D Modifier and Type Method Description static floatGeometryFunctions. getArea(Triangle3D tri)Determines the area of triangletri.static org.jogamp.vecmath.Point2f[]GeometryFunctions. getIntersectionEdge(Triangle3D tri, Plane3D p)Returns the edge of intersection for triangle tri with plane p.static int[]GeometryFunctions. getIntersectionEdge(Triangle3D tri, Plane3D p, org.jogamp.vecmath.Point2f[] edge)Sets the edge of intersection for triangle tri with plane p.static org.jogamp.vecmath.Point3fGeometryFunctions. getIntersectionPoint3D(org.jogamp.vecmath.Point3f pt, org.jogamp.vecmath.Vector3f v, Triangle3D tri)Determines the point at which the line segment defined byptandvintersects triangletri.static org.jogamp.vecmath.Point3f[]GeometryFunctions. getIntersectionPoints(Triangle3D tri, Plane3D plane)Determines the points at whichtriintersectsplane.static org.jogamp.vecmath.Point3f[]GeometryFunctions. getIntersectionPoints(Triangle3D tri, Plane3D plane, boolean include_kiss)Determines the points at whichtriintersectsplane.static org.jogamp.vecmath.Point3f[]GeometryFunctions. getIntersectionSegment(Triangle3D tri1, Triangle3D tri2)Determines the line segment defining the seam of wheretri1andtri2intersect.static Plane3DGeometryFunctions. getPlane(Triangle3D tri)Returns a plane containingtri.static Triangle2DGeometryFunctions. getProjectedToPlane(Triangle3D tri, Plane3D plane)Projectstriontoplaneand returns the 2D triangle.static booleanGeometryFunctions. intersects(Triangle3D tri, Plane3D plane)Determines whether triangle intersects planestatic booleanGeometryFunctions. intersects(Triangle3D tri1, Triangle3D tri2)Determines whethertri1andtri2intersect.static booleanGeometryFunctions. intersects(org.jogamp.vecmath.Point3f p, org.jogamp.vecmath.Vector3f v, Triangle3D tri)static booleanGeometryFunctions. isObtuse(Triangle3D tri)Determines whethertriis an obtuse triangle.static booleanGeometryFunctions. isValidTriangle(Triangle3D t)