Visual Computing Library  devel
Loading...
Searching...
No Matches
vcl::SphereConcept Concept Reference

A concept representing a Sphere. More...

#include <vclib/space/core/sphere.h>

Concept definition

template<typename T>
concept vcl::SphereConcept = std::derived_from<
std::remove_cvref_t<T>,
Sphere<typename RemoveRef<T>::ScalarType>>
A concept representing a Sphere.
Definition sphere.h:127

Detailed Description

A concept representing a Sphere.

The concept is satisfied when T is a class that instantiates or derives from a Sphere class having any scalar type.

Template Parameters
TThe type to be tested for conformity to the SphereConcept.