|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcae.mesh.amibe.ds.MMesh0D
public class MMesh0D
List of vertices of the whole shape.
A MMesh0D
instance is a list of vertices. All topological
vertices which share the same location are merged into a unique vertex,
and MMesh0D
contains the list of these unique vertices.
Field Summary | |
---|---|
protected CADShape |
shape
|
Constructor Summary | |
---|---|
MMesh0D(BModel model)
Creates one node for each different discretization of the BCADGraphCell of type Vertex The current method may be unnecessary: even if there are many discretizations on a 0D Vertex, we may want to use the same CADVertex. |
|
MMesh0D(CADShape s)
Creates a MMesh0D instance by merging all topological
vertices which have the same location. |
Method Summary | |
---|---|
BDiscretization |
getChildDiscretization(CADVertex V,
BCADGraphCell pcell,
BDiscretization pd)
Returns the discretization of CADVertex V related to parent discretization pd on cell |
CADVertex |
getGeometricalVertex(CADVertex V)
Returns the vertex which has the same location as the argument. |
CADVertex |
getGeometricalVertex(int index)
Returns the vertex represented by its index. |
int |
getIndexGeometricalVertex(CADVertex V)
Returns an index of the vertex which has the same location as the argument. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected CADShape shape
Constructor Detail |
---|
public MMesh0D(CADShape s)
MMesh0D
instance by merging all topological
vertices which have the same location.
s
- topological shapepublic MMesh0D(BModel model)
Method Detail |
---|
public CADVertex getGeometricalVertex(CADVertex V)
V
- vertex
public BDiscretization getChildDiscretization(CADVertex V, BCADGraphCell pcell, BDiscretization pd)
V
- vertexpcell
- graphcell of a parent edge of Vpd
- discretization of cell, parent discretization
public int getIndexGeometricalVertex(CADVertex V)
V
- vertex
public CADVertex getGeometricalVertex(int index)
index
- the index of the vertex.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |