|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Boundary2D
A Boundary2D is the curve which defines the contour of a domain in the plane. It is compound of one or several non-intersecting and oriented curves. Curves composing the boundary implements the Contour2D interface.
Contour2D| Field Summary |
|---|
| Fields inherited from interface math.geom2d.Shape2D |
|---|
ACCURACY |
| Method Summary | |
|---|---|
java.util.Collection<? extends Contour2D> |
continuousCurves()
Overloads the declaration of continuousCurves to return a collection of contours (instances of Contour2D). |
Domain2D |
domain()
Returns the domain delimited by this boundary. |
void |
fill(java.awt.Graphics2D g2)
Fills the interior of the boundary, using the Graphics current Paint. |
boolean |
isInside(Point2D pt)
Returns true if the point is 'inside' the domain bounded by the curve. |
Boundary2D |
reverse()
Forces the subclasses to return an instance of Boundary2D. |
Boundary2D |
transform(AffineTransform2D trans)
Forces the subclasses to return an instance of Boundary2D. |
| Methods inherited from interface math.geom2d.domain.OrientedCurve2D |
|---|
clip, signedDistance, signedDistance, windingAngle |
| Methods inherited from interface math.geom2d.curve.Curve2D |
|---|
asAwtShape, clone, draw, firstPoint, getT0, getT1, intersections, isSingular, lastPoint, point, position, project, singularPoints, subCurve, t0, t1, vertices |
| Methods inherited from interface math.geom2d.Shape2D |
|---|
boundingBox, contains, contains, distance, distance, isBounded, isEmpty |
| Methods inherited from interface math.geom2d.GeometricObject2D |
|---|
almostEquals |
| Method Detail |
|---|
boolean isInside(Point2D pt)
isInside in interface OrientedCurve2Dpt - a point in the plane
java.util.Collection<? extends Contour2D> continuousCurves()
continuousCurves in interface Curve2DDomain2D domain()
Boundary2D reverse()
reverse in interface Curve2Dreverse in interface OrientedCurve2DBoundary2D transform(AffineTransform2D trans)
transform in interface Curve2Dtransform in interface OrientedCurve2Dtransform in interface Shape2Dtrans - an affine transform
void fill(java.awt.Graphics2D g2)
g2 - the Graphics to fill on
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||