Click or drag to resize
CMVIEWDrawSurface3DEx Method
Draw a 3D object built from triangles

Available since Oasis montaj version: 7.0
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.dll)
Notes
Provide one normal per vertex. Triangles are defined by indices into the set of vertices.
Syntax
public void DrawSurface3DEx(
	string group_name,
	CVV vert_v_vx,
	CVV vert_v_vy,
	CVV vert_v_vz,
	CVV norm_v_vx,
	CVV norm_v_vy,
	CVV norm_v_vz,
	CVV color_vv,
	int color,
	CVV tri_vv_pt1,
	CVV tri_vv_pt2,
	CVV tri_vv_pt3,
	CIPJ ipj
)

Parameters

group_name
Type: SystemString
Group name
vert_v_vx
Type: GeoEngine.Core.GXNetXCVV
Vertices X (<define>GS_REAL</define>)
vert_v_vy
Type: GeoEngine.Core.GXNetXCVV
Vertices Y (<define>GS_REAL</define>)
vert_v_vz
Type: GeoEngine.Core.GXNetXCVV
Vertices Z (<define>GS_REAL</define>)
norm_v_vx
Type: GeoEngine.Core.GXNetXCVV
Normals X (<define>GS_REAL</define>)
norm_v_vy
Type: GeoEngine.Core.GXNetXCVV
Normals Y (<define>GS_REAL</define>)
norm_v_vz
Type: GeoEngine.Core.GXNetXCVV
Normals Z (<define>GS_REAL</define>)
color_vv
Type: GeoEngine.Core.GXNetXCVV
Colors VV (<define>GS_INT</define>) [can be NULL]
color
Type: SystemInt32
Color used if above VV is NULL [0 for MVIEW's fill color]
tri_vv_pt1
Type: GeoEngine.Core.GXNetXCVV
Triangles Point 1 (<define>GS_INT</define>)
tri_vv_pt2
Type: GeoEngine.Core.GXNetXCVV
Triangles Point 2 (<define>GS_INT</define>)
tri_vv_pt3
Type: GeoEngine.Core.GXNetXCVV
Triangles Point 3 (<define>GS_INT</define>)
ipj
Type: GeoEngine.Core.GXNetXCIPJ
Native IPJ of 3D object
See Also