Back to class index
| Polygon::EdgeNormalSyntaxfloat4 Polygon::EdgeNormal(int edgeIndex) const; [4 lines of code]Returns the normal vector of the given edge. The normal vector is perpendicular to the normal of the plane the polygon lies in, and the direction the given edge is pointing towards. The vector points outwards from the polygon. ParametersintedgeIndexThe index of the edge line segment to construct, in the range [0, NumEdges()-1]. Return ValueA normalized direction vector perpendicular to the normal of the polygon, and the given edge. See Also |