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

Public Member Functions | Properties

ISkpConstructionLine Interface Reference

A construction line interface. More...

Inheritance diagram for ISkpConstructionLine:
SkpConstructionLine

List of all members.

Public Member Functions

HRESULT _GetPosition ([out] double pPoint3d[3])
 Returns a point on the line.
HRESULT _GetDirection ([out] double pVector3d[3])
 Returns the direction of the line.

Properties

ISkpPoint3d Position [get]
 [propget] Returns a point on the line
ISkpVector3d Direction [get]
 [propget] Returns the direction of the line

Detailed Description

A construction line interface.


Member Function Documentation

HRESULT ISkpConstructionLine::_GetDirection ( [out] double  pVector3d[3]  ) 

Returns the direction of the line.

It is expected that the calling application has allocated space for the return value.

Return values:
pPoint3d The direction vector for the line.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
HRESULT ISkpConstructionLine::_GetPosition ( [out] double  pPoint3d[3]  ) 

Returns a point on the line.

It is expected that the calling application has allocated space for the return value.

Return values:
pPoint3d A representative point on the line.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors

Property Documentation

ISkpVector3d ISkpConstructionLine::Direction [get]

[propget] Returns the direction of the line

Return values:
pPoint3d The direction vector for the line.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
ISkpPoint3d ISkpConstructionLine::Position [get]

[propget] Returns a point on the line

Return values:
pPoint3d A representative point on the line.
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