FLImaging 6.5.8.1
TPoint3.h
1#pragma once
2
11#include <stdint.h>
12#include <type_traits>
13#include <typeinfo>
14
15#include "FLLibTags.h"
16
18namespace FLImaging
19{
21 namespace Base
22 {
34 #pragma pack(push, 1)
35 template <typename T>
36 class FL_EXPORT TPoint3
37 {
38 public:
39 T x;
40 T y;
41 T z;
42
43
44 TPoint3()
45 {
46 }
47
48 TPoint3(T tX, T tY, T tZ) : x(tX), y(tY), z(tZ)
49 {
50 }
51
52 TPoint3(const TPoint3<T>& tp) : x(tp.x), y(tp.y), z(tp.z)
53 {
54 }
55
56 void Set(const TPoint3<T>& tp)
57 {
58 x = tp.x;
59 y = tp.y;
60 z = tp.z;
61 }
62
63 void Set(T tX, T tY, T tZ)
64 {
65 x = tX;
66 y = tY;
67 z = tZ;
68 }
69 };
70 #pragma pack(pop)
71
82 }
83}
Simplified class representing a 3-D point.
Definition TPoint3.h:37