public class IDelaunay
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
maxDistToCheck |
Constructor and Description |
---|
IDelaunay() |
Modifier and Type | Method and Description |
---|---|
static IVec |
circumsphereCenter(IVec p1,
IVec p2,
IVec p3,
IVec p4) |
static IVec[][] |
getEdges(IVec[] pts)
Getting edges of delaunay tetrahedron out of array of points.
|
static IVecI[][] |
getEdges(IVecI[] pts)
Getting edges of delaunay tetrahedron out of array of points.
|
static IVec[][] |
getSurfaceEdges(IVec[] pts)
Getting array of edge points on the surface of delaunay tetrahedron cells out of array of 3D points
|
static IVecI[][] |
getSurfaceEdges(IVecI[] pts)
Getting array of edge points on the surface of delaunay tetrahedron cells out of array of 3D points
|
static IMesh |
getSurfaceMesh(IVec[] pts)
Getting a polygon mesh of the outside surface of delaunay tetrahedron cells out of array of 3D points
|
static IMesh |
getSurfaceMesh(IVecI[] pts)
Getting a polygaon mesh of the outside surface of delaunay tetrahedron cells out of array of 3D points
|
static IVec[][] |
getSurfaceTriangles(IVec[] pts)
Getting array of triangle points on the surface (hull) of delaunay tetrahedron cells out of array of 3D points
|
static IVecI[][] |
getSurfaceTriangles(IVecI[] pts)
Getting array of triangle points on the surface (hull) of delaunay tetrahedron cells out of array of 3D points
|
static IVec[][] |
getTetrahedron(IVec[] pts)
Getting delaunay tetrahedron cells out of array of 3D points
|
static IVecI[][] |
getTetrahedron(IVecI[] pts)
Getting delaunay tetrahedron cells out of array of 3D points
|
static IVec[] |
getTriangleFace(IVec[] tetra,
int index)
pick 3 point triangle out of 4 point tetrahedron with right-screw normal order
|
static boolean |
isEdgeSame(IVecI[] edge1,
IVecI[] edge2)
check if two edge points are same in terms of same instance
|
static boolean |
isEdgeSame(IVecI[] edge1,
IVecI edge2Pt1,
IVecI edge2Pt2)
check if two edge points are same in terms of same instance
|
static boolean |
isEdgeSame(IVecI edge1Pt1,
IVecI edge1Pt2,
IVecI edge2Pt1,
IVecI edge2Pt2)
check if two edge points are same in terms of same instance
|
static boolean |
isInsideCircumsphere(IVec pt,
IVec tetraPt1,
IVec tetraPt2,
IVec tetraPt3,
IVec tetraPt4) |
static boolean |
isTriangleSame(IVecI[] tri1,
IVecI[] tri2)
check if two triangle points are same in terms of same instance
|
public static IVec[][] getTetrahedron(IVec[] pts)
public static IVecI[][] getTetrahedron(IVecI[] pts)
public static boolean isInsideCircumsphere(IVec pt, IVec tetraPt1, IVec tetraPt2, IVec tetraPt3, IVec tetraPt4)
public static IVec[] getTriangleFace(IVec[] tetra, int index)
public static IVec[][] getSurfaceTriangles(IVec[] pts)
public static IVecI[][] getSurfaceTriangles(IVecI[] pts)
public static IVec[][] getSurfaceEdges(IVec[] pts)
public static IVecI[][] getSurfaceEdges(IVecI[] pts)
public static IMesh getSurfaceMesh(IVec[] pts)
public static IMesh getSurfaceMesh(IVecI[] pts)
public static IVec[][] getEdges(IVec[] pts)
public static IVecI[][] getEdges(IVecI[] pts)
public static boolean isTriangleSame(IVecI[] tri1, IVecI[] tri2)
tri1
- array of 3 pointstri2
- array of 3 pointspublic static boolean isEdgeSame(IVecI[] edge1, IVecI[] edge2)
edge1
- array of 2 pointsedge2
- array of 2 pointspublic static boolean isEdgeSame(IVecI[] edge1, IVecI edge2Pt1, IVecI edge2Pt2)
edge1
- array of 2 pointsedge2Pt1
- point of second edgeedge2Pt2
- point of second edgepublic static boolean isEdgeSame(IVecI edge1Pt1, IVecI edge1Pt2, IVecI edge2Pt1, IVecI edge2Pt2)
edge1Pt1
- point of first edgeedge1Pt2
- point of first edgeedge2Pt1
- point of second edgeedge2Pt2
- point of second edge