setGlobalPlacement

The call setGlobalPlacement allows you to adjust the placement of a model. This is all done semantically, i.e. it can be seen as a derived call representing a small SDAI function adjust the origin of a model.

Syntax

//
//   Strong typing definition
//
SdaiInstance    setGlobalPlacement(
                        SdaiModel               model,
                        const double            * origin,
                        bool                    includeRotation
                    );


//
//   Weak typing definition
//
int_t   __declspec(dllexport) __stdcall   setGlobalPlacement(
                                                                        int_t                   model,
                                                                        const double            * origin,
                                                                        bool                    includeRotation
                                                                    );
    

Property model

Size: 32 bit / 4 byte (value)
The handle to the model. The model handle is static during its existance. Several models can be opened simultaniously within one session. Different models are always independent, threads are allowed to be running on different models simultaniously.

Property origin

Size: 32 bit / 4 byte (reference)
???.

Property includeRotation

Size: 8 bit / 1 byte (value)
???.