|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LinearShape2D | |
---|---|
math.geom2d | Planar geometry toolbox. |
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.line |
Implementations of 'linear shapes', i.e. curves which can be embedded into a
straight lines, like straight lines ,
line segments , or rays . |
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. |
Uses of LinearShape2D in math.geom2d |
---|
Methods in math.geom2d that return types with arguments of type LinearShape2D | |
---|---|
Collection<LinearShape2D> |
Box2D.getEdges()
Returns the set of linear shapes that constitutes the boundary of this box. |
Methods in math.geom2d with parameters of type LinearShape2D | |
---|---|
static AffineTransform2D |
AffineTransform2D.createGlideReflection(LinearShape2D line,
double distance)
|
static AffineTransform2D |
AffineTransform2D.createLineReflection(LinearShape2D line)
|
static double |
Angle2D.getAngle(LinearShape2D obj1,
LinearShape2D obj2)
Gets angle between two (directed) straight objects. |
static double |
Angle2D.getHorizontalAngle(LinearShape2D object)
Returns the horizontal angle formed by the line joining the two given points. |
Uses of LinearShape2D in math.geom2d.conic |
---|
Methods in math.geom2d.conic with parameters of type LinearShape2D | |
---|---|
static Collection<Point2D> |
Circle2D.getIntersections(CircularShape2D circle,
LinearShape2D line)
Compute intersections of a circle with a line. |
Collection<Point2D> |
ParabolaArc2D.getIntersections(LinearShape2D line)
|
Collection<Point2D> |
Parabola2D.getIntersections(LinearShape2D line)
|
Collection<Point2D> |
HyperbolaBranchArc2D.getIntersections(LinearShape2D line)
|
Collection<Point2D> |
HyperbolaBranch2D.getIntersections(LinearShape2D line)
|
Collection<Point2D> |
Hyperbola2D.getIntersections(LinearShape2D line)
|
Collection<Point2D> |
EllipseArc2D.getIntersections(LinearShape2D line)
|
Collection<Point2D> |
Ellipse2D.getIntersections(LinearShape2D line)
Compute intersections of the ellipse with a straight object (line, line segment, ray...). |
Collection<Point2D> |
CircleArc2D.getIntersections(LinearShape2D line)
Compute intersections of the circle arc with a line. |
Collection<Point2D> |
Circle2D.getIntersections(LinearShape2D line)
Compute intersections of the circle with a line. |
Uses of LinearShape2D in math.geom2d.curve |
---|
Methods in math.geom2d.curve with parameters of type LinearShape2D | |
---|---|
Collection<Point2D> |
CurveSet2D.getIntersections(LinearShape2D line)
|
Collection<Point2D> |
CurveArray2D.getIntersections(LinearShape2D line)
|
Collection<Point2D> |
Curve2D.getIntersections(LinearShape2D line)
Returns the intersection points of the curve with the specified line. |
Uses of LinearShape2D in math.geom2d.line |
---|
Classes in math.geom2d.line that implement LinearShape2D | |
---|---|
class |
AbstractLine2D
Base class for straight curves, such as straight lines, rays, or edges. |
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. |
Methods in math.geom2d.line that return LinearShape2D | |
---|---|
LinearShape2D |
LinearShape2D.transform(AffineTransform2D trans)
|
Methods in math.geom2d.line with parameters of type LinearShape2D | |
---|---|
static StraightLine2D |
StraightLine2D.createOrthogonalLine2D(LinearShape2D linear,
Point2D point)
Deprecated. since 0.6.3, use createPerpendicular instead |
static StraightLine2D |
StraightLine2D.createParallel(LinearShape2D linear,
double d)
Return a new Straight line, parallel to another straight object (ray, straight line or edge), and going through the given point. |
static StraightLine2D |
StraightLine2D.createParallel(LinearShape2D line,
Point2D point)
Return a new Straight line, parallel to another straight object (ray, straight line or edge), and going through the given point. |
static StraightLine2D |
StraightLine2D.createParallelLine2D(LinearShape2D linear,
double d)
Deprecated. since 0.6.3, use createParallel() instead |
static StraightLine2D |
StraightLine2D.createParallelLine2D(LinearShape2D line,
Point2D point)
Deprecated. since 0.6.3, use createParallel() instead |
static StraightLine2D |
StraightLine2D.createPerpendicular(LinearShape2D linear,
Point2D point)
Return a new Straight line, perpendicular to a straight object (ray, straight line or edge), and going through the given point. |
Point2D |
LinearShape2D.getIntersection(LinearShape2D line)
Returns the unique intersection with a linear shape. |
Point2D |
Line2D.getIntersection(LinearShape2D line)
|
Point2D |
AbstractLine2D.getIntersection(LinearShape2D line)
Returns the unique intersection with a linear shape. |
Collection<Point2D> |
Line2D.getIntersections(LinearShape2D line)
|
Collection<Point2D> |
AbstractLine2D.getIntersections(LinearShape2D line)
|
boolean |
Line2D.isColinear(LinearShape2D line)
|
boolean |
AbstractLine2D.isColinear(LinearShape2D linear)
|
boolean |
Line2D.isParallel(LinearShape2D line)
Test if the this object is parallel to the given one. |
boolean |
AbstractLine2D.isParallel(LinearShape2D line)
Test if the this object is parallel to the given one. |
void |
StraightLine2D.setLine(LinearShape2D linear)
Deprecated. lines will become imutable in a future release |
Constructors in math.geom2d.line with parameters of type LinearShape2D | |
---|---|
AbstractLine2D(LinearShape2D line)
|
|
InvertedRay2D(LinearShape2D line)
Define a new Ray, with same characteristics as given object. |
|
LineArc2D(LinearShape2D line,
double t0,
double t1)
Construct a line arc contained in the same straight line as first argument, with bounds of arc given by t0 and t1 |
|
Ray2D(LinearShape2D line)
Define a new Ray, with same characteristics as given object. |
|
StraightLine2D(LinearShape2D line)
Define a new Straight line at the same position and with the same direction than an other straight object (line, edge or ray). |
|
StraightLine2D(LinearShape2D line,
Point2D point)
Define a new Straight line, parallel to another straigth object (ray, straight line or edge), and going through the given point. |
Uses of LinearShape2D in math.geom2d.polygon |
---|
Methods in math.geom2d.polygon with parameters of type LinearShape2D | |
---|---|
Collection<Point2D> |
Polyline2D.getIntersections(LinearShape2D line)
|
Uses of LinearShape2D in math.geom2d.spline |
---|
Methods in math.geom2d.spline with parameters of type LinearShape2D | |
---|---|
Collection<Point2D> |
QuadBezierCurve2D.getIntersections(LinearShape2D line)
Use approximation, by replacing Bezier curve with a polyline. |
Collection<Point2D> |
CubicBezierCurve2D.getIntersections(LinearShape2D line)
Use approximation, by replacing Bezier curve with a polyline. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |