@TestClass(value="org.openscience.cdk.renderer.elements.path.QuadToTest") public class QuadTo extends PathElement
Modifier and Type | Field and Description |
---|---|
javax.vecmath.Point2d |
cp
control point of the curve.
|
javax.vecmath.Point2d |
ep
end point of the curve.
|
type
Constructor and Description |
---|
QuadTo(javax.vecmath.Point2d cp,
javax.vecmath.Point2d ep)
Make a quad curve.
|
Modifier and Type | Method and Description |
---|---|
float[] |
points()
Get the points in the path.
|
type
public final javax.vecmath.Point2d cp
public final javax.vecmath.Point2d ep
@TestMethod(value="testConstructor") public QuadTo(javax.vecmath.Point2d cp, javax.vecmath.Point2d ep)
cp
- control point of the curveep
- end point of the curve@TestMethod(value="testPoints") public float[] points()
points
in class PathElement