# Uses of Class
org.eclipse.gef.geometry.planar.Point

Packages that use Point
Package
Description
org.eclipse.gef.geometry.convert.fx
This package contains helper classes to transfer data from JavaFX/Geometry to one another.
org.eclipse.gef.geometry.convert.swt
This package provides support for converting geometric objects to SWT and for conversion between SWT and AWT.
org.eclipse.gef.geometry.euclidean
This package provides core abstractions to support calculations within 2-dimensional Euclidean space.
org.eclipse.gef.geometry.internal.utils
This package provides utility classes being used internally for geometric calculations.
org.eclipse.gef.geometry.planar
This package provides support for geometric calculations based on shapes.
org.eclipse.gef.geometry.projective
This package provides core abstractions to support calculations within 2-dimensional projective vector space.

## Uses of Point in org.eclipse.gef.geometry.convert.fx

Methods in org.eclipse.gef.geometry.convert.fx that return Point
Modifier and Type
Method
Description
`static final Point`
FX2Geometry.`toPoint(javafx.geometry.Point2D point)`
Converts the given JavaFX `Point2D` to a `Point`.
Methods in org.eclipse.gef.geometry.convert.fx with parameters of type Point
Modifier and Type
Method
Description
`static final javafx.geometry.Point2D`
Geometry2FX.`toFXPoint(Point p)`
Converts the given `Point` to a JavaFX `Point2D`.

## Uses of Point in org.eclipse.gef.geometry.convert.swt

Methods in org.eclipse.gef.geometry.convert.swt that return Point
Modifier and Type
Method
Description
`static Point`
SWT2Geometry.`toPoint(Point swtPoint)`
Converts the given `SWT Point` to a GEF `Point`.
Methods in org.eclipse.gef.geometry.convert.swt with parameters of type Point
Modifier and Type
Method
Description
`static final Point`
Geometry2SWT.`toSWTPoint(Point p)`
Creates a new SWT `Point` from this Point.

## Uses of Point in org.eclipse.gef.geometry.euclidean

Methods in org.eclipse.gef.geometry.euclidean that return Point
Modifier and Type
Method
Description
`Point`
Vector.`toPoint()`
Returns a `Point` representing this `Vector`.
Methods in org.eclipse.gef.geometry.euclidean with parameters of type Point
Modifier and Type
Method
Description
`static double`
Straight.`getSignedDistanceCCW(Point p, Point q, Point r)`
Computes the counter-clockwise (CCW) signed distance of the third `Point` to the `Straight` through the first two `Point` s.
Constructors in org.eclipse.gef.geometry.euclidean with parameters of type Point
Modifier
Constructor
Description
``
`Straight(Point point1, Point point2)`
Constructs a new `Straight` that passes through the two given `Point`s.
``
`Vector(Point p)`
Constructs a `Vector` that is the position `Vector` of the given `Point`.
``
`Vector(Point start, Point end)`
Constructs a `Vector` representing the direction and magnitude between to provided `Point`s.

## Uses of Point in org.eclipse.gef.geometry.internal.utils

Methods in org.eclipse.gef.geometry.internal.utils that return Point
Modifier and Type
Method
Description
`static Point[]`
PointListUtils.`toPointsArray(double[] coordinates)`
Converts a given array of x/y coordinate values into an array of `Point`s.
`static Point[]`
PointListUtils.`toPointsArray(Line[] segmentsArray, boolean open)`
Transforms a sequence of `Line`s into a list of `Point`s.
Methods in org.eclipse.gef.geometry.internal.utils with parameters of type Point
Modifier and Type
Method
Description
`static double[]`
PointListUtils.`toCoordinatesArray(Point[] points)`
Converts a given array of `Point` into an array of doubles containing the x and y coordinates of the given points, where the x and y coordinates of the n-th `Point` can be found at positions 2*n and 2*n+1.
`static Line[]`
PointListUtils.`toSegmentsArray(Point[] points, boolean close)`
Transforms a sequence of `Point` coordinates into a sequence of `Line` segments, by creating a `Line` segment for each two adjacent points in the array.

## Uses of Point in org.eclipse.gef.geometry.planar

Methods in org.eclipse.gef.geometry.planar that return Point
Modifier and Type
Method
Description
`Point`
Point.`clone()`
Overwritten with public visibility as proposed in `Cloneable`.
`Point`
AffineTransform.`deltaTransform(Point pt)`
Transforms the given `Point` with this `AffineTransform` without applying the translation components of the transformation matrix of this `AffineTransform`.
`Point`
BezierCurve.`get(double t)`
Computes the `Point` on this `BezierCurve` at parameter value t, which is expected to lie in the parameter `BezierCurve.Interval` `[0;1]`.
`Point`
Line.`get(double t)`
`Point`
Rectangle.`getBottom()`
Returns a new Point representing the middle point of the bottom side of this Rectangle.
`Point`
Rectangle.`getBottomLeft()`
Returns a new Point representing the bottom left point of this Rectangle.
`Point`
Rectangle.`getBottomRight()`
Returns a new Point representing the bottom right point of this Rectangle.
`Point`
CurvedPolygon.`getCenter()`
Returns an approximated center `Point` of this `CurvedPolygon`.
`static Point`
Point.`getCentroid(Point... points)`
Computes the centroid of the given `Point`s.
`static Point[]`
Point.`getConvexHull(Point... points)`
Computes the convex hull of the given set of `Point`s using the Graham scan algorithm.
`Point`
Point.`getCopy()`
`static final Point[]`
Point.`getCopy(Point... points)`
Copies an array of points, by copying each point contained in the array.
`Point`
QuadraticCurve.`getCtrl()`
Get the control point.
`Point`
CubicCurve.`getCtrl1()`
Returns the first handle `Point`.
`Point`
CubicCurve.`getCtrl2()`
Returns the second handle `Point`.
`Point`
Point.`getDifference(Point other)`
Returns the translation required to move this `Point` to the other `Point`
`Point`
Line.`getIntersection(Line l)`
Returns the single intersection point between this `Line` and the given one, in case it exists.
`Point[]`
Arc.`getIntersections(ICurve c)`
`Point[]`
BezierCurve.`getIntersections(BezierCurve other)`
Returns the `Point`s of intersection of this and the given other `BezierCurve`.
`final Point[]`
BezierCurve.`getIntersections(ICurve curve)`
`Point[]`
Ellipse.`getIntersections(Ellipse e2)`
Calculates the intersections of this `Ellipse` with the given other `Ellipse`.
`Point[]`
Ellipse.`getIntersections(ICurve c)`
Calculates the intersections of this `Ellipse` with the given `ICurve`.
`Point[]`
Ellipse.`getIntersections(Line line)`
Returns the intersection points of this `Ellipse`'s outline with the given `Line`.
`Point[]`
ICurve.`getIntersections(ICurve c)`
Returns the points of intersection between this `ICurve` and the given `ICurve`.
`Point[]`
Line.`getIntersections(BezierCurve curve)`
`Point[]`
PolyBezier.`getIntersections(ICurve c)`
`Point[]`
Polyline.`getIntersections(ICurve c)`
`Point`
Rectangle.`getLeft()`
Returns a new Point representing the middle point of the left hand side of this Rectangle.
`Point`
Point.`getNegated()`
Creates a Point with negated x and y values.
`Point[]`
Region.`getOutlineIntersections(ICurve c)`
Computes the `Point`s of intersection of this `Region` with the given `ICurve`.
`Point`
BezierCurve.`getP1()`
`Point`
ICurve.`getP1()`
Returns a `Point` representing the start point of this `ICurve`.
`Point`
PolyBezier.`getP1()`
`Point`
Polyline.`getP1()`
`Point`
BezierCurve.`getP2()`
`Point`
ICurve.`getP2()`
Returns a `Point` representing the end point of this `ICurve` .
`Point`
PolyBezier.`getP2()`
`Point`
Polyline.`getP2()`
`Point`
BezierCurve.`getPoint(int i)`
Returns the ith control `Point` of this `BezierCurve`.
`Point[]`
BezierCurve.`getPoints()`
Returns the control `Point`s of this `BezierCurve`.
`Point[]`
Line.`getPoints()`
Returns an array, which contains two `Point`s representing the start and end points of this `Line`
`Point[]`
Path.Segment.`getPoints()`
Returns a copy of the `Point`s associated with this `Path.Segment`.
`Point[]`
Rectangle.`getPoints()`
Returns an array of `Point`s representing the top-left, top-right, bottom-right, and bottom-left border points of this `Rectangle`.
`Point`
Arc.`getProjection(Point reference)`
`Point`
BezierCurve.`getProjection(Point reference)`
`Point`
ICurve.`getProjection(Point reference)`
Returns a projection of the given reference `Point` onto this `ICurve`, i.e. a `Point` on this `ICurve` that is closest to the given reference `Point`.
`Point`
Line.`getProjection(Point p)`
`Point`
PolyBezier.`getProjection(Point reference)`
`Point`
Polyline.`getProjection(Point reference)`
`static final Point[]`
Point.`getReverseCopy(Point... points)`
Returns a copy of the given array of points, where the points are placed in reversed order.
`Point`
Rectangle.`getRight()`
Returns a new Point which represents the middle point of the right hand side of this Rectangle.
`Point`
Point.`getScaled(double factor)`
Creates a new Point from this Point by scaling by the specified amount.
`Point`
Point.`getScaled(double xFactor, double yFactor)`
Creates a new Point from this Point by scaling by the specified values.
`Point`
Point.`getScaled(double factorX, double factorY, Point center)`
Returns a new `Point` scaled by the given scale-factors.
`Point`
Rectangle.`getTop()`
Returns a new Point which represents the middle point of the top side of this Rectangle.
`Point`
Rectangle.`getTopLeft()`
Returns a new Point which represents the top left hand corner of this Rectangle.
`Point`
Rectangle.`getTopRight()`
Returns a new Point which represents the top right hand corner of this Rectangle.
`Point`
AffineTransform.`getTransformed(Point ptSrc)`
Transforms the given `Point` with this `AffineTransform` by multiplying the transformation matrix of this `AffineTransform` with the given `Point`.
`Point[]`
AffineTransform.`getTransformed(Point[] points)`
Transforms the given array of `Point`s with this `AffineTransform` by multiplying the transformation matrix of this `AffineTransform` individually with each of the given `Point` s.
`Point`
Point.`getTransformed(AffineTransform transformation)`
Transforms a copy of this `Point` using the given `AffineTransform`.
`Point`
Point.`getTranslated(double x, double y)`
Creates a new Point which is translated by the specified x and y values
`Point`
Point.`getTranslated(Dimension d)`
Creates a new Point which is translated by the values of the input Dimension.
`Point`
Point.`getTranslated(Point p)`
Creates a new Point which is translated by the values of the provided Point.
`Point`
Point.`getTransposed()`
Creates a new Point with the transposed values of this Point.
`Point`
AffineTransform.`inverseTransform(Point pt)`
Inverse transforms the given `Point` with this `AffineTransform`.
`static Point`
Point.`max(Point p1, Point p2)`
Creates a new Point representing the MAX of two provided Points.
`static Point`
Point.`min(Point p1, Point p2)`
Creates a new Point representing the MIN of two provided Points.
`static Point`
Point.`nearest(Point referencePoint, Point... candidates)`
Returns (one of) the candidate(s) with minimal distance to the given reference point.
`Point`
Point.`negate()`
Negates the x and y values of this Point.
`Point`
Point.`scale(double factor)`
Scales this Point by the specified amount.
`Point`
Point.`scale(double xFactor, double yFactor)`
Scales this Point by the specified values.
`Point`
Point.`scale(double factorX, double factorY, Point center)`
Scales this `Point` by the given scale-factors.
`Point`
Point.`setLocation(double x, double y)`
Sets the location of this Point to the provided x and y locations.
`Point`
Point.`setLocation(Point p)`
Sets the location of this Point to the specified Point.
`Point`
Point.`setX(double x)`
Sets the x value of this Point to the given value.
`Point`
Point.`setY(double y)`
Sets the y value of this Point to the given value;
`Point[]`
BezierCurve.`toPoints(org.eclipse.gef.geometry.planar.BezierCurve.Interval startInterval)`
Computes `Point`s on this `BezierCurve` over the given `BezierCurve.Interval`.
`Point`
Point.`transform(AffineTransform transformation)`
Transforms this `Point` in-place using the given `AffineTransform`.
`Point`
Point.`translate(double dx, double dy)`
Shifts this Point by the values supplied along each axes, and returns this for convenience.
`Point`
Point.`translate(Dimension d)`
Shifts this Point by the values of the Dimension along each axis, and returns this for convenience.
`Point`
Point.`translate(Point p)`
Shifts the location of this Point by the location of the input Point along each of the axes, and returns this for convenience.
`Point`
Point.`transpose()`
Transposes this object.
Methods in org.eclipse.gef.geometry.planar with parameters of type Point
Modifier and Type
Method
Description
`boolean`
Arc.`contains(Point p)`
`boolean`
BezierCurve.`contains(Point p)`
`boolean`
CurvedPolygon.`contains(Point p)`
`boolean`
Ellipse.`contains(Point p)`
`boolean`
IGeometry.`contains(Point p)`
Returns whether the given `Point` is contained within this `IGeometry`.
`boolean`
Line.`contains(Point p)`
`boolean`
Path.`contains(Point p)`
`boolean`
Pie.`contains(Point p)`
`boolean`
PolyBezier.`contains(Point p)`
`boolean`
Polygon.`contains(Point p)`
`boolean`
Polyline.`contains(Point p)`
`boolean`
Rectangle.`contains(Point p)`
Returns whether the given point is within the boundaries of this Rectangle.
`boolean`
RoundedRectangle.`contains(Point p)`
`Point`
AffineTransform.`deltaTransform(Point pt)`
Transforms the given `Point` with this `AffineTransform` without applying the translation components of the transformation matrix of this `AffineTransform`.
`boolean`
Polygon.`equals(Point[] points)`
Checks whether this `Polygon` and the one that is indirectly given via the given array of points are regarded to be equal.
`boolean`
Polyline.`equals(Point... points)`
Checks whether this `Polyline` and the one that is indirectly given via the sequence of points are regarded to be equal.
`static Rectangle`
Point.`getBounds(Point... points)`
Returns the smallest `Rectangle` that encloses all `Point`s in the given sequence.
`static Point`
Point.`getCentroid(Point... points)`
Computes the centroid of the given `Point`s.
`static Point[]`
Point.`getConvexHull(Point... points)`
Computes the convex hull of the given set of `Point`s using the Graham scan algorithm.
`static final Point[]`
Point.`getCopy(Point... points)`
Copies an array of points, by copying each point contained in the array.
`Point`
Point.`getDifference(Point other)`
Returns the translation required to move this `Point` to the other `Point`
`double`
Point.`getDistance(Point p)`
Calculates the distance from this Point to the one specified.
`double`
BezierCurve.`getParameterAt(Point p)`
Returns the parameter value of this `BezierCurve` for the given `Point`.
`Point`
Arc.`getProjection(Point reference)`
`Point`
BezierCurve.`getProjection(Point reference)`
`Point`
ICurve.`getProjection(Point reference)`
Returns a projection of the given reference `Point` onto this `ICurve`, i.e. a `Point` on this `ICurve` that is closest to the given reference `Point`.
`Point`
Line.`getProjection(Point p)`
`Point`
PolyBezier.`getProjection(Point reference)`
`Point`
Polyline.`getProjection(Point reference)`
`static final Point[]`
Point.`getReverseCopy(Point... points)`
Returns a copy of the given array of points, where the points are placed in reversed order.
`PolyBezier`
Arc.`getRotatedCCW(Angle angle, Point center)`
`BezierCurve`
BezierCurve.`getRotatedCCW(Angle angle, Point center)`
`CurvedPolygon`
CurvedPolygon.`getRotatedCCW(Angle angle, Point center)`
`PolyBezier`
Ellipse.`getRotatedCCW(Angle angle, Point center)`
`T`
IRotatable.`getRotatedCCW(Angle angle, Point center)`
Rotates the calling object by the specified `Angle` counter-clock-wise (CCW) around the specified center `Point`.
`Path`
Pie.`getRotatedCCW(Angle angle, Point center)`
`PolyBezier`
PolyBezier.`getRotatedCCW(Angle angle, Point center)`
`Polygon`
Rectangle.`getRotatedCCW(Angle alpha, Point center)`
Rotates this `Rectangle` counter-clock-wise by the given `Angle` around the given `Point`.
`Ring`
Region.`getRotatedCCW(Angle angle, Point center)`
`Ring`
Ring.`getRotatedCCW(Angle angle, Point center)`
`PolyBezier`
RoundedRectangle.`getRotatedCCW(Angle angle, Point center)`
`PolyBezier`
Arc.`getRotatedCW(Angle angle, Point center)`
`BezierCurve`
BezierCurve.`getRotatedCW(Angle angle, Point center)`
`CurvedPolygon`
CurvedPolygon.`getRotatedCW(Angle angle, Point center)`
`PolyBezier`
Ellipse.`getRotatedCW(Angle angle, Point center)`
`T`
IRotatable.`getRotatedCW(Angle angle, Point center)`
Rotates the calling object by the specified `Angle` clock-wise (CW) around the specified center `Point`.
`Path`
Pie.`getRotatedCW(Angle angle, Point center)`
`PolyBezier`
PolyBezier.`getRotatedCW(Angle angle, Point center)`
`Polygon`
Rectangle.`getRotatedCW(Angle alpha, Point center)`
Rotates this `Rectangle` clock-wise by the given `Angle` alpha around the given `Point`.
`Ring`
Region.`getRotatedCW(Angle angle, Point center)`
`Ring`
Ring.`getRotatedCW(Angle angle, Point center)`
`PolyBezier`
RoundedRectangle.`getRotatedCW(Angle angle, Point center)`
`BezierCurve`
BezierCurve.`getScaled(double fx, double fy, Point center)`
`BezierCurve`
BezierCurve.`getScaled(double factor, Point center)`
`CurvedPolygon`
CurvedPolygon.`getScaled(double fx, double fy, Point center)`
`CurvedPolygon`
CurvedPolygon.`getScaled(double factor, Point center)`
`T`
IScalable.`getScaled(double fx, double fy, Point center)`
Scales a copy of the calling object by the given factors relative to the given center `Point`.
`T`
IScalable.`getScaled(double factor, Point center)`
Scales a copy of the calling object by the given factor relative to the given center `Point`.
`Point`
Point.`getScaled(double factorX, double factorY, Point center)`
Returns a new `Point` scaled by the given scale-factors.
`PolyBezier`
PolyBezier.`getScaled(double fx, double fy, Point center)`
`PolyBezier`
PolyBezier.`getScaled(double factor, Point center)`
`Region`
Region.`getScaled(double fx, double fy, Point center)`
`Region`
Region.`getScaled(double factor, Point center)`
`Ring`
Ring.`getScaled(double fx, double fy, Point center)`
`Ring`
Ring.`getScaled(double factor, Point center)`
`Point`
AffineTransform.`getTransformed(Point ptSrc)`
Transforms the given `Point` with this `AffineTransform` by multiplying the transformation matrix of this `AffineTransform` with the given `Point`.
`Point[]`
AffineTransform.`getTransformed(Point[] points)`
Transforms the given array of `Point`s with this `AffineTransform` by multiplying the transformation matrix of this `AffineTransform` individually with each of the given `Point` s.
`BezierCurve`
BezierCurve.`getTranslated(Point d)`
`CurvedPolygon`
CurvedPolygon.`getTranslated(Point d)`
`T`
ITranslatable.`getTranslated(Point d)`
Translates a copy of this object by the given `Point`.
`Point`
Point.`getTranslated(Point p)`
Creates a new Point which is translated by the values of the provided Point.
`PolyBezier`
PolyBezier.`getTranslated(Point d)`
`Region`
Region.`getTranslated(Point d)`
`Ring`
Ring.`getTranslated(Point d)`
`Rectangle`
Rectangle.`getUnioned(Point p)`
Returns a new Rectangle which contains both this Rectangle and the Point supplied as input.
`static PolyBezier`
PolyBezier.`interpolateCubic(double curveWidthCoefficient, Point... points)`
Creates a `PolyBezier` with continuous `CubicCurve` segments through the given `Point`s.
`static PolyBezier`
PolyBezier.`interpolateCubic(Angle startAngle, double startLength, Angle endAngle, double endLength, double curveWidthCoefficient, Point... wayPoints)`
Creates a `PolyBezier` consisting of continuous `CubicCurve` segments through the given `Point`s.
`static PolyBezier`
PolyBezier.`interpolateCubic(Point... points)`
`Point`
AffineTransform.`inverseTransform(Point pt)`
Inverse transforms the given `Point` with this `AffineTransform`.
`static Point`
Point.`max(Point p1, Point p2)`
Creates a new Point representing the MAX of two provided Points.
`static Point`
Point.`min(Point p1, Point p2)`
Creates a new Point representing the MIN of two provided Points.
`static Point`
Point.`nearest(Point referencePoint, Point... candidates)`
Returns (one of) the candidate(s) with minimal distance to the given reference point.
`BezierCurve`
BezierCurve.`rotateCCW(Angle angle, Point center)`
Directly rotates this `BezierCurve` counter-clockwise (CCW) around the given `Point` by the given `Angle`.
`CurvedPolygon`
CurvedPolygon.`rotateCCW(Angle angle, Point center)`
Rotates this `CurvedPolygon` counter-clockwise (CCW) by the given `Angle` around the given `Point`.
`static void`
Point.`rotateCCW(Point[] points, Angle angle, double cx, double cy)`
Rotates (in-place) the given `Point`s counter-clock-wise (CCW) by the specified `Angle` around the given center `Point`.
`PolyBezier`
PolyBezier.`rotateCCW(Angle angle, Point center)`
Directly rotates this `PolyBezier` counter-clock-wise around the given `Point` by the given `Angle`.
`Ring`
Ring.`rotateCCW(Angle angle, Point center)`
Directly rotates this `Ring` counter-clock-wise around the given `Point` by the given `Angle`.
`BezierCurve`
BezierCurve.`rotateCW(Angle angle, Point center)`
Directly rotates this `BezierCurve` clockwise (CW) around the given `Point` by the given `Angle`.
`CurvedPolygon`
CurvedPolygon.`rotateCW(Angle angle, Point center)`
Rotates this `CurvedPolygon` clockwise (CW) by the given `Angle` around the given `Point`.
`static void`
Point.`rotateCW(Point[] points, Angle angle, double cx, double cy)`
Rotates (in-place) the given `Point`s clock-wise (CW) by the specified `Angle` around the given center `Point`.
`PolyBezier`
PolyBezier.`rotateCW(Angle angle, Point center)`
Directly rotates this `PolyBezier` clock-wise around the given `Point` by the given `Angle`.
`Ring`
Ring.`rotateCW(Angle angle, Point center)`
Directly rotates this `Ring` clock-wise around the given `Point` by the given `Angle`.
`BezierCurve`
BezierCurve.`scale(double fx, double fy, Point center)`
`BezierCurve`
BezierCurve.`scale(double factor, Point center)`
`CurvedPolygon`
CurvedPolygon.`scale(double fx, double fy, Point center)`
`CurvedPolygon`
CurvedPolygon.`scale(double factor, Point center)`
`T`
IScalable.`scale(double fx, double fy, Point center)`
Scales the calling object by the given factors relative to the given center `Point`.
`T`
IScalable.`scale(double factor, Point center)`
Scales the calling object by the given factor relative to the given center `Point`.
`Point`
Point.`scale(double factorX, double factorY, Point center)`
Scales this `Point` by the given scale-factors.
`static void`
Point.`scale(Point[] points, double fx, double fy, double cx, double cy)`
Scales the given array of `Point`s by the given x and y scale factors around the given center `Point` (cx, cy).
`PolyBezier`
PolyBezier.`scale(double fx, double fy, Point center)`
`PolyBezier`
PolyBezier.`scale(double factor, Point center)`
`Region`
Region.`scale(double fx, double fy, Point center)`
`Region`
Region.`scale(double factor, Point center)`
`Ring`
Ring.`scale(double fx, double fy, Point center)`
`Ring`
Ring.`scale(double factor, Point center)`
`QuadraticCurve`
QuadraticCurve.`setCtrl(Point ctrl)`
Sets the curve's control point.
`CubicCurve`
CubicCurve.`setCtrl1(Point ctrl1)`
Sets the first handle `Point` of this `CubicCurve` to the given `Point`.
`CubicCurve`
CubicCurve.`setCtrl2(Point ctrl2)`
Sets the second handle `Point` of this `CubicCurve` to the given `Point`.
`CubicCurve`
CubicCurve.`setCurve(Point p1, Point ctrl1, Point ctrl2, Point p2)`
Sets all control `Point`s of this `CubicCurve` to the given `Point`s.
`Line`
Line.`setLine(Point p1, Point p2)`
Initializes this `Line` with the start and end point coordinates provided by the given points
`Point`
Point.`setLocation(Point p)`
Sets the location of this Point to the specified Point.
`BezierCurve`
BezierCurve.`setP1(Point p1)`
Sets the start `Point` of this `BezierCurve` to the given `Point`.
`BezierCurve`
BezierCurve.`setP2(Point p2)`
Sets the end `Point` of this `BezierCurve` to the given `Point`.
`BezierCurve`
BezierCurve.`setPoint(int i, Point p)`
Sets the ith control `Point` of this `BezierCurve`.
`BezierCurve`
BezierCurve.`translate(Point d)`
`CurvedPolygon`
CurvedPolygon.`translate(Point d)`
`T`
ITranslatable.`translate(Point d)`
Translates the object by the given `Point`.
`Point`
Point.`translate(Point p)`
Shifts the location of this Point by the location of the input Point along each of the axes, and returns this for convenience.
`static void`
Point.`translate(Point[] points, double dx, double dy)`
Translates an array of `Point`s by translating each individual point by a given x and y offset.
`PolyBezier`
PolyBezier.`translate(Point d)`
`Region`
Region.`translate(Point d)`
`Ring`
Ring.`translate(Point d)`
`Rectangle`
Rectangle.`union(Point p)`
Updates this `Rectangle`'s bounds so that the given `Point` is included within.
Constructors in org.eclipse.gef.geometry.planar with parameters of type Point
Modifier
Constructor
Description
``
`BezierCurve(Point... controlPoints)`
Constructs a new `BezierCurve` from the given control `Point` s.
``
`CubicCurve(Point... points)`
Constructs a new `CubicCurve` from the given sequence of `Point`s, which is expected to be in the order: start `Point` , first and second handle `Point`s, and end `Point`.
``
`CubicCurve(Point start, Point ctrl1, Point ctrl2, Point end)`
Constructs a new `CubicCurve` object from the given control `Point`s.
``
`Line(Point... points)`
Constructs a new `Line`, which connects the two `Point`s given.
``
`Line(Point p1, Point p2)`
Constructs a new `Line` which connects the two given `Point`s
``
`Point(Point p)`
Constructs a Point at the same location as the given Point.
``
`Polygon(Point... points)`
Constructs a new `Polygon` from the given sequence of `Point` s.
``
`Polyline(Point... points)`
Constructs a new `Polyline` from the given sequence of `Point` s.
``
`QuadraticCurve(Point... points)`
Constructs a new `QuadraticCurve` from the given sequence of `Point`s formed by start-, control-, and end-point.
``
`QuadraticCurve(Point p1, Point pCtrl, Point p2)`
Constructs a new QuadraticCurve object from the given points.
``
`Rectangle(Point location, Dimension size)`
Constructs a new `Rectangle` with the given location and size.
``
`Rectangle(Point p1, Point p2)`
Constructs a new `Rectangle`, which is the smallest one containing both given `Point`s.
``
`Segment(int type, Point... points)`
Constructs a new `Path.Segment` of the given type.

## Uses of Point in org.eclipse.gef.geometry.projective

Methods in org.eclipse.gef.geometry.projective that return Point
Modifier and Type
Method
Description
`Point`
Vector3D.`toPoint()`
Returns a new `Point` object that is represented by this `Vector3D`.
Constructors in org.eclipse.gef.geometry.projective with parameters of type Point
Modifier
Constructor
Description
``
`Vector3D(Point p)`
Constructs a new `Vector3D` from the given `Point`, setting z to 1.