|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ProGAL.geom3d.volumes.RSS
public class RSS
Implementation of a Rectangular Swept Sphere that supports overlap check and construction from a point-set and two RSS'.
Field Summary | |
---|---|
double |
radius
|
Rectangle |
rectangle
|
Constructor Summary | |
---|---|
RSS(Point center,
Vector[] bases,
double radius)
|
Method Summary | |
---|---|
RSS |
clone()
Make a deep clone this volume. |
static RSS |
createBoundingRSS_covariance(PointList points)
|
static RSS |
createBoundingRSS_covariance(RSS s1,
RSS s2)
|
Point |
getCenter()
Get the geometric center of the shape. |
double |
getVolume()
Get the volume. |
boolean |
overlaps(RSS rss)
674HOps |
boolean |
overlaps(Volume vol)
Determine if this volume overlaps vol. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Rectangle rectangle
public double radius
Constructor Detail |
---|
public RSS(Point center, Vector[] bases, double radius)
Method Detail |
---|
public boolean overlaps(Volume vol)
Volume
overlaps
in interface Volume
public boolean overlaps(RSS rss)
public double getVolume()
Volume
getVolume
in interface Volume
public Point getCenter()
Shape
getCenter
in interface Shape
public java.lang.String toString()
toString
in class java.lang.Object
public static RSS createBoundingRSS_covariance(PointList points)
public static RSS createBoundingRSS_covariance(RSS s1, RSS s2)
public RSS 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 |