Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
ihalfvertex.h
1
#pragma once
7
#include "
base/src/farray.h
"
8
#include "base/src/property.h"
9
10
namespace
itasca
{
11
class
IThing
;
12
}
13
14
namespace
itascaxd
{
15
using namespace
itasca;
16
17
class
IHalfFacet;
18
//class IFWall;
19
27
class
IHalfVertex
{
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
base::Property
getAttribute
(
const
string
&name)
const
=0;
58
59
60
};
61
}
// namespace pfc
62
// EoF
63
FArray
An array class that attempts to minimize unnecessary heap access.
Definition
farray.h:25
base::Property
Definition
property.h:52
itasca::IThing
Base class for items that will be stored in containers.
Definition
ithing.h:31
itascaxd::IHalfVertex
Interface for a vertex used in the faceted wall logic. This is the interface for a vertex used in the...
Definition
ihalfvertex.h:27
itascaxd::IHalfVertex::getIThing
virtual const IThing * getIThing() const =0
Return a const IThing interface for this object.
itascaxd::IHalfVertex::type_
static const TType type_
TType type for type casting.
Definition
ihalfvertex.h:30
itascaxd::IHalfVertex::setVelocity
virtual void setVelocity(const DVect &p)=0
Set the vertex translational velocity to p.
itascaxd::IHalfVertex::getFacetList
virtual void getFacetList(FArray< const IHalfFacet * > *ret) const =0
Return a list of const IHalfFacet objects that share this vertex.
itascaxd::IHalfVertex::getIThing
virtual IThing * getIThing()=0
Return an IThing interface for this object.
itascaxd::IHalfVertex::getAttribute
virtual base::Property getAttribute(const string &name) const =0
Return the pointer to the parent FWall.
itascaxd::IHalfVertex::getVelocity
virtual DVect getVelocity() const =0
Returns the DVect translational velocity of the vertex.
itascaxd::IHalfVertex::getFacetList
virtual void getFacetList(FArray< IHalfFacet * > *ret)=0
Return a list of IHalfFacet objects that share this vertex.
itascaxd::IHalfVertex::setPosition
virtual void setPosition(const DVect &p)=0
Set the vertex position to p.
itascaxd::IHalfVertex::getPosition
virtual DVect getPosition() const =0
Returns the DVect position of the vertex.
farray.h
An array class that attempts to minimize unnecessary heap access.
TType
uint32 TType
class type indicator
Definition
basedef.h:47
DVect
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition
dim.h:156
itasca
namespace Itasca
Definition
basememory.cpp:14
itascaxd
Itasca Library standard namespace, specific to 2D or 3D.
Definition
icontactmodule.h:6
common
module
interface
ihalfvertex.h
Generated by
1.18.0