@Deprecated
public class GeometricOperations_3
extends java.lang.Object
Constructor and Description |
---|
GeometricOperations_3()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Point_3 |
circumCenter(Point_3 p,
Point_3 q,
Point_3 r,
Point_3 s)
Deprecated.
|
static boolean |
coplanarExact(Point_3 a,
Point_3 b,
Point_3 c,
Point_3 d)
Deprecated.
Test whether four 3D points are coplanar (test is filtered)
|
static boolean |
doIntersect(Segment_3 s,
Triangle_3 t)
Deprecated.
refer to Jcg.geometry.kernel.GeometricPredicates_3
|
static void |
main(java.lang.String[] args)
Deprecated.
|
static int |
orientation(Point_3 a,
Point_3 b,
Point_3 c,
Point_3 d)
Deprecated.
refer to Jcg.geometry.kernel.GeometricPredicates_3
|
static int |
sideOfSphere(Point_3 p,
Point_3 a,
Point_3 b,
Point_3 c,
Point_3 d)
Deprecated.
Returns the position of p with respect to the circumsphere of tetrahedron (a, b, c, d): +1 if
p lies outside the sphere, -1 if p lies inside the sphere, 0 if p lies on the sphere
with exact computations (slow but more reliable)
|
static int |
sideOfTetrahedron(Point_3 p,
Point_3[] t)
Deprecated.
determines on which side of the tetrahedron t point p lies: -1 means inside, 0 means on the boundary,
+1 means outside
|
static java.math.BigDecimal |
squaredistanceExact(java.math.BigDecimal px,
java.math.BigDecimal py,
java.math.BigDecimal pz,
java.math.BigDecimal qx,
java.math.BigDecimal qy,
java.math.BigDecimal qz)
Deprecated.
Returns the square of the distance between two 3D points
with exact computations (slow but more reliable)
|
public static java.math.BigDecimal squaredistanceExact(java.math.BigDecimal px, java.math.BigDecimal py, java.math.BigDecimal pz, java.math.BigDecimal qx, java.math.BigDecimal qy, java.math.BigDecimal qz)
p1,p2
- the two 3D points@Deprecated public static boolean doIntersect(Segment_3 s, Triangle_3 t)
public static boolean coplanarExact(Point_3 a, Point_3 b, Point_3 c, Point_3 d)
@Deprecated public static int orientation(Point_3 a, Point_3 b, Point_3 c, Point_3 d)
public static int sideOfSphere(Point_3 p, Point_3 a, Point_3 b, Point_3 c, Point_3 d)
public static Point_3 circumCenter(Point_3 p, Point_3 q, Point_3 r, Point_3 s)
public static int sideOfTetrahedron(Point_3 p, Point_3[] t)
public static void main(java.lang.String[] args)