Click or drag to resize

CMESHAddVertex Method

Adds a vertex 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 AddVertex(
	string mesh_name,
	int patch_id,
	double x,
	double y,
	double z
)

public int AddVertex(
	string mesh_name,
	int patch_id,
	double x,
	double y,
	double z
)

Parameters

mesh_name
Type: SystemString
Mesh Name
patch_id
Type: SystemInt32
Patch ID
x
Type: SystemDouble
x coordinate of the vertex
y
Type: SystemDouble
y coordinate of the vertex
z
Type: SystemDouble
z coordinate of the vertex

Return Value

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