public class InfCone
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected double |
angle |
protected Point |
apex |
protected Vector |
axis |
Constructor and Description |
---|
InfCone(Point apex,
Point p1,
Point p2,
Point p3)
Construct the cone with the specified apex such that the points
p1 , p2 and
p3 are all on the boundary of the cone. |
InfCone(Point apex,
Vector axis,
double angle)
Construct the cone by specifying the apex-point, direction-vector and angle.
|
Modifier and Type | Method and Description |
---|---|
double |
getAngle() |
Point |
getApex() |
Vector |
getAxis() |
static void |
main(java.lang.String[] args) |
java.lang.String |
toString() |
java.lang.String |
toString(int dec) |
public InfCone(Point apex, Vector axis, double angle)
apex
- axis
- angle
- public Point getApex()
public Vector getAxis()
public double getAngle()
public java.lang.String toString(int dec)
public java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args)