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

Public Member Functions | Properties

ISkpTransform Interface Reference

A 4x4 transform object. More...

List of all members.

Public Member Functions

HRESULT GetData ([out] double data[16])
 Returns 4x4 data in the matrix.

Properties

BOOL IsIdentity [get]
 [propget] Determines whether this is the identity transform.

Detailed Description

A 4x4 transform object.

This defines a simple transformation class. This transformation can represent only affine transformations (no shear)

The transformation is stored as a partitioned 4x4 matrix

       -     -
       | R T |
   M = | 0 w |
       -     -

where:


Member Function Documentation

HRESULT ISkpTransform::GetData ( [out] double  data[16]  ) 

Returns 4x4 data in the matrix.

The calling application must allocate the data before calling this method.

Parameters:
data The 4x4 data of the matrix.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors

Property Documentation

BOOL ISkpTransform::IsIdentity [get]

[propget] Determines whether this is the identity transform.

Return values:
pVal TRUE iff the transform is the identity transform.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors

©2010 Google - Google Home - About Google