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

Public Member Functions | Properties

ISkpLineCurve Interface Reference

A line curve. More...

List of all members.

Public Member Functions

HRESULT _GetStartPoint ([out]double pPoint3d[3])
 Get the start point of this line.
HRESULT _GetEndPoint ([out]double pPoint3d[3])
 Get the end point of this line.

Properties

ISkpPoint3d StartPoint [get]
 [propget] Get the start point of this line.
ISkpPoint3d EndPoint [get]
 [propget] Get the end point of this line.
ISkpVertex StartVertex [get]
 [propget] Get the start vertex of this line.
ISkpVertex EndVertex [get]
 [propget] Get the end vertex of this line.

Detailed Description

A line curve.

This is a virtual entity: one that does not literally exist in the SketchUp database, but rather is created on the fly for the purposes of the API.

See the ISkpEntity::IsVirtual property.


Member Function Documentation

HRESULT ISkpLineCurve::_GetEndPoint ( [out] double  pPoint3d[3]  ) 

Get the end point of this line.

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

Return values:
pVal The end point of this line.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.
HRESULT ISkpLineCurve::_GetStartPoint ( [out] double  pPoint3d[3]  ) 

Get the start point of this line.

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

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

Property Documentation

ISkpPoint3d ISkpLineCurve::EndPoint [get]

[propget] Get the end point of this line.

Return values:
pVal The end point of this line.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.
ISkpVertex ISkpLineCurve::EndVertex [get]

[propget] Get the end vertex of this line.

Return values:
pVal The end vertex of this line.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.
ISkpPoint3d ISkpLineCurve::StartPoint [get]

[propget] Get the start point of this line.

Return values:
pVal The start point of this line.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.
ISkpVertex ISkpLineCurve::StartVertex [get]

[propget] Get the start vertex of this line.

Return values:
pVal The start vertex of this line.
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