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 Triangle3D
Mesh3D. 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 float
GeometryFunctions. 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.Point3f
GeometryFunctions. getIntersectionPoint3D(org.jogamp.vecmath.Point3f pt, org.jogamp.vecmath.Vector3f v, Triangle3D tri)
Determines the point at which the line segment defined bypt
andv
intersects triangletri
.static org.jogamp.vecmath.Point3f[]
GeometryFunctions. getIntersectionPoints(Triangle3D tri, Plane3D plane)
Determines the points at whichtri
intersectsplane
.static org.jogamp.vecmath.Point3f[]
GeometryFunctions. getIntersectionPoints(Triangle3D tri, Plane3D plane, boolean include_kiss)
Determines the points at whichtri
intersectsplane
.static org.jogamp.vecmath.Point3f[]
GeometryFunctions. getIntersectionSegment(Triangle3D tri1, Triangle3D tri2)
Determines the line segment defining the seam of wheretri1
andtri2
intersect.static Plane3D
GeometryFunctions. getPlane(Triangle3D tri)
Returns a plane containingtri
.static Triangle2D
GeometryFunctions. getProjectedToPlane(Triangle3D tri, Plane3D plane)
Projectstri
ontoplane
and returns the 2D triangle.static boolean
GeometryFunctions. intersects(Triangle3D tri, Plane3D plane)
Determines whether triangle intersects planestatic boolean
GeometryFunctions. intersects(Triangle3D tri1, Triangle3D tri2)
Determines whethertri1
andtri2
intersect.static boolean
GeometryFunctions. intersects(org.jogamp.vecmath.Point3f p, org.jogamp.vecmath.Vector3f v, Triangle3D tri)
static boolean
GeometryFunctions. isObtuse(Triangle3D tri)
Determines whethertri
is an obtuse triangle.static boolean
GeometryFunctions. isValidTriangle(Triangle3D t)