Class ModelSurfaceTopology.EdgeAttribute
java.lang.Object
gov.nih.mipav.view.renderer.J3D.model.structures.ModelSurfaceTopology.EdgeAttribute
- Enclosing class:
ModelSurfaceTopology
The attributes associated with an edge. These include the set of triangles sharing the edge. The data member
m_kData allows an application to attach whatever data it wants associated with the edge. The
attachment/detachment is performed by the application in the OnEdgeInsert/OnEdgeRemove callbacks.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisEmpty()Test if the set of adjacent triangles is empty.
-
Field Details
-
m_kData
support for application-specific data. -
m_kTSet
set of.
-
-
Constructor Details
-
EdgeAttribute
public EdgeAttribute()Construct an attribute for an edge. The set of triangles is initially empty.
-
-
Method Details
-
isEmpty
public boolean isEmpty()Test if the set of adjacent triangles is empty. The function is used to determine the bCreate/bDestroy parameters in the OnEdgeInsert/OnEdgeRemove callbacks.- Returns:
- true iff the edge has no adjacent triangles
-