Itasca C++ Interface
Loading...
Searching...
No Matches
ihalfvertex.h
1#pragma once
7#include "base/src/farray.h"
8
9
10namespace itasca {
11 class IThing;
12}
13
14namespace itascaxd {
15 using namespace itasca;
16
17 class IHalfFacet;
18 //class IFWall;
19
28 public:
30 inline static const TType type_ = 0x4c90671b;
31
33 virtual IThing * getIThing()=0;
35 virtual const IThing * getIThing() const=0;
36
38 virtual DVect getPosition() const=0;
40 virtual DVect getVelocity() const=0;
41
43 virtual void setPosition(const DVect &p)=0;
45 virtual void setVelocity(const DVect &p)=0;
46
48 virtual void getFacetList(FArray<IHalfFacet *> *ret)=0;
50 virtual void getFacetList(FArray<const IHalfFacet *> *ret) const=0;
51
53 //virtual IFWall * getParentFWall()=0;
54 //virtual const IFWall * getParentFWall() const=0;
55
57 virtual QVariant getAttribute(const QString &name) const=0;
58
59
60 };
61}// namespace pfc
62// EoF
63
An array class that attempts to minimize unnecessary heap access.
Definition farray.h:25
Base class for items that will be stored in containers.
Definition ithing.h:30
Interface for a vertex used in the faceted wall logic. This is the interface for a vertex used in the...
Definition ihalfvertex.h:27
virtual const IThing * getIThing() const =0
Return a const IThing interface for this object.
static const TType type_
TType type for type casting.
Definition ihalfvertex.h:30
virtual void setVelocity(const DVect &p)=0
Set the vertex translational velocity to p.
virtual void getFacetList(FArray< const IHalfFacet * > *ret) const =0
Return a list of const IHalfFacet objects that share this vertex.
virtual IThing * getIThing()=0
Return an IThing interface for this object.
virtual DVect getVelocity() const =0
Returns the DVect translational velocity of the vertex.
virtual void getFacetList(FArray< IHalfFacet * > *ret)=0
Return a list of IHalfFacet objects that share this vertex.
virtual void setPosition(const DVect &p)=0
Set the vertex position to p.
virtual DVect getPosition() const =0
Returns the DVect position of the vertex.
virtual QVariant getAttribute(const QString &name) const =0
Return the pointer to the parent FWall.
An array class that attempts to minimize unnecessary heap access.
uint32 TType
class type indicator
Definition basedef.h:46
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
namespace Itasca
Definition basememory.cpp:10
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4