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

HasCoordinate concept is satisfied only if a Element class provides the types and member functions specified in this concept. These types and member functions allow to access to a vcl::comp::Coordinate component of a given element. More...

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

Concept definition

template<typename T>
concept vcl::comp::HasCoordinate = requires (T&& obj) {
typename RemoveRef<T>::CoordType;
{ obj.coord() } -> PointConcept;
}
Concept for types representing points in Euclidean space.
Definition point.h:40
HasCoordinate concept is satisfied only if a Element class provides the types and member functions sp...
Definition coordinate.h:39

Detailed Description

HasCoordinate concept is satisfied only if a Element class provides the types and member functions specified in this concept. These types and member functions allow to access to a vcl::comp::Coordinate component of a given element.