Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
igeompoint.h
Go to the documentation of this file.
1
#pragma once
2
7
8
#include "
ilinktype.h
"
9
11
namespace
itascaxd
{
14
15
class
IGeomEdge;
16
class
GeomBase;
18
class
IGeomPoint
{
19
public
:
21
inline
static
const
TType
type_
= 0x4c815bc7;
22
24
virtual
IThing
*
getIThing
()=0;
26
virtual
const
IThing
*
getIThing
()
const
=0;
27
29
virtual
DVect
getPosition
()
const
=0;
30
virtual
DVect3 getPosition3()
const
=0;
34
virtual
void
setPosition
(
const
DVect
&pos)=0;
35
virtual
void
setPosition3(
const
DVect3 &pos3)=0;
36
38
virtual
CLinkType<IGeomEdge>
getStart
()
const
=0;
40
virtual
LinkType<IGeomEdge>
getStart
()=0;
42
virtual
const
GeomBase *
getGeomBase
()
const
=0;
43
};
44
45
}
// namespace itascaxd
46
// EoF
itasca::IThing
Base class for items that will be stored in containers.
Definition
ithing.h:31
itascaxd::IGeomPoint
Interface for a user-defined geometric point.
Definition
igeompoint.h:18
itascaxd::IGeomPoint::getGeomBase
virtual const GeomBase * getGeomBase() const =0
Return const GeomBase.
itascaxd::IGeomPoint::getStart
virtual CLinkType< IGeomEdge > getStart() const =0
Returns an interface to a CLinkType<> object, a const pointer to the first object in the linked list.
itascaxd::IGeomPoint::getIThing
virtual const IThing * getIThing() const =0
Return a const IThing interface for this object.
itascaxd::IGeomPoint::getStart
virtual LinkType< IGeomEdge > getStart()=0
Returns an interface to a LinkType<> object, a pointer to the first object in the linked list.
itascaxd::IGeomPoint::getPosition
virtual DVect getPosition() const =0
Returns the position associated with the point.
itascaxd::IGeomPoint::setPosition
virtual void setPosition(const DVect &pos)=0
itascaxd::IGeomPoint::getIThing
virtual IThing * getIThing()=0
Return an IThing interface for this object.
itascaxd::IGeomPoint::type_
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition
igeompoint.h:21
TType
uint32 TType
class type indicator
Definition
basedef.h:47
DVect
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition
dim.h:156
ilinktype.h
Interface for LinkType<> objects, POD that contain both the pointer to the next object and an index f...
itascaxd
Itasca Library standard namespace, specific to 2D or 3D.
Definition
icontactmodule.h:6
itascaxd::CLinkType
same as LynkType, but with a constant pointer object
Definition
ilinktype.h:46
itascaxd::LinkType
Interface for LinkType<> objects, POD that contain both the pointer to the next object and an index f...
Definition
ilinktype.h:12
common
module
interface
igeompoint.h
Generated by
1.18.0