Package toxi.sim.dla
Class DLA
java.lang.Object
toxi.sim.dla.DLA
-
Constructor Summary
ConstructorDescriptionDLA
(float size) DLA
(float size, DLAConfiguration config, DLAGuideLines guides) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addParticle
(Vec3D p) void
clear()
int
int
void
reset()
void
void
saveAsText
(String fname, boolean isCentered) void
setConfig
(DLAConfiguration config) void
setGuidelines
(DLAGuideLines guidelines) void
update()
void
update
(int numIterations)
-
Constructor Details
-
DLA
public DLA(float size) -
DLA
-
-
Method Details
-
addListener
-
addParticle
-
clear
public void clear() -
getConfig
- Returns:
- the config
-
getCurrentCurvePoint
- Returns:
- the currCurvePoint
-
getCurrentParticle
- Returns:
- the currParticle
-
getGuidelines
- Returns:
- the guidelines
-
getGuideOctree
- Returns:
- the octreeGuides
-
getNumActiveSegments
public int getNumActiveSegments()- Returns:
- the numActiveSegments
-
getNumParticles
public int getNumParticles()- Returns:
- the numParticles
-
getParticleOctree
-
getParticles
- Returns:
- the octree
-
removeListener
-
reset
public void reset() -
save
-
saveAsText
-
setConfig
- Parameters:
config
- the config to set
-
setGuidelines
- Parameters:
guidelines
- the guidelines to set
-
update
public void update() -
update
public void update(int numIterations)
-