public abstract class PositionCriterion extends Object
| Constructor and Description |
|---|
PositionCriterion() |
| Modifier and Type | Method and Description |
|---|---|
static PositionCriterion |
createBlobCriterion(uk.ac.starlink.ttools.plot2.Surface surface,
Shape blob)
Returns a criterion to test whether point positions fall within a given
shape in graphics coordinates.
|
static PositionCriterion |
createBoundsCriterion(uk.ac.starlink.ttools.plot2.Surface surface)
Returns a criterion to test whether point positions fall within
the plot bounds of a given surface.
|
static PositionCriterion |
createPartialBoundsCriterion(uk.ac.starlink.ttools.plot2.Surface surface)
Returns a criterion to test whether partial positions fall within
the plot bounds of a given surface.
|
abstract boolean |
isIncluded(double[] dpos)
Evaluates the test for a data position.
|
public abstract boolean isIncluded(double[] dpos)
dpos - data space coordinate arraypublic static PositionCriterion createBoundsCriterion(uk.ac.starlink.ttools.plot2.Surface surface)
surface - plot surfacepublic static PositionCriterion createPartialBoundsCriterion(uk.ac.starlink.ttools.plot2.Surface surface)
surface - plot surfacepublic static PositionCriterion createBlobCriterion(uk.ac.starlink.ttools.plot2.Surface surface, Shape blob)
surface - plot surfaceblob - test shape in graphics coordinatesCopyright © 2003-2025 CCLRC: Council for the Central Laboratory of the Research Councils. All Rights Reserved.