Package | Description |
---|---|
math.geom2d.circulinear |
Definition of circulinear shapes and some implementations.
|
math.geom2d.conic |
Definition of various conic curves like circles, ellipses, parabolas and
hyperbolas, and their resepctive arcs.
|
math.geom2d.curve |
Curves interface hierarchy, and implementations of curve sets and various poly-curves.
|
math.geom2d.domain |
Curves interface hierarchy, and implementations of curve sets and various poly-curves.
|
math.geom2d.line |
Implementations of 'linear shapes', i.e.
|
math.geom2d.polygon |
Definitions and implementations of shapes composed several line segments:
polylines, rings, polygons.
|
math.geom2d.spline |
Bezier curves, and more generally polynomial curves.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CircleLine2D
Tagging interface to be able to consider in a same way circles and lines.
|
interface |
CirculinearBoundary2D
A Boundary which is composed of Circulinear elements.
|
interface |
CirculinearContinuousCurve2D
A tagging interface defining a circulinear curve which is continuous.
|
interface |
CirculinearContour2D
Tagging interface to gather Continuous and boundary circulinear curves.
|
interface |
CirculinearCurve2D
Circulinear curve are composed of linear and/or circular elements.
|
interface |
CirculinearElement2D
Circulinear elements are lowest level of circulinear curve: each
circulinear curve can be divided into a set of circulinear elements.
|
interface |
CirculinearRing2D
Future interface for circulinear boundary curves which are both bounded
and closed.
|
interface |
ContinuousCirculinearCurve2D
Deprecated.
replaced by CirculinearContinuousCurve2D
|
Modifier and Type | Class and Description |
---|---|
class |
BoundaryPolyCirculinearCurve2D<T extends CirculinearContinuousCurve2D>
A continuous boundary which is composed of several continuous circulinear
curves.
|
class |
CirculinearBoundarySet2D<T extends CirculinearContour2D>
A circulinear boundary which is composed of several CirculinearRing2D.
|
class |
CirculinearCurveSet2D<T extends CirculinearCurve2D>
An specialisation of CurveSet2D that accepts only instances of
CirculinearCurve2D.
|
class |
GenericCirculinearRing2D
A basic implementation of a CirculinearRing2D, which is supposed to be
always bounded and closed.
|
class |
PolyCirculinearCurve2D<T extends CirculinearContinuousCurve2D>
A continuous curve which is composed of several continuous circulinear
curves.
|
Modifier and Type | Method and Description |
---|---|
Curve2D |
ContinuousCirculinearCurve2D.getParallel(double d)
Deprecated.
|
Curve2D |
CirculinearElement2D.getParallel(double d) |
Curve2D |
CirculinearCurve2D.getParallel(double d)
Creates a new curve, formed by the points with parameterization:
p(t) = c(t) + d*n(t)/|n(t)| , with p(t) being a point of
the original curve, n(t) the normal of the curve, and |n| being the
norm of n.In the case of a continuous curve formed by several smooth circulinear elements, the parallels of contiguous elements are joined by a circle arc. |
Curve2D |
CirculinearContinuousCurve2D.getParallel(double d) |
Curve2D |
ContinuousCirculinearCurve2D.getReverseCurve()
Deprecated.
|
Curve2D |
CirculinearElement2D.getReverseCurve() |
Curve2D |
CirculinearCurve2D.getReverseCurve() |
Curve2D |
CirculinearContinuousCurve2D.getReverseCurve() |
Curve2D |
ContinuousCirculinearCurve2D.getSubCurve(double t0,
double t1)
Deprecated.
|
Curve2D |
CirculinearElement2D.getSubCurve(double t0,
double t1) |
Curve2D |
CirculinearCurve2D.getSubCurve(double t0,
double t1) |
Curve2D |
CirculinearContinuousCurve2D.getSubCurve(double t0,
double t1) |
Curve2D |
ContinuousCirculinearCurve2D.transform(CircleInversion2D inv)
Deprecated.
|
Curve2D |
CirculinearElement2D.transform(CircleInversion2D inv) |
Curve2D |
CirculinearCurve2D.transform(CircleInversion2D inv) |
Curve2D |
CirculinearContinuousCurve2D.transform(CircleInversion2D inv) |
Modifier and Type | Method and Description |
---|---|
static CirculinearCurve2D |
CirculinearCurve2DUtils.convert(Curve2D curve)
Converts a curve to a circulinear curve, by concatenating all elements
of the curve to the appropriate circulinear curve type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CircularShape2D
Tagging interface for grouping Circle2D and CircleArc2D.
|
interface |
Conic2D
Interface for all conic curves: parametric conics, or ellipses, parabolas,
and hyperbolas.
|
Modifier and Type | Class and Description |
---|---|
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 |
Ellipse2D
An ellipse in the plane.
|
class |
EllipseArc2D
An arc of ellipse.
|
class |
Hyperbola2D
An Hyperbola, which is represented as a curve set of two boundary curves
which are instances of HyperbolaBranch2D.
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
CurveArray2D<T extends Curve2D>
A parameterized set of curves.
|
class |
CurveSet2D<T extends Curve2D>
A parameterized set of curves.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ContinuousCurve2D
Interface for all curves which can be drawn with one stroke.
|
interface |
SmoothCurve2D
Interface for smooth and continuous curves.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractContinuousCurve2D
Provides a base implementation for smooth curves.
|
class |
AbstractSmoothCurve2D
Provides a base implementation for smooth curves.
|
class |
CurveArray2D<T extends Curve2D>
A parameterized set of curves.
|
class |
CurveSet2D<T extends Curve2D>
A parameterized set of curves.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Curve2D |
Curve2D.clone()
Overrides Object declaration to ensure Curve2D implementation are
cloned as Curve2D.
|
Curve2D |
SmoothCurve2D.getReverseCurve() |
Curve2D |
CurveSet2D.getReverseCurve() |
Curve2D |
CurveArray2D.getReverseCurve() |
Curve2D |
Curve2D.getReverseCurve()
Returns the curve with same trace on the plane with parametrization in
reverse order.
|
Curve2D |
ContinuousCurve2D.getReverseCurve() |
Curve2D |
SmoothCurve2D.getSubCurve(double t0,
double t1) |
Curve2D |
Curve2D.getSubCurve(double t0,
double t1)
Returns a portion of the original curve, delimited by two positions on
the curve.
|
Curve2D |
ContinuousCurve2D.getSubCurve(double t0,
double t1) |
Curve2D |
SmoothCurve2D.transform(AffineTransform2D trans) |
Curve2D |
Curve2D.transform(AffineTransform2D trans)
Transforms the curve by an affine transform.
|
Curve2D |
ContinuousCurve2D.transform(AffineTransform2D trans) |
Modifier and Type | Method and Description |
---|---|
CurveSet2D<? extends Curve2D> |
CurveSet2D.clip(Box2D box)
Clips a curve, and return a CurveSet2D.
|
CurveSet2D<? extends Curve2D> |
CurveArray2D.clip(Box2D box)
Clips a curve, and return a CurveArray2D.
|
CurveSet2D<? extends Curve2D> |
Curve2D.clip(Box2D box)
When a curve is clipped, the result is a set of curves.
|
static CurveSet2D<? extends Curve2D> |
Curve2DUtils.clipCurve(Curve2D curve,
Box2D box)
Clip a curve, and return a CurveSet2D.
|
static CurveSet2D<? extends Curve2D> |
Curve2DUtils.clipCurveSet(CurveSet2D<?> curveSet,
Box2D box)
clip a CurveSet2D.
|
CurveSet2D<? extends Curve2D> |
CurveSet2D.clone() |
CurveArray2D<? extends Curve2D> |
CurveArray2D.clone() |
CurveSet2D<? extends Curve2D> |
CurveSet2D.getSubCurve(double t0,
double t1)
Return an instance of CurveSet2D.
|
CurveSet2D<? extends Curve2D> |
CurveArray2D.getSubCurve(double t0,
double t1)
Return an instance of CurveArray2D.
|
CurveSet2D<? extends Curve2D> |
CurveSet2D.transform(AffineTransform2D trans)
Transforms each curve, and build a new CurveSet2D with the set of
transformed curves.
|
CurveArray2D<? extends Curve2D> |
CurveArray2D.transform(AffineTransform2D trans)
Transforms each curve, and build a new CurveArray2D with the set of
transformed curves.
|
Modifier and Type | Method and Description |
---|---|
static CurveSet2D<? extends Curve2D> |
Curve2DUtils.clipCurve(Curve2D curve,
Box2D box)
Clip a curve, and return a CurveSet2D.
|
boolean |
CurveArray2D.containsCurve(Curve2D curve)
Checks if the curve set contains the given curve.
|
static boolean |
Curve2DUtils.isLeftInfinite(Curve2D curve) |
static boolean |
Curve2DUtils.isRightInfinite(Curve2D curve) |
Constructor and Description |
---|
CurveArray2D(T[] curves)
Constructor from an array of curves.
|
CurveSet2D(T[] curves)
Deprecated.
use CurveArray2D instead
|
Modifier and Type | Interface and Description |
---|---|
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
connected planar domain.
|
interface |
ContinuousOrientedCurve2D
Defines a part of the boundary of a planar domain.
|
interface |
OrientedCurve2D
An OrientedCurve2D defines an 'inside' and an 'outside'.
|
interface |
SmoothBoundary2D
Tagging interface to represent in unified way smooth curves which are
boundaries.
|
interface |
SmoothOrientedCurve2D
Interface for smooth and oriented curves.
|
Modifier and Type | Class and Description |
---|---|
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
Curve2D |
SmoothOrientedCurve2D.getReverseCurve() |
Curve2D |
OrientedCurve2D.getReverseCurve() |
Curve2D |
ContinuousOrientedCurve2D.getReverseCurve() |
Curve2D |
Boundary2D.getReverseCurve()
Forces the subclasses to return an instance of Boundary2D.
|
Curve2D |
SmoothOrientedCurve2D.getSubCurve(double t0,
double t1) |
Curve2D |
ContinuousOrientedCurve2D.getSubCurve(double t0,
double t1) |
Curve2D |
SmoothOrientedCurve2D.transform(AffineTransform2D trans) |
Curve2D |
OrientedCurve2D.transform(AffineTransform2D trans) |
Curve2D |
ContinuousOrientedCurve2D.transform(AffineTransform2D trans) |
Curve2D |
Boundary2D.transform(AffineTransform2D trans)
Forces the subclasses to return an instance of Boundary2D.
|
Modifier and Type | Interface and Description |
---|---|
interface |
LinearShape2D
A curve that can be inscribed in a straight line, line a ray, a straight
line, or a line segment.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLine2D
Base class for straight curves, such as straight lines, rays, or edges.
|
class |
ClosedPolyline2D
Deprecated.
use math.geom2d.polygon.Ring2D instead (0.7.0)
|
class |
InvertedRay2D
Inverted ray is defined from an origin and a direction vector.
|
class |
Line2D
Line object defined from 2 points.
|
class |
LineArc2D
LineArc2D is a generic class to represent edges, straight lines, and rays.
|
class |
LineObject2D
Deprecated.
use Line2D instead
|
class |
LineSegment2D
Line segment, defined as the set of points located between the two end
points.
|
class |
Ray2D
Ray, or half-line, defined from an origin and a direction vector.
|
class |
StraightLine2D
Implementation of a straight line.
|
Modifier and Type | Class and Description |
---|---|
class |
LinearRing2D
A LinearRing2D is a Polyline2D whose last point is connected to the first one.
|
class |
Polyline2D
A polyline is a continuous curve where each piece of the curve is a
LineSegment2D.
|
class |
Ring2D
Deprecated.
replaced by LinearRing2D (0.8.0)
|
Modifier and Type | Class and Description |
---|---|
class |
BezierCurve2D
Deprecated.
replaced by CubicBezierCurve2D (0.7.1)
|
class |
CubicBezierCurve2D
A cubic bezier curve, defined by 4 points.
|
class |
PolyBezierCurve2D
Deprecated.
use PolyCubicBezierCurve2D instead
|
class |
PolyCubicBezierCurve2D
A set of Bezier curves, making a continuous curve.
|
class |
QuadBezier2D
Deprecated.
replaced by QuadBezierCurve2D (0.7.1)
|
class |
QuadBezierCurve2D
A quadratic bezier curve, defined by 3 points.
|
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.