|
UtilsgenerateBeamMesh Method
|
Connect vertices of given mesh with faces. Is used to produce meshes for rendering beam cross sections.
Each cross section is composed of groups of vertices. Vertices of different sections need to be connected.
Namespace:
Karamba.Utilities
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static void generateBeamMesh(
Mesh3 mesh,
List<int> groupSizes,
int start_ind,
int n_crosec
)
Public Shared Sub generateBeamMesh (
mesh As Mesh3,
groupSizes As List(Of Integer),
start_ind As Integer,
n_crosec As Integer
)
public:
static void generateBeamMesh(
Mesh3^ mesh,
List<int>^ groupSizes,
int start_ind,
int n_crosec
)
static member generateBeamMesh :
mesh : Mesh3 *
groupSizes : List<int> *
start_ind : int *
n_crosec : int -> unit
Parameters
- mesh
- Type: Karamba.GeometryMesh3
mesh with vertices but no faces - groupSizes
- Type: System.Collections.GenericListInt32
list of integers that depict the number of vertices in each subsection of a cross section - start_ind
- Type: SystemInt32
index of first node to be used for generating the faces. Thus the mesh can contain vertices that are not connnected - n_crosec
- Type: SystemInt32
number of consecutive cross sections to be generated
See Also