Void IShell3D.SetAttributes(IEnumerable<Double> vertices, IEnumerable<Double> normals, IEnumerable<Int32> connectivity)

Sets all needed attributes to build the shell.

Parameters

  • vertices
    The vertex coordinates. The values should match the following format [X1, Y1, Z1, X2, Y2, Z2, ...].
  • normals
    The vertex normals. The values should match the following format [X1, Y1, Z1, X2, Y2, Z2, ...].
  • connectivity
    The facets connectivity. The connectivity defines the triangles constituting the shell, it should match the following format [I1, J1, K1, I2, J2, K2, ...], where I, J and K are index of vertex coordinates.