|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Shape2D | |
|---|---|
| math.geom2d | Planar geometry toolbox. |
| math.geom2d.conic | Conic curves like circles, ellipses, parabolas and hyperbolas Contains definition of various conic curves. |
| math.geom2d.curve | Curves interface hierarchy, and implementations of curve sets and various poly-curves. |
| math.geom2d.line | Straight curves : straight lines, line segments, rays, and polylines. |
| math.geom2d.polygon | Domains of the plane whose boundary is straight, like polygons, half-plane, wedge... |
| math.geom2d.spline | Bezier curves, and more generally polynomial curves. |
| math.geom2d.transform | Hieararchy of planar transforms, and implementation of common transforms like rotations, translations, reflections or scalings. |
| Uses of Shape2D in math.geom2d |
|---|
| Classes in math.geom2d that implement Shape2D | |
|---|---|
class |
Box2D
This class defines bounds of a shape. |
class |
Point2D
A point in the plane defined by its 2 cartesian coordinates x and y. |
class |
PointSet2D
Represent the union of a finite number of Point2D. |
| Fields in math.geom2d declared as Shape2D | |
|---|---|
static Shape2D |
Shape2D.EMPTY_SET
|
| Methods in math.geom2d that return Shape2D | |
|---|---|
Shape2D |
PointSet2D.clip(Box2D box)
|
Shape2D |
Shape2D.clip(Box2D box)
Clip the shape with the given box, and returns a new shape. |
Shape2D |
Box2D.clip(Box2D box)
Returns an instance of Box2D, or Shape2D.EMPTY_SET if the two boxes are disjoint |
Shape2D |
Point2D.clip(Box2D box)
Returns either the point itself, or the shape EMPTY_SET, depending on whether the point lies inside the specified box. |
Shape2D |
Box2D.getAsRectangle()
convert to rectangle. |
Shape2D |
PointSet2D.getClippedShape(Box2D box)
|
Shape2D |
Box2D.getClippedShape(Box2D box)
Return an instance of Box2D |
Shape2D |
Point2D.getClippedShape(Box2D box)
Returns either the point itself, or the shape EMPTY_SET, depending on whether the point lies inside the specified box. |
Shape2D |
Point2D.getTransformedShape(AffineTransform2D trans)
|
Shape2D |
Shape2D.transform(AffineTransform2D trans)
transform the shape by an affine transform. |
| Methods in math.geom2d with parameters of type Shape2D | |
|---|---|
boolean |
Box2D.containsBounds(Shape2D shape)
Test if the specified Shape is totally contained in this Rectangle. |
| Uses of Shape2D in math.geom2d.conic |
|---|
| Subinterfaces of Shape2D in math.geom2d.conic | |
|---|---|
interface |
Conic2D
Interface for all conics : parametric conics, or ellipses, parabolas, and hyperbolas. |
| Classes in math.geom2d.conic that implement Shape2D | |
|---|---|
class |
Circle2D
A circle in the plane, defined as the set of points located at an equal distance from the circle center. |
class |
CircleArc2D
A circle arc, defined by the center and the radius of the containing circle, by a starting angle, and by a (signed) angle extent. |
class |
Disc2D
A domain of the plane whose boundary is a circle. |
class |
Ellipse2D
An ellipse in the plane. |
class |
EllipseArc2D
An arc of ellipse. |
class |
Hyperbola2D
Superclass for all linear and pieces smooth curves : polylines, conics, lines ... |
class |
HyperbolaBranch2D
Branch of an Hyperbola2D. |
class |
HyperbolaBranchArc2D
An arc of hyperbola, defined from the parent hyperbola branch, and two positions on the parent curve. |
class |
Parabola2D
A parabola, defined by its vertex, its orientation, and its pedal. |
class |
ParabolaArc2D
An arc of parabola, defined by a parent parabola, and two limits for the parametrization. |
class |
ParametricConic2D
A parametric Conic is defined directly from its parametric equation: a*x^2 + b*x*y + c*y^2 + d*x + e*y + f |
| Methods in math.geom2d.conic that return Shape2D | |
|---|---|
Shape2D |
Disc2D.clip(Box2D box)
|
Shape2D |
Disc2D.getClippedShape(Box2D box)
|
Shape2D |
Disc2D.transform(AffineTransform2D trans)
|
| Uses of Shape2D in math.geom2d.curve |
|---|
| Subinterfaces of Shape2D in math.geom2d.curve | |
|---|---|
interface |
Boundary2D
A Boundary2D is the curve which defines the contour of a domain in the plane. |
interface |
ContinuousBoundary2D
a continuous boundary is a continuous oriented curve which delimits a planar domain. |
interface |
ContinuousCurve2D
Interface for all curves which can be drawn with one stroke. |
interface |
ContinuousOrientedCurve2D
Defines a part of the boundary of a planar domain. |
interface |
Curve2D
Interface for all linear and pieces smooth curves : polylines, conics, lines ... |
interface |
Domain2D
Interface for shapes that draws an 'interior' and an 'exterior'. |
interface |
OrientedCurve2D
An OrientedCurve2D defines an 'inside' and an 'outside'. |
interface |
SmoothCurve2D
Interface for smooth and continuous curves. |
interface |
SmoothOrientedCurve2D
|
| Classes in math.geom2d.curve that implement Shape2D | |
|---|---|
class |
BoundaryPolyCurve2D<T extends ContinuousOrientedCurve2D>
A single continuous oriented curve, which defines the boundary of a planar domain. |
class |
BoundarySet2D<T extends ContinuousBoundary2D>
A BoundarySet2D is a set of continuous oriented curves. |
class |
CurveSet2D<T extends Curve2D>
A parameterized set of curves. |
class |
GenericDomain2D
A domain defined from its boundary. |
class |
PolyCurve2D<T extends ContinuousCurve2D>
A PolyCurve2D is a set of piecewise smooth curve arcs, such that the end of a curve is the beginning of the next curve, and such that they do not intersect nor self-intersect. |
class |
PolyOrientedCurve2D<T extends ContinuousOrientedCurve2D>
A PolyOrientedCurve2D is a set of piecewise smooth curve arcs, such that the end of a curve is the beginning of the next curve, and such that they do not intersect nor self-intersect. |
| Methods in math.geom2d.curve that return Shape2D | |
|---|---|
Shape2D |
GenericDomain2D.clip(Box2D box)
|
Shape2D |
GenericDomain2D.getClippedShape(Box2D box)
|
| Uses of Shape2D in math.geom2d.line |
|---|
| Classes in math.geom2d.line that implement Shape2D | |
|---|---|
class |
ClosedPolyline2D
Extends Polyline2D, by considering the last point is connected to the first one. |
class |
LineArc2D
LineArc2D is a generic class to represent edges, straight lines, and rays. |
class |
LineObject2D
Straight Object defined from 2 points. |
class |
LineSegment2D
Straight Edge defined by two points. |
class |
Polyline2D
A polyline is a continuous curve where each piece of the curve is a LineSegment2D. |
class |
Ray2D
Ray, or half-line, defined from an origin and a direction vector. |
class |
StraightLine2D
Representation of straigth lines. |
class |
StraightObject2D
Base class for straight curves, such as straight lines, rays, or edges. |
| Methods in math.geom2d.line that return Shape2D | |
|---|---|
Shape2D |
LineObject2D.getClippedShape(Box2D box)
|
| Uses of Shape2D in math.geom2d.polygon |
|---|
| Subinterfaces of Shape2D in math.geom2d.polygon | |
|---|---|
interface |
PolygonalShape2D
Represent any class made of a finite set of simply connected edges. |
| Classes in math.geom2d.polygon that implement Shape2D | |
|---|---|
class |
HalfPlane2D
a Half-plane, delimited by a straight line. |
class |
HRectangle2D
HRectangle2D defines a rectangle with edges parallel to main axis. |
class |
MultiPolygon2D
A polygonal domain whose boundary is composed of several disjoint continuous ClosedPolyline2D. |
class |
Polygon2D
Represent a polygonal domain whose boundary is a single closed polyline. |
class |
Rectangle2D
Rectangle2D defines a rectangle rotated around its first corner. |
| Methods in math.geom2d.polygon that return Shape2D | |
|---|---|
Shape2D |
Polygon2D.clip(Box2D box)
Return the shape formed by the polygon clipped by the given box. |
Shape2D |
HRectangle2D.clip(Box2D box)
Returns the clipping of the rectangle, as an instance of HRectangle2D. |
Shape2D |
HalfPlane2D.clip(Box2D box)
|
Shape2D |
Rectangle2D.clip(Box2D box)
Return the clipped polygon, as an instance of Polygon2D. |
Shape2D |
Polygon2D.getClippedShape(Box2D box)
Return the shape formed by the polygon clipped by the given box. |
Shape2D |
HRectangle2D.getClippedShape(Box2D box)
return the clipping of the rectangle, as an instance of HRectangle2D. |
Shape2D |
Rectangle2D.getClippedShape(Box2D box)
Return the clipped polygon, as an instance of Polygon2D. |
| Methods in math.geom2d.polygon with parameters of type Shape2D | |
|---|---|
boolean |
HRectangle2D.containsBounds(Shape2D shape)
Test if the specified Shape is totally contained in this Rectangle. |
boolean |
Rectangle2D.containsBounds(Shape2D shape)
Test if the specified Shape is totally contained in this Rectangle. |
| Uses of Shape2D in math.geom2d.spline |
|---|
| Classes in math.geom2d.spline that implement Shape2D | |
|---|---|
class |
BezierCurve2D
An extension of the Bezier curve provided in java.awt.geom, with support for SmoothCurve2D and OrientedCurve2D. |
class |
PolyBezierCurve2D
A set of bezier curves, making a continuous curve. |
| Methods in math.geom2d.spline that return Shape2D | |
|---|---|
Shape2D |
BezierCurve2D.getClippedShape(Box2D box)
|
| Uses of Shape2D in math.geom2d.transform |
|---|
| Methods in math.geom2d.transform that return Shape2D | |
|---|---|
Shape2D |
CircleInversion2D.transform(Shape2D shape)
Transforms a general shape, and return the transformed shape. |
| Methods in math.geom2d.transform with parameters of type Shape2D | |
|---|---|
Shape2D |
CircleInversion2D.transform(Shape2D shape)
Transforms a general shape, and return the transformed shape. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||