net.dzzd.access
Interface IMesh3DOctree


public interface IMesh3DOctree

Used for accessing to a Mesh3DOctree.

Since:
1.0
Version:
1.0, 01/01/04
Author:
Bruno Augier
See Also:
IMesh3D

Method Summary
 void build()
          Build this object and update its internal built version.
 int getBuild()
          Gets this object built version.
 IMesh3DOctree getChildren(int n)
          Gets a children of this Mesh3DOctree
 IFace3D[] getFaces3D()
          Gets Face3D array used by this Mesh3DOctree.
 int getId()
           
 IMesh3D getMesh3D()
           
 IMesh3DOctree[] getMesh3DOctreeArray(IMesh3DOctree[] octrees)
          Create an array with all Mesh3DOctree including childrens
 int getNbChildren(boolean recursive)
          Gets number of childrens for this Mesh3DOctree
 int getNbFace3D()
          Gets number of Face3D used by this Mesh3DOctree .
 

Method Detail

getNbFace3D

public int getNbFace3D()
Gets number of Face3D used by this Mesh3DOctree .
*

Returns:
all Face3D used by this Mesh3DOctree

getFaces3D

public IFace3D[] getFaces3D()
Gets Face3D array used by this Mesh3DOctree.

Returns:
number of Face3D used by this Mesh3DOctree

build

public void build()
Build this object and update its internal built version.
internal built version maybe used by Render3D or other object to now if an object has been updated.


getBuild

public int getBuild()
Gets this object built version.
if version returned of -1 means that object has never been built.

Returns:
internal built version maybe used by Render3D or other object to now if an object has been updated.

getChildren

public IMesh3DOctree getChildren(int n)
Gets a children of this Mesh3DOctree

Parameters:
n - index of the children to return, must range between 0 and 7
Returns:
the Mesh3DOctree children for the given index or null if none

getNbChildren

public int getNbChildren(boolean recursive)
Gets number of childrens for this Mesh3DOctree

Parameters:
recursive - true if return value must include childrens of childrens recursivly
Returns:
number of childrens for this Mesh3DOctree

getMesh3DOctreeArray

public IMesh3DOctree[] getMesh3DOctreeArray(IMesh3DOctree[] octrees)
Create an array with all Mesh3DOctree including childrens

Returns:
an array containing this Mesh3DOctree and all its childrens

getId

public int getId()

getMesh3D

public IMesh3D getMesh3D()