VCSetProjection3D


Version:

1.2

Description:

Determines the type of projection to be used when using 3D views.

Declaration:

 

C/C++

extern "C" void WINAPI VCSetProjection3D(short* iError, short iCode);

Delphi

procedure VCSetProjection3D(var iError: Smallint; iCode: Smallint); stdcall;

ActiveX/COM

Sub SetProjection3D(ByVal iCode As Integer)

Parameters:

iCode - sets the 3D view type.
0 - VIEW3D_FLAT
1 - VIEW3D_PARALLEL
2 - VIEW3D_PERSPECTIVE

Notes:

When creating 3D views of a drawing three parameters are required. They are view type, eye location, and viewed position. VCSetProjection3D determines the view type and thus how the lines will be viewed in relation to each other, that is flat, parallel or perspective. VCSetView3D established the distance of the viewer from the viewed location as 3D coordinates and thus the level of perspective exaggeration used or the relative size of the view. VCChangeView3Dcan allow the users view point to be moved incrementally in certain directions and thus creates a limited "walk-through" functionality. 3D views can be viewed in wireframe or with the Visual CADD™ built in quick shading. VCSet3DDisplay provides the ability to view the drawing as a quick shade and VCSet3DQShadeOptionsdetermines the level of quick shade when the drawing is shaded.

See Also:

VCSet3DQShadeOptions, VCSet3DDisplay, VCChangeView3D, VCSetView3D