Documentation of 'jvx.curve.PgBezierCurve' Java class
PgBezierCurve ("JavaView Reference Manual")
"JavaView? v5.03.003"
jvx.curve

Class PgBezierCurve

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, PsUpdateIf, PgGeometryIf


    public class PgBezierCurve
    extends PgPolygon
    Bezier polygon with control points.
    See Also:
    PgPolygon, Serialized Form
    Author:
    Konrad Polthier
    Version:
    01.04.00, 1.00 revised (kp) Moved from package jv.geom to jvx.geom.
    00.00.98, 1.00 created (kp)
    • Constructor Detail

      • PgBezierCurve

        public PgBezierCurve(int aVertexDim)
    • Method Detail

      • init

        public void init()
        Description copied from class: PgPolygon
        Initialize and reset instance variables after call to super.init().
        Overrides:
        init in class PgPolygon
      • copy

        public void copy(PsObject object)
        Copy instance variables by duplication, not by copying a reference.

        The argument was changed from PgGeometry to PsObject since there were problems in J/Link which preferred to use PsObject#copy(PsObject) instead of PgGeometry#copy(PsObject).

        Overrides:
        copy in class PgPolygon
        See Also:
        PgPolygon.clone()
        Version:
        08.11.02, 1.10 revised (kp) Argument changed to PsObject from PgGeometry.
      • getControlPoint

        public PdVector[] getControlPoint()
      • getNumControlPoints

        public int getNumControlPoints()
      • setNumControlPoints

        public void setNumControlPoints(int aNum)
        Set number of control points. All controlPoint allocation should be done in this method.
      • addControlPoint

        public void addControlPoint(PdVector aPoint)
      • setControlPoint

        public void setControlPoint(int anIndex,
                                    PdVector aPoint)
      • setNumVertices

        public void setNumVertices(int aNum)
        Description copied from class: PgPolygon
        Adjust the number of vertices of the polygon.

        Internally the number of edges are updated.

        Overrides:
        setNumVertices in class PgPolygon
      • computeVertices

        public void computeVertices()
      • eval

        public void eval(PdVector v,
                         double t)
"JavaView? v5.03.003"

"

The software JavaView? is copyright protected. All Rights Reserved.
"

You see the box below because you did not login.