|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvmm.core.Exhibit
vmm.fractals.RepeatedSegmentFractal
vmm.fractals.Koch
public class Koch
Represents a Koch "snowflake" curve. The standard Koch curve is produced when the "fractality" parameter is 1/3.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class vmm.fractals.RepeatedSegmentFractal |
|---|
RepeatedSegmentFractal.RSFView |
| Field Summary |
|---|
| Fields inherited from class vmm.fractals.RepeatedSegmentFractal |
|---|
colorRepeatFactor, fastDrawRecursionLevel, fractality, recursionLevel |
| Fields inherited from class vmm.core.Exhibit |
|---|
decorations, exhibitNeedsRedraw, isMorphing, morphingView, parameters, previousTransform |
| Constructor Summary | |
|---|---|
Koch()
|
|
| Method Summary | |
|---|---|
protected Complex[] |
computeNextLevel(Complex[] kochCurve,
int computedLevel)
This abstract method computes one approximation level from the previous one, which has already been computed. |
| Methods inherited from class vmm.fractals.RepeatedSegmentFractal |
|---|
computeDrawData, doDraw, getCreateAnimation, getDefaultView |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Koch()
| Method Detail |
|---|
protected Complex[] computeNextLevel(Complex[] kochCurve,
int computedLevel)
RepeatedSegmentFractal
computeNextLevel in class RepeatedSegmentFractalkochCurve - This array stores the points that have been computed for the current approximation level.
This array can be null, if the computedLevel is zero.computedLevel - This is the approximation level that has been comptuted to get the points in
curvePoints. A zero value for this paramter means that the first, or base level, approximation should
be computed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||