Itasca C++ Interface
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
itascaxd::IHalfFacet Class Referenceabstract

Interface for a facet used in the faceted wall logic. This is the interface for a triangular facet as used in the faceted wall logic. A facet consists of three vertices and three edges and the next facet in the local list (for a single faceted wall) can be obtained via the getNextIHalfFacet() method. The centroid is taken to be the average location of the facet vertices. Facets, at some level, are used as Pieces and/or PieceMechanical objects and, as such, must return a pointer. More...

#include <ihalffacet.h>

Public Member Functions

virtual IThinggetIThing ()=0
 Return an IThing interface for this object.
 
virtual const IThinggetIThing () const =0
 Return a const IThing interface for this object.
 
virtual IPiecegetIPiece ()=0
 Return an IPiece pointer.
 
virtual const IPiecegetIPiece () const =0
 Return a const IPiece pointer.
 
virtual IPieceMechanicalgetIPieceMechanical ()=0
 Return an IPieceMechanical pointer.
 
virtual const IPieceMechanicalgetIPieceMechanical () const =0
 Return a const IPieceMechanical pointer.
 
virtual IPieceMechanicalDatagetIPieceMechanicalData ()=0
 Return an IPieceMechanicalData pointer.
 
virtual const IPieceMechanicalDatagetIPieceMechanicalData () const =0
 Return a const IPieceMechanicalData pointer.
 
virtual IHalfFacetgetNextIHalfFacet ()=0
 Return the next IHalfFacet in the local list of facets.
 
virtual const IHalfFacetgetNextIHalfFacet () const =0
 Return the next const IHalfFacet in the local list of facets.
 
virtual IHalfVertexgetIHalfVertex (int i)=0
 Return the IHalfVertex with index i that corresponds to the dimension.
 
virtual const IHalfVertexgetIHalfVertex (int i) const =0
 Return the const IHalfVertex with index i that corresponds to the dimension.
 
virtual IHalfEdgegetIHalfEdge (int i)=0
 Return the IHalfEdge with index i. The origin of IHalfEdge i is IHalfVertex i.
 
virtual const IHalfEdgegetIHalfEdge (int i) const =0
 Return the const IHalfEdge with index i. The origin of IHalfEdge i is IHalfVertex i.
 
virtual DVect getCentroid () const =0
 Return the DVect centroid of the facet or the average position of all vertices.
 
virtual DExtent3 getExtent () const =0
 Return the extent in DExtent3 format.
 
virtual DExtent getCellExtent () const =0
 Return the DExtent cell extent used for contact detection and remapping.
 
virtual DExtent getToleranceExtent () const =0
 Return the DExtent cell extent used for contact detection and remapping.
 
virtual DVect3 getNormal () const =0
 Return the DVect normal of the facets.
 
virtual DVect calcClosestPoint (const DVect &) const =0
 Return a pointer the the parent faceted wall.
 
virtual DVect getPosition () const =0
 Return the centroid position.
 
virtual DVect getVelocity () const =0
 Return the velocity at the centroid.
 
virtual DVect getConveyorVelocity () const =0
 Return the conveyor velocity.
 
virtual void setConveyorVelocity (const DVect &)=0
 Set the conveyor velocity.
 
virtual QString getActiveSideLabel () const =0
 Return the string of the facet activity.
 
virtual int getActiveSide () const =0
 Return the integer of the side activity.
 
virtual void setActiveSide (int t)=0
 Set the integer of the side activity.
 

Static Public Attributes

static const TType type_ = 0x4c90674d
 TType type used for type casting.
 

Detailed Description

Interface for a facet used in the faceted wall logic. This is the interface for a triangular facet as used in the faceted wall logic. A facet consists of three vertices and three edges and the next facet in the local list (for a single faceted wall) can be obtained via the getNextIHalfFacet() method. The centroid is taken to be the average location of the facet vertices. Facets, at some level, are used as Pieces and/or PieceMechanical objects and, as such, must return a pointer.

Member Function Documentation

◆ calcClosestPoint()

virtual DVect itascaxd::IHalfFacet::calcClosestPoint ( const DVect & ) const
pure virtual

Return a pointer the the parent faceted wall.

Return a pointer the the parent TriPoly Return a DVect that is the closest point to this facet.


The documentation for this class was generated from the following file: