Class ModelSurfaceTopology.EdgeAttribute

  • Enclosing class:
    ModelSurfaceTopology

    protected class ModelSurfaceTopology.EdgeAttribute
    extends java.lang.Object
    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 
      Modifier and Type Field Description
      java.lang.Object m_kData
      support for application-specific data.
      ModelSet m_kTSet
      set of .
    • Constructor Summary

      Constructors 
      Constructor Description
      EdgeAttribute()
      Construct an attribute for an edge.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isEmpty()
      Test if the set of adjacent triangles is empty.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • m_kData

        public java.lang.Object m_kData
        support for application-specific data.
      • m_kTSet

        public ModelSet m_kTSet
        set of .
    • Constructor Detail

      • EdgeAttribute

        public EdgeAttribute()
        Construct an attribute for an edge. The set of triangles is initially empty.
    • Method Detail

      • 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