Package | Description |
---|---|
org.eclipse.gef.geometry.planar |
This package provides support for geometric calculations based on shapes.
|
Modifier and Type | Method and Description |
---|---|
QuadraticCurve |
QuadraticCurve.getCopy()
Returns a new
QuadraticCurve , which has the same start, end, and
control point coordinates as this one. |
QuadraticCurve |
QuadraticCurve.getTransformed(AffineTransform t) |
QuadraticCurve |
QuadraticCurve.setCtrl(Point ctrl)
Sets the curve's control point.
|
QuadraticCurve |
QuadraticCurve.setCtrlX(double ctrlX)
Sets the x-coordinate of the curve's control point.
|
QuadraticCurve |
QuadraticCurve.setCtrlY(double ctrlY)
Sets the y-coordinate of the curve's control point.
|
QuadraticCurve[] |
QuadraticCurve.split(double t)
Splits this QuadraticCurve using the de Casteljau algorithm at parameter
t into two separate QuadraticCurve objects.
|
QuadraticCurve |
BezierCurve.toQuadratic()
Returns a hard approximation of this
BezierCurve as a
QuadraticCurve . |
Constructor and Description |
---|
BezierCurve(QuadraticCurve c)
Constructs a new
BezierCurve from the given
QuadraticCurve . |
Copyright (c) 2014 itemis AG, and others. All rights reserved.