Uses of Class
org.eclipse.gef.geometry.planar.BezierCurve
Package
Description
This package provides support for geometric calculations based on shapes.
-
Uses of BezierCurve in org.eclipse.gef.geometry.planar
Modifier and TypeClassDescriptionclass
An instance of theCubicCurve
class represents aBezierCurve
of degree 3, having a start and an endPoint
and two handlePoint
s.class
Represents the geometric shape of a line (or linear curve).class
Represents the geometric shape of a quadratic Bézier curve.Modifier and TypeMethodDescriptionBezierCurve.getClipped
(double s, double e) BezierCurve.getCopy()
BezierCurve.getDerivative()
Computes the hodograph, the first parametric derivative, of thisBezierCurve
.BezierCurve.getElevated()
Computes aBezierCurve
with a degree of one higher than thisBezierCurve
's degree but of the same shape.CurvedPolygon.getOutlineSegments()
Pie.getOutlineSegments()
RoundedRectangle.getOutlineSegments()
BezierCurve.getOverlap
(BezierCurve other) Returns aBezierCurve
that represents the overlap of thisBezierCurve
and the given otherBezierCurve
.BezierCurve.getRotatedCCW
(Angle angle) BezierCurve.getRotatedCCW
(Angle angle, double cx, double cy) BezierCurve.getRotatedCCW
(Angle angle, Point center) BezierCurve.getRotatedCW
(Angle angle) BezierCurve.getRotatedCW
(Angle angle, double cx, double cy) BezierCurve.getRotatedCW
(Angle angle, Point center) BezierCurve.getScaled
(double factor) BezierCurve.getScaled
(double fx, double fy) BezierCurve.getScaled
(double factor, double cx, double cy) BezierCurve.getScaled
(double fx, double fy, double cx, double cy) BezierCurve.getTransformed
(AffineTransform t) BezierCurve.getTranslated
(double dx, double dy) BezierCurve.getTranslated
(Point d) Directly rotates thisBezierCurve
counter-clockwise (CCW) around its centerPoint
by the givenAngle
.Directly rotates thisBezierCurve
counter-clockwise (CCW) around thePoint
specified by the given x and y coordinate values by the givenAngle
.Directly rotates thisBezierCurve
counter-clockwise (CCW) around the givenPoint
by the givenAngle
.Directly rotates thisBezierCurve
clockwise (CW) around thePoint
specified by the given x and y coordinate values by the givenAngle
.BezierCurve.scale
(double factor) BezierCurve.scale
(double fx, double fy) BezierCurve.scale
(double factor, double cx, double cy) BezierCurve.scale
(double fx, double fy, double cx, double cy) Sets the ith controlPoint
of thisBezierCurve
.BezierCurve.split
(double t) Subdivides thisBezierCurve
at the given parameter value t into two newBezierCurve
s.BezierCurve.toBezier()
ICurve.toBezier()
Computes a list ofBezierCurve
s that approximate theICurve
.PolyBezier.toBezier()
BezierCurve.translate
(double dx, double dy) Modifier and TypeMethodDescriptionboolean
BezierCurve.contains
(BezierCurve o) Tests if thisBezierCurve
contains the given otherBezierCurve
.Point[]
BezierCurve.getIntersections
(BezierCurve other) Returns thePoint
s of intersection of this and the given otherBezierCurve
.Point[]
Line.getIntersections
(BezierCurve curve) BezierCurve.getOverlap
(BezierCurve other) Returns aBezierCurve
that represents the overlap of thisBezierCurve
and the given otherBezierCurve
.boolean
BezierCurve.overlaps
(BezierCurve other) Checks if thisBezierCurve
and the given otherBezierCurve
overlap, i.e. an infinite set of intersectionPoint
s exists.boolean
Line.overlaps
(BezierCurve c) ModifierConstructorDescriptionCurvedPolygon
(BezierCurve... curvedSides) Constructs a newCurvedPolygon
from the givenBezierCurve
s.PolyBezier
(BezierCurve... beziers) Constructs a newPolyBezier
of the givenBezierCurve
s.ModifierConstructorDescriptionCurvedPolygon
(List<BezierCurve> curvedSides) Constructs a newCurvedPolygon
from the given list ofBezierCurve
s.