protected static class AnalyticSurface.OrderedSurface extends java.lang.Object implements OrderedRenderable
Modifier and Type | Field and Description |
---|---|
protected double |
eyeDistance |
protected AnalyticSurface |
surface |
Constructor and Description |
---|
OrderedSurface(AnalyticSurface surface,
double eyeDistance) |
Modifier and Type | Method and Description |
---|---|
double |
getDistanceFromEye()
Returns the ordered renderable's distance from the current view's eye point.
|
void |
pick(DrawContext dc,
java.awt.Point pickPoint)
Executes a pick of the ordered renderable.
|
void |
render(DrawContext dc)
Causes this
Renderable to render itself using the provided draw context. |
protected final double eyeDistance
protected final AnalyticSurface surface
public OrderedSurface(AnalyticSurface surface, double eyeDistance)
public double getDistanceFromEye()
OrderedRenderable
getDistanceFromEye
in interface OrderedRenderable
public void pick(DrawContext dc, java.awt.Point pickPoint)
OrderedRenderable
pick
in interface OrderedRenderable
dc
- the current draw context.pickPoint
- the pick point.public void render(DrawContext dc)
Renderable
Renderable
to render itself using the provided draw context.render
in interface Renderable
dc
- the DrawContext
to be usedDrawContext