Itasca C++ Interface
Loading...
Searching...
No Matches
ihalfvertex.h
1#pragma once
7#include "base/src/farray.h"
8#include "baseqt/src/baseqt.h"
9
10
11namespace itasca {
12 class IThing;
13}
14
15namespace itascaxd {
16 using namespace itasca;
17
18 class IHalfFacet;
19 //class IFWall;
20
29 public:
31 inline static const TType type_ = 0x4c90671b;
32
34 virtual IThing * getIThing()=0;
36 virtual const IThing * getIThing() const=0;
37
39 virtual DVect getPosition() const=0;
41 virtual DVect getVelocity() const=0;
42
44 virtual void setPosition(const DVect &p)=0;
46 virtual void setVelocity(const DVect &p)=0;
47
49 virtual void getFacetList(FArray<IHalfFacet *> *ret)=0;
51 virtual void getFacetList(FArray<const IHalfFacet *> *ret) const=0;
52
54 //virtual IFWall * getParentFWall()=0;
55 //virtual const IFWall * getParentFWall() const=0;
56
58 virtual QVariant getAttribute(const QString &name) const=0;
59
60
61 };
62}// namespace pfc
63// EoF
64
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:31
Interface for a vertex used in the faceted wall logic. This is the interface for a vertex used in the...
Definition ihalfvertex.h:28
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:31
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:47
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
namespace Itasca
Definition basememory.cpp:14
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:6