|
||||||||||
| 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.
| Field Summary |
|---|
| Fields inherited from interface math.geom2d.Shape2D |
|---|
ACCURACY |
| Method Summary | |
|---|---|
void |
fill(Graphics2D g2)
|
Collection<? extends ContinuousBoundary2D> |
getBoundaryCurves()
Returns the different continuous curves composing the boundary |
Domain2D |
getDomain()
Returns the domain delimited by this boundary. |
Curve2D |
getReverseCurve()
Forces the subclasses to return an instance of Boundary2D. |
boolean |
isInside(Point2D pt)
Returns true if the point is 'inside' the domain bounded by the curve. |
Curve2D |
transform(AffineTransform2D trans)
Forces the subclasses to return an instance of Boundary2D. |
| Methods inherited from interface math.geom2d.domain.OrientedCurve2D |
|---|
clip, getSignedDistance, getSignedDistance, getWindingAngle |
| Methods inherited from interface math.geom2d.curve.Curve2D |
|---|
clone, draw, getAsAWTShape, getContinuousCurves, getFirstPoint, getIntersections, getLastPoint, getPoint, getPosition, getSingularPoints, getSubCurve, getT0, getT1, isSingular, project |
| Methods inherited from interface math.geom2d.Shape2D |
|---|
contains, contains, getBoundingBox, getDistance, getDistance, isBounded, isEmpty |
| Method Detail |
|---|
boolean isInside(Point2D pt)
isInside in interface OrientedCurve2Dpt - a point in the plane
Collection<? extends ContinuousBoundary2D> getBoundaryCurves()
Domain2D getDomain()
Curve2D getReverseCurve()
getReverseCurve in interface Curve2DgetReverseCurve in interface OrientedCurve2DCurve2D transform(AffineTransform2D trans)
transform in interface Curve2Dtransform in interface OrientedCurve2Dtransform in interface Shape2Dtrans - an affine transform
void fill(Graphics2D g2)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||