|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcae.mesh.amibe.ds.SubMesh1D
public class SubMesh1D
1D discretization of a single topological edge.
The SubMesh1D
class represents a 1D discretization of
topological edges.
In order to ensure fitting in 3D space, edges are discretized only once
even if they appear with several orientations.
Constructor Summary | |
---|---|
SubMesh1D(BDiscretization d,
MMesh0D m0d)
Creates a SubMesh1D instance and initializes it with
vertices found in a MMesh0D instance. |
|
SubMesh1D(CADEdge E)
Creates an empty SubMesh1D instance. |
|
SubMesh1D(CADEdge E,
MMesh0D m0d)
Creates a SubMesh1D instance and initializes it with
vertices found in a MMesh0D instance. |
Method Summary | |
---|---|
java.util.ArrayList<MEdge1D> |
getEdges()
Returns the list of edges. |
java.util.Iterator<MEdge1D> |
getEdgesIterator()
Returns an iterator over the list of edges. |
CADEdge |
getGeometry()
Returns the topological edge. |
java.util.ArrayList<MNode1D> |
getNodes()
Returns the list of nodes. |
java.util.Iterator<MNode1D> |
getNodesIterator()
Returns an iterator over the list of nodes. |
boolean |
isValid()
Checks the validity of a 1D discretization. |
void |
printInfos()
Prints edge lengths. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SubMesh1D(CADEdge E, MMesh0D m0d)
SubMesh1D
instance and initializes it with
vertices found in a MMesh0D
instance. The returned
SubMesh1D
instance can be seen as a very rough
approximation of the geometrical edge, which can be refined via
algorithms found in org.jcae.mesh.amibe.algos1d
.
E
- the topological edge being disretized,m0d
- the mesh containing all verticespublic SubMesh1D(BDiscretization d, MMesh0D m0d)
SubMesh1D
instance and initializes it with
vertices found in a MMesh0D
instance. The returned
SubMesh1D
instance can be seen as a very rough
approximation of the geometrical edge, which can be refined via
algorithms found in org.jcae.mesh.amibe.algos1d
.
d
- container for the requested discretizationm0d
- the mesh containing all verticespublic SubMesh1D(CADEdge E)
SubMesh1D
instance.
E
- the topological edge being disretized,Method Detail |
---|
public CADEdge getGeometry()
public java.util.ArrayList<MEdge1D> getEdges()
public java.util.ArrayList<MNode1D> getNodes()
public java.util.Iterator<MEdge1D> getEdgesIterator()
public java.util.Iterator<MNode1D> getNodesIterator()
public boolean isValid()
boolean
.
true
if all checks pass.
AssertException
- if a check fails.public void printInfos()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |