Back to class index
| Polygon::EdgeSyntaxLineSegment Polygon::Edge(int edgeIndex) const; [8 lines of code]Returns a line segment between two adjacent vertices of this polygon. ParametersintedgeIndexThe index of the edge line segment to construct, in the range [0, NumEdges()-1]. Return ValueLineSegment(Vertex(edgeIndex), Vertex((edgeIndex+1)NumVertices()). See Also |