1 #line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.9-windows/ufe/include/types.h" 36 T
x()
const {
return std::get<0>(vector); }
37 T
y()
const {
return std::get<1>(vector); }
38 T
z()
const {
return std::get<2>(vector); }
39 void set(T x, T y, T z) { std::get<0>(vector) = x; std::get<1>(vector) = y; std::get<2>(vector) = z; }
43 return vector == rhs.
vector;
48 return vector != rhs.
vector;
72 T
r()
const {
return std::get<0>(color); }
73 T
g()
const {
return std::get<1>(color); }
74 T
b()
const {
return std::get<2>(color); }
75 void set(T r, T g, T b) { std::get<0>(color) = r; std::get<1>(color) = g; std::get<2>(color) = b; }
79 return color == rhs.
color;
84 return color != rhs.
color;
104 min.
vector.fill(std::numeric_limits<double>::max());
105 max.
vector.fill(std::numeric_limits<double>::lowest());
111 return min.
x() > max.
x() || min.
y() > max.
y() || min.
z() > max.
z();
121 std::array<std::array<double, 4>, 4>
matrix;
bool operator!=(const TypedVector3< T > &rhs) const
TypedVector3< double > Vector3d
TypedVector3(T x, T y, T z)
bool operator==(const TypedVector3< T > &rhs) const
TypedColor3(T r, T g, T b)
Definition of macros for symbol visibility.
BBox3d()
Create an empty bounding box.
Typed color template for creating a specialized color.
TypedColor3< float > Color3f
bool operator!=(const TypedColor3< T > &rhs) const
BBox3d(const Vector3d &aMin, const Vector3d &aMax)
TypedVector3< int > Vector3i
bool operator==(const TypedColor3< T > &rhs) const
std::array< T, 3 > vector
Typed vector template for creating a specialized vector.
std::array< std::array< double, 4 >, 4 > matrix
Matrix class for 3D transforms.
TypedVector3< float > Vector3f