Itasca C++ Interface
Loading...
Searching...
No Matches
isurface.h
Go to the documentation of this file.
1#pragma once
2// isurface.h
3
9namespace itasca
10{
11 class IThing;
12}
13
14namespace zone
15{
19 {
20 public:
22 inline static const TType type_ = 0x4c815a2c;
24 virtual const IThing * getIThing() const=0;
26 virtual IThing * getIThing()=0;
29 virtual const ISurface * getNext() const=0;
32 virtual ISurface * getNext()=0;
34 virtual uint64 getVolumeID() const=0;
36 virtual DVect3 getNodePosition(uint32 no) const= 0;
38 virtual IString getName() const = 0;
40 virtual DVect3 getNormal() const = 0;
42 virtual const ISurface * getJoinSurface(uint32 no) const = 0;
43 };
44} // namespace zone
45// EoF
46
Definition istring.h:14
Base class for items that will be stored in containers.
Definition ithing.h:30
Interface to provide access to surfaces, see command GEN SURFACE.
Definition isurface.h:19
virtual const ISurface * getJoinSurface(uint32 no) const =0
given a edge number, return the join surface
virtual ISurface * getNext()=0
virtual IThing * getIThing()=0
returns a IThing pointer
virtual DVect3 getNodePosition(uint32 no) const =0
given a node number, return the node position
virtual const ISurface * getNext() const =0
virtual const IThing * getIThing() const =0
returns a const IThing pointer
virtual IString getName() const =0
return the name of collection of triangles if there is a collection
virtual DVect3 getNormal() const =0
returns the surface normal vector
virtual uint64 getVolumeID() const =0
returns the volume ID that a surface belongs to
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition isurface.h:22
uint32 TType
class type indicator
Definition basedef.h:46
namespace Itasca
Definition basememory.cpp:14