| Package | Description |
|---|---|
| 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. |
| Modifier and Type | Class and Description |
|---|---|
class |
InvertedRay2D
Deprecated.
Can be represented by Ray2D with different parameters.
|
class |
LineArc2D
Deprecated.
Can be represented by LineSegment2D or Ray2D or StraightLine2D.
|
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 | Method and Description |
|---|---|
abstract AbstractLine2D |
AbstractLine2D.clone()
Ensures public declaration of clone(), and ensures valid return type.
|
AbstractLine2D |
AbstractLine2D.getSubCurve(double t0,
double t1)
Returns a new AbstractLine2D, which is the portion of this AbstractLine2D
delimited by parameters t0 and t1.
|
abstract AbstractLine2D |
AbstractLine2D.transform(AffineTransform2D transform) |
| Modifier and Type | Method and Description |
|---|---|
CurveSet2D<? extends AbstractLine2D> |
AbstractLine2D.clip(Box2D box) |
Collection<? extends AbstractLine2D> |
AbstractLine2D.getContinuousCurves() |
Collection<? extends AbstractLine2D> |
AbstractLine2D.getSmoothPieces()
Return the intersection points of the curve with the specified line.
|
| Modifier and Type | Method and Description |
|---|---|
static Point2D |
AbstractLine2D.getIntersection(AbstractLine2D l1,
AbstractLine2D l2)
Deprecated.
This method act as if the line was
StraightLine2D and may return invalid intersection. |
static boolean |
AbstractLine2D.isColinear(AbstractLine2D line1,
AbstractLine2D line2)
Test if the two linear objects are located on the same straight line.
|
static boolean |
AbstractLine2D.isParallel(AbstractLine2D line1,
AbstractLine2D line2)
Test if the two linear objects are parallel.
|
Copyright © 2019 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.