39 #ifndef IECORE_POLYGONALGO_H
40 #define IECORE_POLYGONALGO_H
42 #include "OpenEXR/ImathBox.h"
52 template<
typename Iterator>
53 typename std::iterator_traits<Iterator>::value_type
polygonNormal( Iterator first, Iterator last );
56 template<
typename Iterator>
57 typename std::iterator_traits<Iterator>::value_type
polygonNormal( Iterator first, Iterator last,
bool normalized );
64 CounterClockwiseWinding = 1
69 template<
typename Iterator>
75 template<
typename Iterator>
76 Winding polygonWinding( Iterator first, Iterator last,
const typename std::iterator_traits<Iterator>::value_type &viewVector );
79 template<
typename Iterator>
80 Imath::Box<typename std::iterator_traits<Iterator>::value_type>
polygonBound( Iterator first, Iterator last );
83 template<
typename Iterator>
84 typename std::iterator_traits<Iterator>::value_type::BaseType
polygonArea( Iterator first, Iterator last );
88 #include "IECore/PolygonAlgo.inl"
90 #endif // IECORE_POLYGONALGO_H
Imath::Box< typename std::iterator_traits< Iterator >::value_type > polygonBound(Iterator first, Iterator last)
Returns the bounding box of the polygon specified by the vertices in the given iterator range...
Winding
Definition: PolygonAlgo.h:61
std::iterator_traits< Iterator >::value_type::BaseType polygonArea(Iterator first, Iterator last)
Returns the area of the polygon specified by the vertices in the given iterator range.
Winding polygonWinding(Iterator first, Iterator last)
std::iterator_traits< Iterator >::value_type polygonNormal(Iterator first, Iterator last)
This namespace contains all components of the core library.
Definition: AddSmoothSkinningInfluencesOp.h:43