15#ifndef DRACO_CORE_BOUNDING_BOX_H_
16#define DRACO_CORE_BOUNDING_BOX_H_
48 for (
int i = 0; i < 3; i++) {
49 if (new_point[i] < min_point_[i]) {
50 min_point_[i] = new_point[i];
52 if (new_point[i] > max_point_[i]) {
53 max_point_[i] = new_point[i];
Vector3f Size() const
Definition bounding_box.h:66
const Vector3f & GetMaxPoint() const
Definition bounding_box.h:39
Vector3f Center() const
Definition bounding_box.h:69
const Vector3f & GetMinPoint() const
Definition bounding_box.h:36
BoundingBox()
Definition bounding_box.cc:19
void Update(const Vector3f &new_point)
Definition bounding_box.h:47
void Update(const BoundingBox &other)
Definition bounding_box.h:60
const bool IsValid() const
Definition bounding_box.cc:30
Definition attribute_octahedron_transform.cc:21
VectorD< float, 3 > Vector3f
Definition vector_d.h:340