org.jcae.mesh.amibe.ds
Class TriangleHE
java.lang.Object
org.jcae.mesh.amibe.ds.Triangle
org.jcae.mesh.amibe.ds.TriangleHE
- All Implemented Interfaces:
- java.io.Serializable
public class TriangleHE
- extends Triangle
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TriangleHE
public TriangleHE(TriangleTraitsBuilder ttb)
- Constructor.
copy
public final void copy(Triangle src)
- Overrides:
copy
in class Triangle
getAbstractHalfEdge
public HalfEdge getAbstractHalfEdge()
- Gets an
AbstractHalfEdge
instance bound to this triangle.
This method returns HalfEdge
0.
- Overrides:
getAbstractHalfEdge
in class Triangle
- Returns:
- an
HalfEdge
instance bound to this triangle
getAbstractHalfEdge
public HalfEdge getAbstractHalfEdge(AbstractHalfEdge that)
- Gets an
AbstractHalfEdge
instance bound to this triangle.
This method returns HalfEdge
0, argument is unused
- Overrides:
getAbstractHalfEdge
in class Triangle
- Parameters:
that
- dummy argument
- Returns:
- an
HalfEdge
instance bound to this triangle
setAttributes
public void setAttributes(int attr)
- Sets attributes for all edges of this triangle.
- Overrides:
setAttributes
in class Triangle
- Parameters:
attr
- attributes to set on edges
clearAttributes
public void clearAttributes(int attr)
- Resets attributes for all edges of this triangle.
- Overrides:
clearAttributes
in class Triangle
- Parameters:
attr
- attributes to reset on edges
hasAttributes
public boolean hasAttributes(int attr)
- Checks if some attributes of this triangle are set.
- Overrides:
hasAttributes
in class Triangle
- Parameters:
attr
- attributes to check
- Returns:
true
if any edge of this triangle has
one of these attributes set, false
otherwise
toString
public java.lang.String toString()
- Overrides:
toString
in class Triangle