Itasca C++ Interface
Loading...
Searching...
No Matches
igeompoint.h
Go to the documentation of this file.
1#pragma once
2
8#include "ilinktype.h"
9
11namespace 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;
42 virtual const GeomBase * getGeomBase() const=0;
43 };
45} // namespace itascaxd
46// EoF
Base class for items that will be stored in containers.
Definition ithing.h:30
Interface for a user-defined geometric point.
Definition igeompoint.h:18
virtual const GeomBase * getGeomBase() const =0
Return const GeomBase.
virtual CLinkType< IGeomEdge > getStart() const =0
Returns an interface to a CLinkType<> object, a const pointer to the first object in the linked list.
virtual const IThing * getIThing() const =0
Return a const IThing interface for this object.
virtual LinkType< IGeomEdge > getStart()=0
Returns an interface to a LinkType<> object, a pointer to the first object in the linked list.
virtual DVect getPosition() const =0
Returns the position associated with the point.
virtual void setPosition(const DVect &pos)=0
virtual IThing * getIThing()=0
Return an IThing interface for this object.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition igeompoint.h:21
uint32 TType
class type indicator
Definition basedef.h:46
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
Interface for LinkType<> objects, POD that contain both the pointer to the next object and an index f...
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4