Visual Computing Library
Loading...
Searching...
No Matches
vcl::comp::HasBoundingBox Concept Reference

HasBoundingBox concept is satisfied only if a Element or Mesh class provides the member functions specified in this concept. These member functions allows to access to a vcl::comp::BoundingBox component of a given element/mesh. More...

#include <vclib/concepts/mesh/components/bounding_box.h>

Concept definition

template<typename T>
concept vcl::comp::HasBoundingBox = requires (T&& obj) {
typename RemoveRef<T>::BoundingBoxType;
{ obj.boundingBox() } -> Box3Concept;
}
A concept that requires a type to satisfy the BoxConcept and have a dimension of 3.
Definition box.h:126
HasBoundingBox concept is satisfied only if a Element or Mesh class provides the member functions spe...
Definition bounding_box.h:39

Detailed Description

HasBoundingBox concept is satisfied only if a Element or Mesh class provides the member functions specified in this concept. These member functions allows to access to a vcl::comp::BoundingBox component of a given element/mesh.