FLImaging
7.6.11.1
Toggle main menu visibility
FLImagingBase
FLImagingBase
TPoint3.h
1
#pragma once
2
10
11
#include <stdint.h>
12
#include <type_traits>
13
#include <typeinfo>
14
15
#include "FLLibTags.h"
16
18
namespace
FLImaging
19
{
21
namespace
Base
22
{
34
#pragma pack(push, 1)
35
template
<
typename
T>
36
class
FL_EXPORT
TPoint3
37
{
38
public
:
43
T
x
;
44
49
T
y
;
50
55
T
z
;
56
64
TPoint3
()
65
{
66
}
67
81
TPoint3
(T tX, T tY, T tZ) :
x
(tX),
y
(tY),
z
(tZ)
82
{
83
}
84
94
TPoint3
(
const
TPoint3<T>
& tp) :
x
(tp.
x
),
y
(tp.
y
),
z
(tp.
z
)
95
{
96
}
97
107
void
Set
(
const
TPoint3<T>
& tp)
108
{
109
x
= tp.
x
;
110
y
= tp.
y
;
111
z
= tp.
z
;
112
}
113
127
void
Set
(T tX, T tY, T tZ)
128
{
129
x
= tX;
130
y
= tY;
131
z
= tZ;
132
}
133
};
134
#pragma pack(pop)
135
136
typedef
TPoint3<int8_t> TPoint3C;
137
typedef
TPoint3<uint8_t> TPoint3UC;
138
typedef
TPoint3<int16_t> TPoint3S;
139
typedef
TPoint3<uint16_t> TPoint3US;
140
typedef
TPoint3<int32_t> TPoint3L;
141
typedef
TPoint3<uint32_t> TPoint3UL;
142
typedef
TPoint3<int64_t> TPoint3LL;
143
typedef
TPoint3<uint64_t> TPoint3ULL;
144
typedef
TPoint3<float> TPoint3F;
145
typedef
TPoint3<double> TPoint3D;
146
}
147
}
FLImaging::Base::TPoint3< int8_t >::x
int8_t x
Definition
TPoint3.h:43
FLImaging::Base::TPoint3::Set
void Set(T tX, T tY, T tZ)
Sets the coordinates.
Definition
TPoint3.h:127
FLImaging::Base::TPoint3< int8_t >::y
int8_t y
Definition
TPoint3.h:49
FLImaging::Base::TPoint3::TPoint3
TPoint3(T tX, T tY, T tZ)
Constructs a TPoint3 object with the specified coordinates.
Definition
TPoint3.h:81
FLImaging::Base::TPoint3::TPoint3
TPoint3()
default constructor
Definition
TPoint3.h:64
FLImaging::Base::TPoint3::TPoint3
TPoint3(const TPoint3< T > &tp)
Copy constructor.
Definition
TPoint3.h:94
FLImaging::Base::TPoint3::Set
void Set(const TPoint3< T > &tp)
Sets the coordinates from another TPoint3 object.
Definition
TPoint3.h:107
FLImaging::Base::TPoint3< int8_t >::z
int8_t z
Definition
TPoint3.h:55
FLImaging::Base
Definition
AESCryptography.h:18
FLImaging
Generated on
for FLImaging by
1.17.0