|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcae.mesh.amibe.ds.MGroup3D
public class MGroup3D
Group of triangles in the 3D mesh.
Constructor Summary | |
---|---|
MGroup3D(int i,
java.lang.String n,
java.util.Collection<Triangle> faces)
|
|
MGroup3D(java.lang.String n,
java.util.Collection<Triangle> faces)
Creates a group. |
Method Summary | |
---|---|
java.util.Iterator<Triangle> |
getFacesIterator()
Returns an iterator over the set of faces. |
int |
getId()
Returns the group id. |
java.lang.String |
getName()
Returns the group name. |
MGroup3D |
merge(MGroup3D that)
Merges a group to this one |
int |
numberOfFaces()
Returns the number of faces. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MGroup3D(java.lang.String n, java.util.Collection<Triangle> faces)
n
- group name.faces
- set of faces.public MGroup3D(int i, java.lang.String n, java.util.Collection<Triangle> faces)
Method Detail |
---|
public java.lang.String getName()
public int getId()
public java.util.Iterator<Triangle> getFacesIterator()
public int numberOfFaces()
public MGroup3D merge(MGroup3D that)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |