|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.rsl.konrad.geometry.AbstractShape
edu.stanford.rsl.konrad.geometry.AbstractSurface
edu.stanford.rsl.konrad.geometry.shapes.simple.SimpleSurface
edu.stanford.rsl.konrad.geometry.shapes.simple.QuadricSurface
public abstract class QuadricSurface
Class to model an arbitrary quadric surface Rotimi X Ojo
Constructor Summary | |
---|---|
QuadricSurface()
|
Method Summary | |
---|---|
void |
applyTransform(Transform t)
Applies the Transform t to the object. |
PointND |
evaluate(double u,
double v)
Returns a point on the surface at position (u, v). |
int |
getDimension()
Returns the external dimension of the shape. |
java.util.ArrayList<PointND> |
getHits(AbstractCurve other)
|
java.util.ArrayList<PointND> |
getHitsOnBoundingBox(AbstractCurve other)
|
PointND[] |
getRasterPoints(int number)
Rasters the shape with a given number of points or less. |
abstract boolean |
isBounded()
Returns true if the shape is of limited space |
boolean |
isMember(PointND point)
Determines if the given point in within the bounds of shape; |
Methods inherited from class edu.stanford.rsl.konrad.geometry.shapes.simple.SimpleSurface |
---|
addAllBoundingConditions, addBoundingCondition, evaluate, getChangeOfAxisMatrix, getInternalDimension, getPrincipalAxis, getTransform, intersect |
Methods inherited from class edu.stanford.rsl.konrad.geometry.AbstractShape |
---|
getHitsOnBoundingBox_slow, getMax, getMin |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuadricSurface()
Method Detail |
---|
public java.util.ArrayList<PointND> getHits(AbstractCurve other)
getHits
in class SimpleSurface
public abstract boolean isBounded()
AbstractShape
isBounded
in class AbstractShape
public int getDimension()
AbstractShape
getDimension
in class AbstractShape
public boolean isMember(PointND point)
SimpleSurface
isMember
in class SimpleSurface
public java.util.ArrayList<PointND> getHitsOnBoundingBox(AbstractCurve other)
getHitsOnBoundingBox
in class AbstractShape
public PointND[] getRasterPoints(int number)
AbstractShape
getRasterPoints
in class AbstractShape
number
- the number of points
public void applyTransform(Transform t)
Transformable
applyTransform
in interface Transformable
applyTransform
in class AbstractShape
t
- the transform to apply to the object.public PointND evaluate(double u, double v)
AbstractSurface
evaluate
in class AbstractSurface
u
- the internal position in u dimensionv
- the internal position in v dimension
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |