Virtual Testbed
Ship dynamics simulator for extreme conditions
src
vtestbed
iges
point.hh
1
#ifndef VTESTBED_IGES_POINT_HH
2
#define VTESTBED_IGES_POINT_HH
3
4
#include <blitz/array.h>
5
6
#include <vtestbed/iges/entity.hh>
7
8
namespace
vtb
{
9
10
namespace
iges {
11
13
template
<
class
T>
14
class
Point
:
public
Entity
{
15
16
private
:
17
typedef
blitz::TinyVector<T,3> vec3;
18
19
private
:
20
vec3 _x;
21
22
public
:
23
24
inline
25
Point
(
const
vec3& x):
26
Entity
(Entity_type::Point), _x(x) {}
27
28
protected
:
29
30
void
31
parameters(
iges_ostream
& out)
const override
;
32
33
};
34
35
}
36
37
}
38
39
#endif // vim:filetype=cpp
vtb::iges::Entity
Base class for entities.
Definition:
iges/entity.hh:17
vtb
Main namespace.
Definition:
convert.hh:9
vtb::iges::iges_ostream
Output stream that automatically wraps text for IGES files.
Definition:
stream.hh:143
vtb::iges::Point
Entity type 116.
Definition:
point.hh:14
Generated by
1.8.15