|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ProGAL.geom3d.volumes.Cylinder
public class Cylinder
Constructor Summary | |
---|---|
Cylinder(LineSegment sgm,
double r)
|
|
Cylinder(Point p1,
Point p2,
double r)
|
Method Summary | |
---|---|
Cylinder |
clone()
Make a deep clone this volume. |
static Cylinder |
createBoundingCylinder_CovarianceFit(PointList points)
|
Point |
getCenter()
Get the geometric center of the shape. |
double |
getLength()
|
double |
getRadius()
|
LineSegment |
getSegment()
|
double |
getSurfaceArea()
|
double |
getVolume()
Get the volume. |
boolean |
inCylinder(Point p)
|
java.lang.Double |
intersectionParameter(Line l)
|
static void |
main(java.lang.String[] args)
|
boolean |
overlaps(Volume vol)
Determine if this volume overlaps vol. |
void |
setSegment(LineSegment sgm)
|
void |
toConsole(int dec)
|
java.lang.String |
toString()
|
java.lang.String |
toString(int dec)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Cylinder(Point p1, Point p2, double r)
public Cylinder(LineSegment sgm, double r)
Method Detail |
---|
public LineSegment getSegment()
public double getLength()
public double getRadius()
public double getVolume()
Volume
getVolume
in interface Volume
public double getSurfaceArea()
public void setSegment(LineSegment sgm)
public boolean inCylinder(Point p)
public java.lang.Double intersectionParameter(Line l)
public static void main(java.lang.String[] args)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(int dec)
public void toConsole(int dec)
public Point getCenter()
Shape
getCenter
in interface Shape
public static Cylinder createBoundingCylinder_CovarianceFit(PointList points)
public boolean overlaps(Volume vol)
Volume
overlaps
in interface Volume
public Cylinder clone()
Volume
clone
in interface Volume
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |