Documentation of 'vmm3d.fractals.RepeatedSegmentFractal' Java class
RepeatedSegmentFractal
vmm3d.fractals

Class RepeatedSegmentFractal

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable
    Direct Known Subclasses:
    Dragon, Hilbert, Koch, KochEscher, Sierpinski


    public abstract class RepeatedSegmentFractal
    extends Exhibit
    A fractal curve in which a level (N+1) approximation of the fractal is computed from a level N approximation by replacing each line segement with a scaled and transformed copy of the entire curve. Examples include Koch and Hilbert.
    • Constructor Detail

      • RepeatedSegmentFractal

        public RepeatedSegmentFractal()
        Constructor sets a default color of BLACK and a default window of (-1,1,-1,1). It also adds "fractility" and "recursionLevel" parameters to the exhibit.
    • Method Detail

      • getCreateAnimation

        public Animation getCreateAnimation(View view)
        Returns a create animation that shows the curve at each approximation level from 1 up to the currently selected level of recursion.
        Overrides:
        getCreateAnimation in class Exhibit
        Parameters:
        view - A View that is displaying this Exhibit. The animation, if any, that is returned by this method will be installed in the View's display. If the view is null, than a creation animation that can run independently of a view could be returned.
        Returns:
        A creation animation for the given View of this Exhibit. The return value can be null to indicate that no creation animation is to be run.
      • getDefaultView

        public View getDefaultView()
        Returns a default view of type RSFView, where RSFView is a nested class inside this class.
        Overrides:
        getDefaultView in class Exhibit

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.