|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Point2D | |
|---|---|
| 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 Point2D in math.geom2d |
|---|
| Fields in math.geom2d declared as Point2D | |
|---|---|
static Point2D |
Point2D.INFINITY_POINT
The point located at the infinity. |
| Fields in math.geom2d with type parameters of type Point2D | |
|---|---|
protected java.util.Collection<Point2D> |
PointSet2D.points
|
| Methods in math.geom2d that return Point2D | |
|---|---|
static Point2D |
Point2D.centroid(java.util.Collection<? extends Point2D> points)
Computes the centroid, or center of mass, of a collection of points. |
static Point2D |
Point2D.centroid(java.awt.geom.Point2D[] points)
Computes the centroid, or center of mass, of an array of points. |
static Point2D |
Point2D.centroid(java.awt.geom.Point2D pt1,
java.awt.geom.Point2D pt2,
java.awt.geom.Point2D pt3)
Compute the centroid of three points. |
static Point2D |
Point2D.createPolar(double rho,
double theta)
create a new point from polar coordinates rho and
theta. |
static Point2D |
Point2D.createPolar(double x0,
double y0,
double rho,
double theta)
create a new point from polar coordinates rho and
theta, from the position (x0,y0). |
static Point2D |
Point2D.createPolar(Point2D point,
double rho,
double theta)
create a new point from polar coordinates rho and
theta, from the given point. |
static Point2D |
Point2D.midPoint(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2)
|
Point2D |
Point2D.minus(java.awt.geom.Point2D p)
|
Point2D |
Point2D.plus(java.awt.geom.Point2D p)
|
Point2D |
Point2D.transform(AffineTransform2D trans)
|
| Methods in math.geom2d that return types with arguments of type Point2D | |
|---|---|
java.util.Iterator<Point2D> |
PointSet2D.getPoints()
return an iterator on the internal point collection. |
java.util.Collection<Point2D> |
Box2D.getVertices()
|
java.util.Iterator<Point2D> |
PointSet2D.iterator()
|
| Methods in math.geom2d with parameters of type Point2D | |
|---|---|
static Point2D |
Point2D.createPolar(Point2D point,
double rho,
double theta)
create a new point from polar coordinates rho and
theta, from the given point. |
| Method parameters in math.geom2d with type arguments of type Point2D | |
|---|---|
void |
PointSet2D.addPoints(java.util.Collection<Point2D> points)
|
static Point2D |
Point2D.centroid(java.util.Collection<? extends Point2D> points)
Computes the centroid, or center of mass, of a collection of points. |
| Constructors in math.geom2d with parameters of type Point2D | |
|---|---|
Box2D(Point2D point,
double w,
double h)
Constructor from a point, a width and an height |
|
Box2D(Point2D p1,
Point2D p2)
Constructor from 2 points, giving extreme coordinates of the box. |
|
| Uses of Point2D in math.geom2d.conic |
|---|
| Methods in math.geom2d.conic that return Point2D | |
|---|---|
Point2D |
CircleArc2D.getCenter()
Deprecated. should access center from supporting circle |
Point2D |
Ellipse2D.getCenter()
return center of ellipse. |
Point2D |
Hyperbola2D.getCenter()
|
Point2D |
Parabola2D.getCenter()
|
Point2D |
CircleArc2D.getFirstPoint()
Get the first point of the curve. |
Point2D |
Circle2D.getFirstPoint()
Get the first point of the circle, which is the same as the last point. |
Point2D |
ParabolaArc2D.getFirstPoint()
return the first point of the parabola arc. |
Point2D |
Ellipse2D.getFirstPoint()
Get the first point of the ellipse, which is the same as the last point. |
Point2D |
ParametricConic2D.getFirstPoint()
|
Point2D |
HyperbolaBranchArc2D.getFirstPoint()
|
Point2D |
HyperbolaBranch2D.getFirstPoint()
|
Point2D |
EllipseArc2D.getFirstPoint()
Get the first point of the curve. |
Point2D |
Parabola2D.getFirstPoint()
return the constant Point2D.INFINITY_POINT. |
Point2D |
Parabola2D.getFocus()
|
Point2D |
Circle2D.getFocus1()
Return the first focus, whihc for a circle is the same point as the center. |
Point2D |
Ellipse2D.getFocus1()
Return the first focus. |
Point2D |
Hyperbola2D.getFocus1()
|
Point2D |
Parabola2D.getFocus1()
|
Point2D |
Circle2D.getFocus2()
Return the second focus, which for a circle is the same point as the center. |
Point2D |
Ellipse2D.getFocus2()
Return the second focus. |
Point2D |
Hyperbola2D.getFocus2()
|
Point2D |
Parabola2D.getFocus2()
Always return Point2D.INFINITY_POINT. |
Point2D |
CircleArc2D.getLastPoint()
Get the last point of the curve. |
Point2D |
Circle2D.getLastPoint()
Get the last point of the circle, which is the same as the first point. |
Point2D |
ParabolaArc2D.getLastPoint()
return the last point of the parabola arc. |
Point2D |
Ellipse2D.getLastPoint()
Get the last point of the ellipse, which is the same as the first point. |
Point2D |
ParametricConic2D.getLastPoint()
|
Point2D |
HyperbolaBranchArc2D.getLastPoint()
|
Point2D |
HyperbolaBranch2D.getLastPoint()
|
Point2D |
EllipseArc2D.getLastPoint()
Get the last point of the curve. |
Point2D |
Parabola2D.getLastPoint()
return the constant Point2D.INFINITY_POINT. |
Point2D |
CircleArc2D.getPoint(double t)
Returns the position of a point form the curvilinear position. |
Point2D |
Circle2D.getPoint(double t)
Get the position of the curve from internal parametric representation, depending on the parameter t. |
Point2D |
ParabolaArc2D.getPoint(double t)
|
Point2D |
Ellipse2D.getPoint(double t)
get the position of the curve from internal parametric representation, depending on the parameter t. |
Point2D |
ParametricConic2D.getPoint(double t)
|
Point2D |
HyperbolaBranchArc2D.getPoint(double t)
|
Point2D |
HyperbolaBranch2D.getPoint(double t)
|
Point2D |
EllipseArc2D.getPoint(double t)
|
Point2D |
Parabola2D.getPoint(double t)
|
Point2D |
CircleArc2D.getPoint(double t,
Point2D point)
|
Point2D |
Circle2D.getPoint(double t,
Point2D point)
Get the position of the curve from internal parametric representation, depending on the parameter t. |
Point2D |
ParabolaArc2D.getPoint(double t,
Point2D point)
|
Point2D |
Ellipse2D.getPoint(double t,
Point2D point)
|
Point2D |
ParametricConic2D.getPoint(double t,
Point2D point)
|
Point2D |
HyperbolaBranchArc2D.getPoint(double t,
Point2D point)
|
Point2D |
HyperbolaBranch2D.getPoint(double t,
Point2D point)
|
Point2D |
EllipseArc2D.getPoint(double t,
Point2D point)
|
Point2D |
Parabola2D.getPoint(double t,
Point2D point)
|
Point2D |
Ellipse2D.getProjectedPoint(java.awt.geom.Point2D point)
|
Point2D |
Hyperbola2D.toGlobal(Point2D point)
transform a point in local coordinate (ie orthogonal centered hyberbola with a=b=1) to global coordinate system. |
Point2D |
Hyperbola2D.toLocal(Point2D point)
|
| Methods in math.geom2d.conic that return types with arguments of type Point2D | |
|---|---|
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)
|
| Methods in math.geom2d.conic with parameters of type Point2D | |
|---|---|
Point2D |
CircleArc2D.getPoint(double t,
Point2D point)
|
Point2D |
Circle2D.getPoint(double t,
Point2D point)
Get the position of the curve from internal parametric representation, depending on the parameter t. |
Point2D |
ParabolaArc2D.getPoint(double t,
Point2D point)
|
Point2D |
Ellipse2D.getPoint(double t,
Point2D point)
|
Point2D |
ParametricConic2D.getPoint(double t,
Point2D point)
|
Point2D |
HyperbolaBranchArc2D.getPoint(double t,
Point2D point)
|
Point2D |
HyperbolaBranch2D.getPoint(double t,
Point2D point)
|
Point2D |
EllipseArc2D.getPoint(double t,
Point2D point)
|
Point2D |
Parabola2D.getPoint(double t,
Point2D point)
|
double |
CircleArc2D.getPosition(Point2D point)
return relative position between 0 and the angle extent. |
double |
Circle2D.getPosition(Point2D point)
|
double |
ParabolaArc2D.getPosition(Point2D point)
|
double |
Ellipse2D.getPosition(Point2D point)
|
double |
ParametricConic2D.getPosition(Point2D point)
|
double |
HyperbolaBranchArc2D.getPosition(Point2D point)
|
double |
HyperbolaBranch2D.getPosition(Point2D point)
|
double |
EllipseArc2D.getPosition(Point2D point)
|
double |
Parabola2D.getPosition(Point2D point)
Returns position of point on the parabola. |
double |
ParabolaArc2D.project(Point2D point)
|
double |
Ellipse2D.project(Point2D point)
|
double |
ParametricConic2D.project(Point2D point)
|
double |
HyperbolaBranchArc2D.project(Point2D point)
|
double |
HyperbolaBranch2D.project(Point2D point)
|
double |
EllipseArc2D.project(Point2D point)
|
double |
Parabola2D.project(Point2D point)
Returns position of point on the parabola. |
void |
CircleArc2D.setArc(Point2D center,
double radius,
double start,
double extent)
|
void |
CircleArc2D.setArc(Point2D center,
double radius,
double start,
double end,
boolean direct)
Deprecated. |
void |
CircleArc2D.setCenter(Point2D point)
Change the center of the support circle. |
void |
Ellipse2D.setCenter(Point2D center)
|
void |
Circle2D.setCircle(Point2D center,
double r)
|
void |
Ellipse2D.setEllipse(Point2D center,
double r1,
double r2,
double theta)
|
void |
Ellipse2D.setEllipse(Point2D center,
double r1,
double r2,
double theta,
boolean direct)
|
Point2D |
Hyperbola2D.toGlobal(Point2D point)
transform a point in local coordinate (ie orthogonal centered hyberbola with a=b=1) to global coordinate system. |
Point2D |
Hyperbola2D.toLocal(Point2D point)
|
| Constructors in math.geom2d.conic with parameters of type Point2D | |
|---|---|
Circle2D(Point2D center,
double radius)
Create a new circle with specified point center and radius |
|
CircleArc2D(Circle2D circle,
Point2D startPoint,
Point2D endPoint)
create a new circle arc based on an already existing circle, and two points giving angles of arc, assuming arc is direct. |
|
CircleArc2D(Circle2D circle,
Point2D startPoint,
Point2D endPoint,
boolean direct)
Deprecated. as this is a too much specific function. |
|
CircleArc2D(Point2D center,
double radius,
double startAngle,
double angleExtent)
Create a new circle arc with specified point center and radius |
|
CircleArc2D(Point2D center,
double radius,
double start,
double end,
boolean direct)
Create a new circle arc with specified point center and radius, start and end angles, and by specifying whether arc is direct or not. |
|
Disc2D(Point2D p,
double r)
|
|
Ellipse2D(Point2D center,
double l1,
double l2)
Main constructor: define center by a point plus major and minor smei axis |
|
Ellipse2D(Point2D center,
double l1,
double l2,
double theta)
Define center by point, major and minor semi axis lengths, and orientation angle. |
|
Hyperbola2D(Point2D center,
double a,
double b,
double theta,
boolean d)
|
|
Parabola2D(Point2D vertex,
double a,
double theta)
|
|
| Uses of Point2D in math.geom2d.curve |
|---|
| Methods in math.geom2d.curve that return Point2D | |
|---|---|
Point2D |
GeneralPath2D.getCurrentPoint()
Returns the coordinates most recently added to the end of the path as a Point2D object. |
Point2D |
Curve2D.getFirstPoint()
Get the first point of the curve. |
Point2D |
CurveSet2D.getFirstPoint()
Get the first point of the curve. |
Point2D |
Curve2D.getLastPoint()
Get the last point of the curve. |
Point2D |
CurveSet2D.getLastPoint()
Get the last point of the curve. |
Point2D |
Curve2D.getPoint(double t)
Gets the point from a parametric representation of the curve. |
Point2D |
CurveSet2D.getPoint(double t)
|
Point2D |
Curve2D.getPoint(double t,
Point2D point)
Same as getPoint(t), but gives the point as a parameter. |
Point2D |
CurveSet2D.getPoint(double t,
Point2D point)
|
| Methods in math.geom2d.curve that return types with arguments of type Point2D | |
|---|---|
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)
|
| Methods in math.geom2d.curve with parameters of type Point2D | |
|---|---|
Point2D |
Curve2D.getPoint(double t,
Point2D point)
Same as getPoint(t), but gives the point as a parameter. |
Point2D |
CurveSet2D.getPoint(double t,
Point2D point)
|
double |
Curve2D.getPosition(Point2D point)
Get position of the point on the curve. |
double |
CurveSet2D.getPosition(Point2D point)
|
double |
Curve2D.project(Point2D point)
Returns the position of the closest orthogonal projection of the point on the curve, or of the closest singular point. |
double |
CurveSet2D.project(Point2D point)
|
| Uses of Point2D in math.geom2d.line |
|---|
| Fields in math.geom2d.line with type parameters of type Point2D | |
|---|---|
protected java.util.ArrayList<Point2D> |
Polyline2D.points
|
| Methods in math.geom2d.line that return Point2D | |
|---|---|
Point2D |
Polyline2D.getFirstPoint()
|
Point2D |
LineObject2D.getFirstPoint()
Get the first point of the curve. |
Point2D |
ClosedPolyline2D.getFirstPoint()
return the first point of the polyline. |
Point2D |
LineArc2D.getFirstPoint()
Return the first point of the edge. |
static Point2D |
StraightLine2D.getIntersection(java.awt.geom.Point2D p1,
java.awt.geom.Point2D p2,
java.awt.geom.Point2D p3,
java.awt.geom.Point2D p4)
Compute the intersection point of the two (infinite) lines going through p1 and p2 for the first one, and p3 and p4 for the second one. |
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. |
Point2D |
Polyline2D.getLastPoint()
if polyline is closed, return the first point. |
Point2D |
LineObject2D.getLastPoint()
Get the last point of the curve. |
Point2D |
ClosedPolyline2D.getLastPoint()
return the first point, as this is the same as the last point. |
Point2D |
LineArc2D.getLastPoint()
Return the last point of the edge. |
Point2D |
StraightObject2D.getOrigin()
|
Point2D |
LineObject2D.getOtherPoint(Point2D point)
Return the opposite vertex of the edge. |
Point2D |
LineSegment2D.getOtherPoint(Point2D point)
Return the opposite vertex of the edge. |
Point2D |
Polyline2D.getPoint(double t)
|
Point2D |
LineObject2D.getPoint(double t)
|
Point2D |
LineArc2D.getPoint(double t)
|
Point2D |
Polyline2D.getPoint(double t,
Point2D point)
|
Point2D |
LineObject2D.getPoint(double t,
Point2D point)
|
Point2D |
ClosedPolyline2D.getPoint(double t,
Point2D point)
return point from position as double. |
Point2D |
LineArc2D.getPoint(double t,
Point2D point)
|
Point2D |
LineObject2D.getPoint1()
Return the first point of the edge. |
Point2D |
LineArc2D.getPoint1()
Return the first point of the edge. |
Point2D |
LineObject2D.getPoint2()
Return the last point of the edge. |
Point2D |
LineArc2D.getPoint2()
Return the last point of the edge. |
Point2D[] |
Polyline2D.getPointArray()
Return the collection of points as an array of Point2D. |
Point2D |
LineObject2D.getProjectedPoint(double x,
double y)
|
Point2D |
StraightObject2D.getProjectedPoint(double x,
double y)
Return the projection of point p on the line. |
Point2D |
LineObject2D.getProjectedPoint(Point2D p)
|
Point2D |
StraightObject2D.getProjectedPoint(Point2D p)
Return the projection of point p on the line. |
Point2D |
StraightObject2D.getSymmetric(double x,
double y)
Return the symmetric of point with coordinate (x, y) relative to this straight line. |
Point2D |
StraightObject2D.getSymmetric(Point2D p)
Return the symmetric of point p relative to this straight line. |
| Methods in math.geom2d.line that return types with arguments of type Point2D | |
|---|---|
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. |
java.util.Collection<Point2D> |
Polyline2D.getPoints()
Return the inner collection of points. |
java.util.Iterator<Point2D> |
Polyline2D.getPointsIterator()
Return an iterator on the collection of points. |
| Methods in math.geom2d.line with parameters of type Point2D | |
|---|---|
void |
Polyline2D.addPoint(Point2D point)
|
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. |
double |
StraightObject2D.getDistance(Point2D p)
Get the distance of the StraightObject2d to the given point. |
Point2D |
LineObject2D.getOtherPoint(Point2D point)
Return the opposite vertex of the edge. |
Point2D |
LineSegment2D.getOtherPoint(Point2D point)
Return the opposite vertex of the edge. |
StraightLine2D |
LineObject2D.getParallel(Point2D point)
Create a straight line parallel to this object, and going through the given point. |
StraightLine2D |
StraightObject2D.getParallel(Point2D point)
Create a straight line parallel to this object, and going through the given point. |
StraightLine2D |
LineObject2D.getPerpendicular(Point2D point)
Create a straight line perpendicular to this object, and going through the given point. |
StraightLine2D |
StraightLine2D.getPerpendicular(Point2D point)
Return a new Straight line, parallel to another straigth object (ray, straight line or edge), and going through the given point. |
StraightLine2D |
StraightObject2D.getPerpendicular(Point2D point)
Create a straight line perpendicular to this object, and going through the given point. |
Point2D |
Polyline2D.getPoint(double t,
Point2D point)
|
Point2D |
LineObject2D.getPoint(double t,
Point2D point)
|
Point2D |
ClosedPolyline2D.getPoint(double t,
Point2D point)
return point from position as double. |
Point2D |
LineArc2D.getPoint(double t,
Point2D point)
|
double |
Polyline2D.getPosition(Point2D point)
|
double |
LineObject2D.getPosition(Point2D point)
Gets position of the point on the line. |
double |
LineArc2D.getPosition(Point2D point)
Gets the position of the point on the line arc. |
double |
StraightObject2D.getPositionOnLine(Point2D point)
|
Point2D |
LineObject2D.getProjectedPoint(Point2D p)
|
Point2D |
StraightObject2D.getProjectedPoint(Point2D p)
Return the projection of point p on the line. |
Point2D |
StraightObject2D.getSymmetric(Point2D p)
Return the symmetric of point p relative to this straight line. |
boolean |
StraightObject2D.isInside(Point2D p)
return true if the given point lies to the left of the line when travelling along the line in the direcion given by its direction vector. |
boolean |
LineObject2D.isPositivelyOriented(Point2D point)
|
double |
Polyline2D.project(Point2D point)
|
double |
LineObject2D.project(Point2D point)
|
double |
LineArc2D.project(Point2D point)
Gets the position of the closest point on the line arc. |
void |
Polyline2D.removePoint(Point2D point)
|
void |
LineSegment2D.setLineSegment(Point2D p1,
Point2D p2)
|
void |
LineObject2D.setPoint1(Point2D point)
|
void |
LineObject2D.setPoint2(Point2D point)
|
void |
Ray2D.setRay(Point2D p1,
Point2D p2)
|
void |
Ray2D.setRay(Point2D point,
Vector2D vect)
|
| Constructors in math.geom2d.line with parameters of type Point2D | |
|---|---|
ClosedPolyline2D(Point2D initialPoint)
|
|
ClosedPolyline2D(Point2D[] points)
|
|
LineArc2D(Point2D point1,
Point2D point2,
double t0,
double t1)
|
|
LineObject2D(Point2D point1,
Point2D point2)
Define a new Edge with two extremities. |
|
Polyline2D(Point2D initialPoint)
|
|
Polyline2D(Point2D[] points)
|
|
Ray2D(Point2D point,
double angle)
Creates a new Ray2D, originating from point point<\code>, and going
in the direction specified by |
|
Ray2D(Point2D point,
double dx,
double dy)
Creates a new Ray2D, originating from point point<\code>, and going
in the direction defined by vector |
|
Ray2D(Point2D point1,
Point2D point2)
Creates a new Ray2D, originating from point1<\code>, and going in the
direction of |
|
Ray2D(Point2D point,
Vector2D vector)
Creates a new Ray2D, originating from point point<\code>, and going
in the direction specified by |
|
| Constructor parameters in math.geom2d.line with type arguments of type Point2D | |
|---|---|
ClosedPolyline2D(java.util.Collection<? extends Point2D> points)
|
|
Polyline2D(java.util.Collection<? extends Point2D> points)
|
|
| Uses of Point2D in math.geom2d.polygon |
|---|
| Fields in math.geom2d.polygon with type parameters of type Point2D | |
|---|---|
protected java.util.ArrayList<Point2D> |
Polygon2D.points
The inner ordered list of vertices. |
| Methods in math.geom2d.polygon that return Point2D | |
|---|---|
Point2D |
Polygon2D.getCentroid()
Computes the centroid (center of mass) of the polygon. |
| Methods in math.geom2d.polygon that return types with arguments of type Point2D | |
|---|---|
java.util.Iterator<Point2D> |
Polygon2D.getPoints()
Deprecated. use getVertices() instead. |
java.util.Iterator<Point2D> |
HRectangle2D.getPoints()
Deprecated. use getVertices() instead. |
java.util.Iterator<Point2D> |
Rectangle2D.getPoints()
Deprecated. use getVertices() method instead. |
java.util.Collection<Point2D> |
Polygon2D.getVertices()
Returns the points of the polygon. |
java.util.Collection<Point2D> |
PolygonalShape2D.getVertices()
Return the vertices (singular points) of the polygon |
java.util.Collection<Point2D> |
HRectangle2D.getVertices()
|
java.util.Collection<Point2D> |
MultiPolygon2D.getVertices()
|
java.util.Collection<Point2D> |
Rectangle2D.getVertices()
Returns the vertices of the rectangle as a collection of points. |
| Methods in math.geom2d.polygon with parameters of type Point2D | |
|---|---|
void |
Polygon2D.addPoint(Point2D point)
Add a point as the last vertex. |
void |
Polygon2D.removePoint(Point2D point)
Remove a vertex of the polygon. |
| Constructors in math.geom2d.polygon with parameters of type Point2D | |
|---|---|
HRectangle2D(Point2D point,
double w,
double h)
Main constructor |
|
Polygon2D(Point2D[] tab)
Constructor from an array of points |
|
Rectangle2D(Point2D point,
double w,
double h)
Main constructor |
|
Rectangle2D(Point2D point,
double w,
double h,
double theta)
Main constructor |
|
| Constructor parameters in math.geom2d.polygon with type arguments of type Point2D | |
|---|---|
Polygon2D(java.util.Collection<? extends Point2D> points)
|
|
| Uses of Point2D in math.geom2d.spline |
|---|
| Methods in math.geom2d.spline that return Point2D | |
|---|---|
Point2D |
BezierCurve2D.getFirstPoint()
Get the first point of the curve. |
Point2D |
BezierCurve2D.getLastPoint()
Get the last point of the curve. |
Point2D |
BezierCurve2D.getPoint(double t)
|
Point2D |
BezierCurve2D.getPoint(double t,
Point2D point)
|
| Methods in math.geom2d.spline that return types with arguments of type Point2D | |
|---|---|
java.util.Collection<Point2D> |
BezierCurve2D.getIntersections(StraightObject2D line)
Use approximation, by replacing Bezier curve with a polyline. |
| Methods in math.geom2d.spline with parameters of type Point2D | |
|---|---|
Point2D |
BezierCurve2D.getPoint(double t,
Point2D point)
|
double |
BezierCurve2D.getPosition(Point2D point)
Compute position by approximating cubic spline with a polyline. |
double |
BezierCurve2D.project(Point2D point)
Compute position by approximating cubic spline with a polyline. |
| Uses of Point2D in math.geom2d.transform |
|---|
| Methods in math.geom2d.transform that return Point2D | |
|---|---|
Point2D |
Rotation2D.getCenter()
|
Point2D |
LinearRotation2D.getCenter()
|
Point2D |
Transform2D.transform(java.awt.geom.Point2D src)
Transforms a point |
Point2D |
CircleInversion2D.transform(java.awt.geom.Point2D pt)
|
Point2D |
AbstractAffineTransform2D.transform(java.awt.geom.Point2D src)
|
Point2D[] |
Transform2D.transform(java.awt.geom.Point2D[] src,
Point2D[] dst)
Transforms an array of points, and returns the transformed points. |
Point2D[] |
CircleInversion2D.transform(java.awt.geom.Point2D[] src,
Point2D[] dst)
Transforms an array of points, and returns the transformed points. |
Point2D[] |
AbstractAffineTransform2D.transform(java.awt.geom.Point2D[] src,
Point2D[] dst)
|
Point2D[] |
GenericAffineTransform2D.transform(java.awt.geom.Point2D[] src,
Point2D[] dst)
|
Point2D |
Transform2D.transform(java.awt.geom.Point2D src,
Point2D dst)
Transforms a point, share memory |
Point2D |
CircleInversion2D.transform(java.awt.geom.Point2D pt,
Point2D dst)
|
Point2D |
AbstractAffineTransform2D.transform(java.awt.geom.Point2D src,
Point2D dst)
|
Point2D |
GenericAffineTransform2D.transform(java.awt.geom.Point2D src,
Point2D dst)
|
| Methods in math.geom2d.transform with parameters of type Point2D | |
|---|---|
static AffineTransform2D |
AbstractAffineTransform2D.createRotation(Point2D center,
double angle)
Return a rotation around the specified point, with angle in radians. |
static AffineTransform2D |
AbstractAffineTransform2D.createScaling(Point2D center,
double sx,
double sy)
Return a scaling by the given coefficients, centered on the given point. |
void |
Rotation2D.setCenter(Point2D point)
|
void |
LinearRotation2D.setCenter(Point2D point)
Overrides parent method to keep center to origin. |
Point2D[] |
Transform2D.transform(java.awt.geom.Point2D[] src,
Point2D[] dst)
Transforms an array of points, and returns the transformed points. |
Point2D[] |
CircleInversion2D.transform(java.awt.geom.Point2D[] src,
Point2D[] dst)
Transforms an array of points, and returns the transformed points. |
Point2D[] |
AbstractAffineTransform2D.transform(java.awt.geom.Point2D[] src,
Point2D[] dst)
|
Point2D[] |
GenericAffineTransform2D.transform(java.awt.geom.Point2D[] src,
Point2D[] dst)
|
Point2D |
Transform2D.transform(java.awt.geom.Point2D src,
Point2D dst)
Transforms a point, share memory |
Point2D |
CircleInversion2D.transform(java.awt.geom.Point2D pt,
Point2D dst)
|
Point2D |
AbstractAffineTransform2D.transform(java.awt.geom.Point2D src,
Point2D dst)
|
Point2D |
GenericAffineTransform2D.transform(java.awt.geom.Point2D src,
Point2D dst)
|
| Constructors in math.geom2d.transform with parameters of type Point2D | |
|---|---|
PointSymmetry2D(Point2D point)
|
|
Rotation2D(Point2D center,
double theta)
|
|
Scaling2D(Point2D origin,
double sx,
double sy)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||