Virtual Testbed
Ship dynamics simulator for extreme conditions
Classes | Typedefs | Enumerations | Functions
vtb::iges Namespace Reference

IGES import/export. More...

Classes

class  Composite_curve
 Entity type 102. More...
 
struct  Directory_entry
 Directory section entry. More...
 
struct  Entity
 Base class for entities. More...
 
class  Graphics
 IGES importer. More...
 
class  iges_loader
 IGES importer. More...
 
class  iges_ostream
 Output stream that automatically wraps text for IGES files. More...
 
class  iges_ostreambuf
 Stream buffer that automatically wraps text for IGES files. More...
 
class  Line
 Entity type 110. More...
 
class  Null
 
class  Parametric_spline_surface
 Entity type 114. More...
 
class  Point
 Entity type 116. More...
 
class  Rational_basis_spline_surface
 Entity type 128. More...
 
class  Ruled_surface
 Entity type 118. More...
 
struct  string
 IGES string. More...
 
struct  timestamp
 IGES timestamp. More...
 

Typedefs

typedef std::shared_ptr< EntityPointer
 
typedef std::vector< PointerEntity_container
 
using Double = double
 
using Integer = long
 
using Single = float
 

Enumerations

enum  Section : char {
  Start = 'S',
  Global = 'G',
  DirectoryEntry = 'D',
  ParameterData = 'P',
  Terminate = 'T',
  Unknown = '\0'
}
 Section codes.
 
enum  Entity_type : int {
  Null = 0,
  Composite_curve = 102,
  Line = 110,
  Point = 116,
  Parametric_spline_surface = 114,
  Ruled_surface = 118,
  Rational_basis_spline_surface = 128
}
 
enum  Unit : int {
  Inches = 1,
  Millimetres = 2,
  Custom = 3,
  Feet = 4,
  Miles = 5,
  Meters = 6,
  Kilometers = 7,
  Mils = 8,
  Microns = 9,
  Centimeters = 10,
  Microinches = 11
}
 

Functions

const char * operator>> (const char *text, Directory_entry &entry)
 
std::ostreamoperator<< (std::ostream &out, const Directory_entry &rhs)
 
iges_ostreamoperator<< (iges_ostream &out, const Entity &rhs)
 
std::istreamoperator>> (std::istream &in, Graphics &rhs)
 
std::ostreamoperator<< (std::ostream &out, const Graphics &rhs)
 
std::istreamoperator>> (std::istream &in, string &rhs)
 
std::ostreamoperator<< (std::ostream &out, const string &rhs)
 
std::ostreamoperator<< (std::ostream &out, const string::string_pp &rhs)
 
iges_ostreamoperator<< (iges_ostream &out, const string &rhs)
 
std::ostreamoperator<< (std::ostream &out, const timestamp &rhs)
 
std::istreamoperator>> (std::istream &in, timestamp &rhs)
 
std::ostreamoperator<< (std::ostream &out, const timestamp::iges_date_pp &rhs)
 
iges_ostreamoperator<< (iges_ostream &out, const timestamp &rhs)
 
std::istreamoperator>> (std::istream &in, Unit &rhs)
 
const char * to_string (Unit rhs)
 
std::ostreamoperator<< (std::ostream &out, Unit rhs)
 
string unit_name (Unit unit)
 

Detailed Description

IGES import/export.