Maven module :un.api : api-geometry :
Class : un.impl.geometry.s2d.CubicCurve
Extends/Implements : un.impl.geometry.s2d.AbstractGeometry2D
Subclasses : -

Single segment cubic curve.
author  Johann Sorel


Variables : -
Functions : CubicCurve, getStart, setStart, getStartX, setStartX, getStartY, setStartY, getControl1, setControl1, getControl1X, setControl1X, getControl1Y, setControl1Y, getControl2, setControl2, getControl2X, setControl2X, getControl2Y, setControl2Y, getEnd, setEnd, getEndX, setEndX, getEndY, setEndY, createPathIterator



public void CubicCurve (double startx, double starty, double cx1, double cy1, double cx2, double cy2, double endx, double endy)

public Tuple getStart ()

public void setStart (Tuple start)


The x-axis coordinate of the start of the curve.
public double getStartX ()

public void setStartX (double x1)


The y-axis coordinate of the start of the curve.
public double getStartY ()

public void setStartY (double y1)

public Tuple getControl1 ()

public void setControl1 (Tuple control)


The x-axis coordinate of the first control point of the curve.
public double getControl1X ()

public void setControl1X (double x2)


The y-axis coordinate of the first control point of the line.
public double getControl1Y ()

public void setControl1Y (double y2)

public Tuple getControl2 ()

public void setControl2 (Tuple control)


The x-axis coordinate of the second control point of the curve.
public double getControl2X ()

public void setControl2X (double x2)


The y-axis coordinate of the second control point of the line.
public double getControl2Y ()

public void setControl2Y (double y2)

public Tuple getEnd ()

public void setEnd (Tuple end)


The x-axis coordinate of the end of the curve.
public double getEndX ()

public void setEndX (double x2)


The y-axis coordinate of the end of the curve.
public double getEndY ()

public void setEndY (double y2)

public PathIterator createPathIterator ()