Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
igeompoint.h
Go to the documentation of this file.
1 #pragma once
2 
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  };
45 } // namespace itascaxd
46 // EoF
Base class for items that will be stored in containers.
Definition: ithing.h:31
Interface for LinkType<> objects, POD that contain both the pointer to the next object and an index f...
virtual void setPosition(const DVect &pos)=0
virtual IThing * getIThing()=0
Return an IThing interface for this object.
virtual DVect getPosition() const =0
Returns the position associated with the point.
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition: igeompoint.h:21
unsigned int TType
class type indicator
Definition: basedef.h:41
Interface for a user-defined geometric point.
Definition: igeompoint.h:18
virtual const GeomBase * getGeomBase() const =0
Return const GeomBase.
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4
virtual CLinkType< IGeomEdge > getStart() const =0
Returns an interface to a CLinkType<> object, a const pointer to the first object in the linked list.
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition: dim.h:145