|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use StraightObject2D | |
|---|---|
| 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 StraightObject2D in math.geom2d |
|---|
| Methods in math.geom2d with parameters of type StraightObject2D | |
|---|---|
static double |
Angle2D.getAngle(StraightObject2D obj1,
StraightObject2D obj2)
Gets angle between two (directed) straight objects. |
static double |
Angle2D.getHorizontalAngle(StraightObject2D object)
Returns the horizontal angle formed by the line joining the two given points. |
| Uses of StraightObject2D in math.geom2d.conic |
|---|
| Methods in math.geom2d.conic with parameters of type StraightObject2D | |
|---|---|
java.util.Collection<Point2D> |
CircleArc2D.getIntersections(StraightObject2D line)
Compute intersections of the circle arc with a line. |
java.util.Collection<Point2D> |
Circle2D.getIntersections(StraightObject2D line)
Compute intersections of the circle with a line. |
java.util.Collection<Point2D> |
ParabolaArc2D.getIntersections(StraightObject2D line)
|
java.util.Collection<Point2D> |
Ellipse2D.getIntersections(StraightObject2D line)
Compute intersections of the ellipse with a straight object (line, line segment, ray...). |
java.util.Collection<Point2D> |
ParametricConic2D.getIntersections(StraightObject2D line)
|
java.util.Collection<Point2D> |
Hyperbola2D.getIntersections(StraightObject2D line)
|
java.util.Collection<Point2D> |
HyperbolaBranchArc2D.getIntersections(StraightObject2D line)
|
java.util.Collection<Point2D> |
HyperbolaBranch2D.getIntersections(StraightObject2D line)
|
java.util.Collection<Point2D> |
EllipseArc2D.getIntersections(StraightObject2D line)
|
java.util.Collection<Point2D> |
Parabola2D.getIntersections(StraightObject2D line)
|
| Uses of StraightObject2D in math.geom2d.curve |
|---|
| Methods in math.geom2d.curve with parameters of type StraightObject2D | |
|---|---|
java.util.Collection<Point2D> |
Curve2D.getIntersections(StraightObject2D line)
Returns the intersection points of the curve with the specified line. |
java.util.Collection<Point2D> |
CurveSet2D.getIntersections(StraightObject2D line)
|
| Uses of StraightObject2D in math.geom2d.line |
|---|
| Subclasses of StraightObject2D in math.geom2d.line | |
|---|---|
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 |
Ray2D
Ray, or half-line, defined from an origin and a direction vector. |
class |
StraightLine2D
Representation of straigth lines. |
| Methods in math.geom2d.line that return StraightObject2D | |
|---|---|
abstract StraightObject2D |
StraightObject2D.transform(AffineTransform2D transform)
|
| Methods in math.geom2d.line with parameters of type StraightObject2D | |
|---|---|
static StraightLine2D |
StraightLine2D.createOrthogonalLine2D(StraightObject2D line,
Point2D point)
Return a new Straight line, parallel to another straigth object (ray, straight line or edge), and going through the given point. |
static StraightLine2D |
StraightLine2D.createParallelLine2D(StraightObject2D line,
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.createParallelLine2D(StraightObject2D line,
java.awt.geom.Point2D point)
Return a new Straight line, parallel to another straight object (ray, straight line or edge), and going through the given point. |
Point2D |
StraightObject2D.getIntersection(StraightObject2D line)
Returns the unique intersection with a straight object. |
static Point2D |
StraightObject2D.getIntersection(StraightObject2D l1,
StraightObject2D l2)
Returns the unique intersection of two straight objects. |
java.util.Collection<Point2D> |
Polyline2D.getIntersections(StraightObject2D line)
|
java.util.Collection<Point2D> |
StraightObject2D.getIntersections(StraightObject2D line)
Return the intersection points of the curve with the specified line. |
boolean |
LineObject2D.isColinear(StraightObject2D line)
|
boolean |
StraightObject2D.isColinear(StraightObject2D line)
|
static boolean |
StraightObject2D.isColinear(StraightObject2D line1,
StraightObject2D line2)
Test if the two linear objects are located on the same straight line. |
boolean |
LineObject2D.isParallel(StraightObject2D line)
Test if the this object is parallel to the given one. |
boolean |
StraightObject2D.isParallel(StraightObject2D line)
Test if the this object is parallel to the given one. |
static boolean |
StraightObject2D.isParallel(StraightObject2D line1,
StraightObject2D line2)
Test if the two linear objects are parallel. |
| Constructors in math.geom2d.line with parameters of type StraightObject2D | |
|---|---|
LineArc2D(StraightObject2D 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(StraightObject2D line)
Define a new Ray, with same characteristics as given object. |
|
StraightLine2D(StraightObject2D obj)
Define a new Straight line at the same position and with the same direction than an other straight object (line, edge or ray). |
|
StraightLine2D(StraightObject2D line,
java.awt.geom.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 StraightObject2D in math.geom2d.polygon |
|---|
| Constructors in math.geom2d.polygon with parameters of type StraightObject2D | |
|---|---|
HalfPlane2D(StraightObject2D line)
Main constructor |
|
| Uses of StraightObject2D in math.geom2d.spline |
|---|
| Methods in math.geom2d.spline with parameters of type StraightObject2D | |
|---|---|
java.util.Collection<Point2D> |
BezierCurve2D.getIntersections(StraightObject2D line)
Use approximation, by replacing Bezier curve with a polyline. |
| Uses of StraightObject2D in math.geom2d.transform |
|---|
| Constructors in math.geom2d.transform with parameters of type StraightObject2D | |
|---|---|
GlideReflection2D(StraightObject2D line,
double distance)
|
|
LineReflection2D(StraightObject2D line)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||