DrawPolygon(IEnumerable<double>, IEnumerable<double>)

Draws a polygon using the current color and line weight.

Declaration Syntax

public void DrawPolygon(IEnumerable<double> points, IEnumerable<double> normals)

Parameters

points(IEnumerable<double>)

The points coordinates. The values should match the following format [X1, Y1, Z1, X2, Y2, Z2, ...].

normals(IEnumerable<double>)

The points normals. The values should match the following format [X1, Y1, Z1, X2, Y2, Z2, ...].


Release 18.2 - © ANSYS, Inc. All rights reserved.