org.naokishibata.math
Class Plane3D
java.lang.Object
org.naokishibata.math.Plane3D
- All Implemented Interfaces:
- java.io.Serializable
public class Plane3D
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Method Summary |
static boolean |
definable(Vector3D v0,
Vector3D v1,
Vector3D v2)
|
static double |
distance(Plane3D p,
Vector3D v)
|
double |
distanceFrom(Vector3D v)
|
static boolean |
includes(Plane3D p,
LineSegment3D ls)
|
static boolean |
includes(Plane3D p,
Vector3D v)
|
static boolean |
includes(Plane3D p,
Vector3D v,
double eps)
|
boolean |
includes(Vector3D v)
|
boolean |
includes(Vector3D v,
double eps)
|
static Vector3D |
intersection(Line3D l,
Plane3D p)
|
static Vector3D |
intersection(Plane3D p,
Line3D l)
|
static Line3D |
intersection(Plane3D q,
Plane3D p)
|
Vector3D |
intersectionWith(Line3D l)
|
Line3D |
intersectionWith(Plane3D p)
|
int |
intersects(LineSegment3D ls)
|
static int |
intersects(Plane3D p,
LineSegment3D ls)
|
boolean |
isParallelTo(Line3D l)
|
boolean |
isParallelTo(Line3D l,
double eps)
|
boolean |
isParallelTo(Plane3D p)
|
static Vector3D |
nearestPoint(Plane3D p,
Vector3D v)
|
Vector3D |
nearestPointFrom(Vector3D v)
|
Vector3D |
normalVector()
|
static Vector3D |
normalVector(Plane3D p)
|
static boolean |
parallel(Plane3D p,
Line3D l)
|
static boolean |
parallel(Plane3D p,
Line3D l,
double eps)
|
static boolean |
parallel(Plane3D q,
Plane3D p)
|
static boolean |
parallel(Plane3D q,
Plane3D p,
double eps)
|
java.lang.String |
toString()
|
Vector3D |
v(int i)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Plane3D
public Plane3D(Vector3D v0,
Vector3D v1,
Vector3D v2)
v
public Vector3D v(int i)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
normalVector
public static Vector3D normalVector(Plane3D p)
intersection
public static Vector3D intersection(Plane3D p,
Line3D l)
intersection
public static Vector3D intersection(Line3D l,
Plane3D p)
intersection
public static Line3D intersection(Plane3D q,
Plane3D p)
nearestPoint
public static Vector3D nearestPoint(Plane3D p,
Vector3D v)
distance
public static double distance(Plane3D p,
Vector3D v)
intersects
public static int intersects(Plane3D p,
LineSegment3D ls)
includes
public static boolean includes(Plane3D p,
Vector3D v,
double eps)
includes
public static boolean includes(Plane3D p,
Vector3D v)
includes
public static boolean includes(Plane3D p,
LineSegment3D ls)
parallel
public static boolean parallel(Plane3D p,
Line3D l,
double eps)
parallel
public static boolean parallel(Plane3D p,
Line3D l)
parallel
public static boolean parallel(Plane3D q,
Plane3D p,
double eps)
parallel
public static boolean parallel(Plane3D q,
Plane3D p)
definable
public static boolean definable(Vector3D v0,
Vector3D v1,
Vector3D v2)
normalVector
public Vector3D normalVector()
intersectionWith
public Vector3D intersectionWith(Line3D l)
intersectionWith
public Line3D intersectionWith(Plane3D p)
nearestPointFrom
public Vector3D nearestPointFrom(Vector3D v)
includes
public boolean includes(Vector3D v,
double eps)
includes
public boolean includes(Vector3D v)
distanceFrom
public double distanceFrom(Vector3D v)
intersects
public int intersects(LineSegment3D ls)
isParallelTo
public boolean isParallelTo(Line3D l,
double eps)
isParallelTo
public boolean isParallelTo(Line3D l)
isParallelTo
public boolean isParallelTo(Plane3D p)