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

A concept to check whether a type meets the requirements of a 3D segment. More...

#include <vclib/concepts/space/segment.h>

Concept definition

template<typename T>
concept vcl::Segment3Concept = SegmentConcept<T> && RemoveRef<T>::DIM == 3
A concept to check whether a type meets the requirements of a 3D segment.
Definition segment.h:106
Concept for types representing line segments in Euclidean space.
Definition segment.h:36

Detailed Description

A concept to check whether a type meets the requirements of a 3D segment.

This concept checks that the input type T satisfies the requirements of a 3D segment, which means that it must have the following properties:

  • It satisfies the requirements of the SegmentConcept.
  • It has a static constant member DIM equal to 3.
Template Parameters
TThe type to be tested for conformity to the Segment3Concept.