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

A concept representing a Segment. More...

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

Concept definition

template<typename T>
concept vcl::SegmentConcept = std::derived_from<
std::remove_cvref_t<T>,
Segment<typename RemoveRef<T>::PointType>>
A concept representing a Segment.
Definition segment.h:201

Detailed Description

A concept representing a Segment.

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

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