SketchUp SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
uv_helper.h
Go to the documentation of this file.
1 // Copyright 2013 Trimble Navigation Ltd. All Rights Reserved.
2 
3 #ifndef SLAPI_MODEL_UVHELPER_H_
4 #define SLAPI_MODEL_UVHELPER_H_
5 
6 #include <slapi/slapi.h>
7 #include <slapi/model/defs.h>
8 
9 #pragma pack(push, 8)
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
23 struct SUUVQ {
24  double u;
25  double v;
26  double q;
27 };
28 
37 SU_RESULT SUUVHelperRelease(SUUVHelperRef* uvhelper);
38 
50 SU_RESULT SUUVHelperGetFrontUVQ(SUUVHelperRef uvhelper,
51  const struct SUPoint3D* point,
52  struct SUUVQ* uvq);
53 
65 SU_RESULT SUUVHelperGetBackUVQ(SUUVHelperRef uvhelper,
66  const struct SUPoint3D* point,
67  struct SUUVQ* uvq);
68 
69 #ifdef __cplusplus
70 } // extern "C" {
71 #endif
72 #pragma pack(pop)
73 
74 #endif // SLAPI_MODEL_UVHELPER_H_