SketchUp SDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Functions
uv_helper.h File Reference
#include <slapi/slapi.h>
#include <slapi/model/defs.h>

Go to the source code of this file.

Data Structures

struct  SUUVQ
 Stores UV texture coordinates. More...
 

Functions

SU_RESULT SUUVHelperRelease (SUUVHelperRef *uvhelper)
 Releases a UVHelper object that was obtained from a face. More...
 
SU_RESULT SUUVHelperGetFrontUVQ (SUUVHelperRef uvhelper, const struct SUPoint3D *point, struct SUUVQ *uvq)
 Retrieves the UVQ point at the given point for the front of the face. More...
 
SU_RESULT SUUVHelperGetBackUVQ (SUUVHelperRef uvhelper, const struct SUPoint3D *point, struct SUUVQ *uvq)
 Retrieves the UVQ point at the given point for the back of the face. More...
 

Function Documentation

SU_RESULT SUUVHelperGetBackUVQ ( SUUVHelperRef  uvhelper,
const struct SUPoint3D point,
struct SUUVQ uvq 
)

Retrieves the UVQ point at the given point for the back of the face.

Parameters
[in]uvhelperThe UVHelper object.
[in]pointThe point where the coordinates are to be computed.
[out]uvqThe coordinates retrieved.
Returns
SU_RESULT SUUVHelperGetFrontUVQ ( SUUVHelperRef  uvhelper,
const struct SUPoint3D point,
struct SUUVQ uvq 
)

Retrieves the UVQ point at the given point for the front of the face.

Parameters
[in]uvhelperThe UV helper object.
[in]pointThe point where the coordinates are to be computed.
[out]uvqThe coordinates retrieved.
Returns
SU_RESULT SUUVHelperRelease ( SUUVHelperRef uvhelper)

Releases a UVHelper object that was obtained from a face.

Parameters
[in]uvhelperThe UV helper object.
Returns