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

Public Member Functions | Properties

ISkpBoundingBox3d Interface Reference

A 3d bounding box. More...

List of all members.

Public Member Functions

HRESULT _GetMinPoint ([out] double pPoint3d[3])
 Get the minimum point of this bounding box.
HRESULT _GetMaxPoint ([out] double pPoint3d[3])
 Get the maximum point of this bounding box.
HRESULT _GetMidPoint ([out] double pPoint3d[3])
 Get the mid point of this bounding box.

Properties

ISkpPoint3d MinPoint [get]
 [propget] Get the minimum point of this bounding box.
ISkpPoint3d MaxPoint [get]
 [propget] Get the maximum point of this bounding box.
ISkpPoint3d MidPoint [get]
 [propget] Get the mid point of this bounding box.

Detailed Description

A 3d bounding box.


Member Function Documentation

HRESULT ISkpBoundingBox3d::_GetMaxPoint ( [out] double  pPoint3d[3]  ) 

Get the maximum point of this bounding box.

It is assumed that the calling application has allocated space for the return values.

Return values:
pVal The maximum point of this bounding box.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.
HRESULT ISkpBoundingBox3d::_GetMidPoint ( [out] double  pPoint3d[3]  ) 

Get the mid point of this bounding box.

It is assumed that the calling application has allocated space for the return values.

Return values:
pVal The mid point of this bounding box.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.
HRESULT ISkpBoundingBox3d::_GetMinPoint ( [out] double  pPoint3d[3]  ) 

Get the minimum point of this bounding box.

It is assumed that the calling application has allocated space for the return values.

Return values:
pVal The minimum point of this bounding box.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.

Property Documentation

ISkpPoint3d ISkpBoundingBox3d::MaxPoint [get]

[propget] Get the maximum point of this bounding box.

Return values:
pVal The maximum point of this bounding box.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.
ISkpPoint3d ISkpBoundingBox3d::MidPoint [get]

[propget] Get the mid point of this bounding box.

Return values:
pVal The mid point of this bounding box.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.
ISkpPoint3d ISkpBoundingBox3d::MinPoint [get]

[propget] Get the minimum point of this bounding box.

Return values:
pVal The minimum point of this bounding box.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.

©2010 Google - Google Home - About Google