Back to class index
| Polygon::Edge2DSyntaxLineSegment Polygon::Edge2D(int edgeIndex) const; [8 lines of code]Returns a line segment between two adjacent vertices of this polygon, in the local space of this polygon. In the local space of the polygon, the z-coordinate is always zero, and the polygon lies in the XY-plane, with the first vertex of the polygon being in the origin, and the x-axis running in the direction given by BasisU() and the y-axis running in the direction given by BasisV(). ParametersintedgeIndexThe index of the edge line segment to construct, in the range [0, NumEdges()-1]. See Also |