IShell3D IFactory3D.CreateShell(IEnumerable<Double> vertices, IEnumerable<Double> normals, IEnumerable<Int32> connectivity, IEnumerable<Int32> colors)

Create a 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.
  • colors
    The vertex colors. The values should match the following format [C1, C2, C3, ...].

Return Value

Type: IShell3D
Returns the shell.