|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcae.mesh.amibe.ds.MNode1D
public class MNode1D
1D node.
Nodes are located via their curvilinear abscissa on the working edge.
The edge on which MNode1D
are lying is not stored here
because there is currently no need for such a link, all methods
using MNode1D
instances are looping on all topological
edges, and thus current edge is known within those loops.
Constructor Summary | |
---|---|
MNode1D(double t,
BDiscretization d)
Creates a MNode1D instance. |
|
MNode1D(double t,
CADVertex v)
Creates a MNode1D instance. |
Method Summary | |
---|---|
CADVertex |
getCADVertex()
Returns the topological vertex sharing the same location. |
int |
getID()
Returns the public identifer. |
int |
getLabel()
Returns the node label. |
MNode1D |
getMaster()
Returns the master MNode1D instance. |
double |
getParameter()
Returns the curvilinear abscissa. |
boolean |
isDegenerated()
Tells if this node lies on a degenerated edge. |
boolean |
isDegenerated(boolean d)
Changes the node status about degenerated edges. |
boolean |
isMutable()
Tells if this node can be altered. |
void |
setLabel(int l)
Sets node label. |
MNode1D |
setMaster(MNode1D ref)
Binds to a master MNode1D instance. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MNode1D(double t, CADVertex v)
MNode1D
instance.
t
- curvilinear abscissa on current edgev
- if not null, the topological vertex which shares the same
locationpublic MNode1D(double t, BDiscretization d)
MNode1D
instance.
t
- curvilinear abscissa on current edged
- if not null, the vertex discretization usedMethod Detail |
---|
public int getID()
public void setLabel(int l)
l
- node labelpublic int getLabel()
public double getParameter()
public CADVertex getCADVertex()
public MNode1D getMaster()
MNode1D
instance.
Return value is a valid object, it cannot be null.
MNode1D
instance.public MNode1D setMaster(MNode1D ref)
MNode1D
instance.
ref
- the master MNode1D
instance.public boolean isMutable()
true
if this node can be altered, and
false
otherwise.public boolean isDegenerated()
true
if this node lies on a degenerated edge,
false
otherwise.public boolean isDegenerated(boolean d)
d
- set status about degenerated edges to the boolean
value d
.
d
argument.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 |