Adobe Systems, Inc.

PointNDConcept< P > Struct Template Reference
[Point]

N-dimensional point concept. More...

#include <gil_concept.hpp>

List of all members.


Public Member Functions

void constraints ()

Public Attributes

point

Detailed Description

template<typename P>
struct PointNDConcept< P >

template <typename P>
concept PointNDConcept : ValueType<P> {    
    // the type of coordinate along each axis
    template <size_t D> struct axis { typename coord_type; };
        
    static const size_t num_dimensions;
    
    // accessor/modifier of the value of each axis.
    template <size_t D> const axis<D>::coord_type& v() const;
    template <size_t D>       axis<D>::coord_type& v();
};

Definition at line 91 of file gil_concept.hpp.

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