@TestClass(value="org.openscience.cdk.renderer.elements.path.CubicToTest") public class CubicTo extends PathElement
Modifier and Type | Field and Description |
---|---|
javax.vecmath.Point2d |
cp1
first control point in the cubic.
|
javax.vecmath.Point2d |
cp2
second control point in the cubic.
|
javax.vecmath.Point2d |
ep
end point of the cubic.
|
type
Constructor and Description |
---|
CubicTo(javax.vecmath.Point2d cp1,
javax.vecmath.Point2d cp2,
javax.vecmath.Point2d ep)
Make a cubic curve path element.
|
Modifier and Type | Method and Description |
---|---|
float[] |
points()
Get the points in the path.
|
type
public final javax.vecmath.Point2d cp1
public final javax.vecmath.Point2d cp2
public final javax.vecmath.Point2d ep
@TestMethod(value="testConstructor") public CubicTo(javax.vecmath.Point2d cp1, javax.vecmath.Point2d cp2, javax.vecmath.Point2d ep)
cp1
- first control point in the cubiccp2
- second control point in the cubicep
- end point of the cubic@TestMethod(value="testPoints") public float[] points()
points
in class PathElement