Click or drag to resize

CMESHAddFace Method

Adds a face to a patch in a mesh

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public int AddFace(
	string mesh_name,
	int patch_id,
	int v0,
	int v1,
	int v2
)

public int AddFace(
	string mesh_name,
	int patch_id,
	int v0,
	int v1,
	int v2
)

Parameters

mesh_name
Type: SystemString
Mesh Name
patch_id
Type: SystemInt32
Patch ID
v0
Type: SystemInt32
Vertex index 0 for the face
v1
Type: SystemInt32
Vertex index 1 for the face
v2
Type: SystemInt32
Vertex index 2 for the face

Return Value

Type: Int32
Returns the face index of the added face
See Also