 | CMVIEWDrawSurface3DEx Method |
Draw a 3D object built from triangles
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic 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
)
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
)
Public Sub DrawSurface3DEx (
group_name As String,
vert_v_vx As CVV,
vert_v_vy As CVV,
vert_v_vz As CVV,
norm_v_vx As CVV,
norm_v_vy As CVV,
norm_v_vz As CVV,
color_vv As CVV,
color As Integer,
tri_vv_pt1 As CVV,
tri_vv_pt2 As CVV,
tri_vv_pt3 As CVV,
ipj As CIPJ
)
Public Sub DrawSurface3DEx (
group_name As String,
vert_v_vx As CVV,
vert_v_vy As CVV,
vert_v_vz As CVV,
norm_v_vx As CVV,
norm_v_vy As CVV,
norm_v_vz As CVV,
color_vv As CVV,
color As Integer,
tri_vv_pt1 As CVV,
tri_vv_pt2 As CVV,
tri_vv_pt3 As CVV,
ipj As CIPJ
)
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
)
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
)
member DrawSurface3DEx :
group_name : string *
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 : CVV *
color : int *
tri_vv_pt1 : CVV *
tri_vv_pt2 : CVV *
tri_vv_pt3 : CVV *
ipj : CIPJ -> unit
member DrawSurface3DEx :
group_name : string *
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 : CVV *
color : int *
tri_vv_pt1 : CVV *
tri_vv_pt2 : CVV *
tri_vv_pt3 : CVV *
ipj : CIPJ -> unit
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
Remarks
Provide one normal per vertex.
Triangles are defined by indices into the set of vertices.
See Also