Back to class index
| Polygon::NormalCCWSyntaxfloat4 Polygon::NormalCCW() const; [5 lines of code]Computes the normal of this polygon. Note Only call this function if this Polygon is planar. Return ValueThe normal of this polygon. This vector is normalized and points to the direction from which observed the vertices of this polygon wind in counter-clockwise order. Work in progress:Todo: in float4 Polygon::NormalCCW() const: Optimize temporaries. Syntaxfloat4 Polygon::NormalCW() const; [5 lines of code]Computes the normal of this polygon in clockwise direction. Note Only call this function if this Polygon is planar. These two functions follow the relation NormalCCW() == -NormalCW(). Return ValueThe normal of this polygon in clockwise direction. This vector is normalized and points to the direction from which observed the vertices of this polygon wind in clockwise order. See AlsoWork in progress:Todo: in float4 Polygon::NormalCW() const: Optimize temporaries. |