Point2DConcept Struct Template Reference
[Point]

#include <gil_concept.hpp>

List of all members.


Detailed Description

template<typename P>
struct Point2DConcept< P >

2-dimensional point concept

template <typename P>
concept Point2DConcept : PointNDConcept<P> {    
    where num_dimensions==2;
    where axis<0>::coord_type == axis<1>::coord_type;

    typename value_type = axis<0>::coord_type;

    const value_type& operator[](size_t i) const;
          value_type& operator[](size_t i);

    value_type x,y;
};


Public Member Functions

void constraints ()

Public Attributes

point

The documentation for this struct was generated from the following file:

Copyright © 2006 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google