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

Interface for a vertex used in the faceted wall logic. This is the interface for a vertex used in the faceted wall logic. A vertex is simply a point in space that can have a linear velocity. When a vertex has a linear velocity then the associated wall translational and angular velocities are set to 0. The user is responsible for ensuring that the wall remains orientable and manifold if the positions or velocities are set through this interface. More...

#include <ihalfvertex.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 DVect getPosition () const =0
 Returns the DVect position of the vertex.
 
virtual DVect getVelocity () const =0
 Returns the DVect translational velocity of the vertex.
 
virtual void setPosition (const DVect &p)=0
 Set the vertex position to p.
 
virtual void setVelocity (const DVect &p)=0
 Set the vertex translational velocity to p.
 
virtual void getFacetList (FArray< IHalfFacet * > *ret)=0
 Return a list of IHalfFacet objects that share this vertex.
 
virtual void getFacetList (FArray< const IHalfFacet * > *ret) const =0
 Return a list of const IHalfFacet objects that share this vertex.
 
virtual QVariant getAttribute (const QString &name) const =0
 Return the pointer to the parent FWall.
 

Static Public Attributes

static const TType type_ = 0x4c90671b
 TType type for type casting.
 

Detailed Description

Interface for a vertex used in the faceted wall logic. This is the interface for a vertex used in the faceted wall logic. A vertex is simply a point in space that can have a linear velocity. When a vertex has a linear velocity then the associated wall translational and angular velocities are set to 0. The user is responsible for ensuring that the wall remains orientable and manifold if the positions or velocities are set through this interface.

Member Function Documentation

◆ getAttribute()

virtual QVariant itascaxd::IHalfVertex::getAttribute ( const QString & name) const
pure virtual

Return the pointer to the parent FWall.

Return an attribute - used for plotting


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