public interface Figure
Modifier and Type | Method and Description |
---|---|
String |
createExpression(TableCloud cloud)
Returns an algebraic (JEL) expression that tests whether a point
from a given point cloud is contained within this figure.
|
String |
getAdql()
Returns some ADQL text that represents this figure.
|
Area |
getArea()
Returns a drawable shape representing the area defined by this
figure on its plotting surface.
|
String |
getExpression()
Returns a generic algebraic (JEL-like) expression for determining
inclusion in this figure.
|
Point[] |
getVertices()
Returns the array of vertices defining this figure.
|
void |
paintPath(Graphics2D g)
Paints the path defined by this figure's points.
|
Area getArea()
void paintPath(Graphics2D g)
g
- destination graphics contextPoint[] getVertices()
String getExpression()
String createExpression(TableCloud cloud)
cloud
- the source of the data pointsString getAdql()
At present no assumptions are specified about the ADQL version etc, but a widely-applicable dialect (for instance ADQL v2.0 with geometry support) should be used where possible.
Copyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.