Go to Google Code Home
Google SketchUp SkpReader C++ API Documentation (Labs)

Public Member Functions

ISkpUVHelper Interface Reference

An interface used to compute UV texture coordinates for a particular face. More...

List of all members.

Public Member Functions

HRESULT GetFrontUVQ ([in]double x,[in]double y,[in]double z,[out]double *u,[out]double *v,[out]double *q)
 Retrives the UVQ point at the given xyz location for the front of the face.
HRESULT GetBackUVQ ([in]double x,[in]double y,[in]double z,[out]double *u,[out]double *v,[out]double *q)
 Retrives the UVQ point at the given xyz location for the back of the face.

Detailed Description

An interface used to compute UV texture coordinates for a particular face.

See also:
ISkpFace::GetUVHelper

Member Function Documentation

HRESULT ISkpUVHelper::GetBackUVQ ( [in] double  x,
[in] double  y,
[in] double  z,
[out] double *  u,
[out] double *  v,
[out] double *  q 
)

Retrives the UVQ point at the given xyz location for the back of the face.

Parameters:
x The x coordinate.
y The y coordinate.
z The z coordinate.
u The resulting u coordinate.
v The resulting v coordinate.
q The resulting q coordinate.
Returns:
S_OK : if successful
E_POINTER : if pVal == NULL
E_FAIL: Internal errors.
HRESULT ISkpUVHelper::GetFrontUVQ ( [in] double  x,
[in] double  y,
[in] double  z,
[out] double *  u,
[out] double *  v,
[out] double *  q 
)

Retrives the UVQ point at the given xyz location for the front of the face.

Parameters:
x The x coordinate.
y The y coordinate.
z The z coordinate.
u The resulting u coordinate.
v The resulting v coordinate.
q The resulting q coordinate.
Returns:
S_OK : if successful
E_POINTER : if pVal == NULL
E_FAIL: Internal errors.

©2010 Google - Google Home - About Google