Cortex  10.0.0-a4
Namespaces | Enumerations | Functions
PolygonAlgo.h File Reference
#include "OpenEXR/ImathBox.h"
#include "IECore/PolygonAlgo.inl"

Go to the source code of this file.

Namespaces

 IECore
 This namespace contains all components of the core library.
 

Enumerations

enum  IECore::Winding { ClockwiseWinding = 0, CounterClockwiseWinding = 1 }
 

Functions

template<typename Iterator >
std::iterator_traits< Iterator >::value_type IECore::polygonNormal (Iterator first, Iterator last)
 
template<typename Iterator >
std::iterator_traits< Iterator >::value_type IECore::polygonNormal (Iterator first, Iterator last, bool normalized)
 As above, but only normalizes the normal if normalised==true.
 
template<typename Iterator >
Winding IECore::polygonWinding (Iterator first, Iterator last)
 
template<typename Iterator >
Winding IECore::polygonWinding (Iterator first, Iterator last, const typename std::iterator_traits< Iterator >::value_type &viewVector)
 
template<typename Iterator >
Imath::Box< typename std::iterator_traits< Iterator >::value_type > IECore::polygonBound (Iterator first, Iterator last)
 Returns the bounding box of the polygon specified by the vertices in the given iterator range.
 
template<typename Iterator >
std::iterator_traits< Iterator >::value_type::BaseType IECore::polygonArea (Iterator first, Iterator last)
 Returns the area of the polygon specified by the vertices in the given iterator range.
 

Detailed Description

Defines algorithms for operating on polygons.