Documentation of 'vmm3d.spacecurve.SpaceCurve' Java class
SpaceCurve
vmm3d.spacecurve

Class SpaceCurve

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable
    Direct Known Subclasses:
    SpaceCurveParametric


    public abstract class SpaceCurve
    extends Exhibit3D
    Represents a curve, or set of curve segments, in three-space. The curve is defined by an array of 3D points.
    • Constructor Detail

      • SpaceCurve

        public SpaceCurve()
    • Method Detail

      • getPointCount

        public int getPointCount()
        Get the size of the array of points that define this curve. If the array has not yet been computed, because the curve has not yet been drawn, then the return value will be 0.
      • getPoint

        public Vector3D getPoint(int i)
        Get one of the points from the array that defines the curve.
        Parameters:
        i - The index of the point in the array. This must be in the range 0 to getPointCount()-1, or an error will occur.
        Returns:
        The i-th point from the array. This can be null, indicating a break in the curve.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.