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

A concept representing a 2D Segment. More...

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

Concept definition

template<typename T>
concept vcl::Segment2Concept = SegmentConcept<T> && RemoveRef<T>::DIM == 2
A concept representing a 2D Segment.
Definition segment.h:216
A concept representing a Segment.
Definition segment.h:201

Detailed Description

A concept representing a 2D Segment.

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

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