|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
V - the class used to represent vertices of this meshpublic interface MetricMesh<V>
A mesh with edge length information.
This representation of a mesh conveys distance information along with the combinatorics of the mesh. It is suitably general to work for different geometries.
| Method Summary | |
|---|---|
double |
edgeLength(V v1,
V v2)
Determine distance between adjacent vertices of the mesh. |
| Methods inherited from interface net.von_gagern.martin.confoo.mesh.CombinatoricMesh |
|---|
iterator |
| Method Detail |
|---|
double edgeLength(V v1,
V v2)
The returned length need not necessarily be equal to the euclidean length as determined from the vertex coordinates, if such coordinates are known in the first place.
An implementation may throw any convenient
RuntimeException if the vertices are not adjacent, or
not part of this mesh, but it is not required to do so. The
order of the arguments should be irrelevant.
v1 - one vertex of an edgev2 - a second vertex of the same edge
RuntimeException - if the vertices are not adjacent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||