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

Public Member Functions | Properties

ISkpEdge Interface Reference

An Edge interface. More...

Inheritance diagram for ISkpEdge:
SkpEdge

List of all members.

Public Member Functions

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

Properties

BOOL IsSmooth [get]
 [propget] Determine whether the smooth flag is set on this edge.
BOOL IsSoft [get]
 [propget] Determine whether the soft flag is set on this edge.
ISkpCurve Curve [get]
 [propget] Get the curve associated with this edge.
ISkpVertex StartVertex [get]
 [propget] Get the start vertex associated with this edge.
ISkpVertex EndVertex [get]
 [propget] Get the end vertex associated with this edge.
ISkpPoint3d StartPoint [get]
 [propget] Get the start point of this edge.
ISkpPoint3d EndPoint [get]
 [propget] Get the end point of this edge.
ISkpFaces Faces [get]
 [propget] Get the faces that use this edge.

Detailed Description

An Edge interface.


Member Function Documentation

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

Get the end point of this edge.

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

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

Get the start point of this edge.

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

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

Property Documentation

ISkpCurve ISkpEdge::Curve [get]

[propget] Get the curve associated with this edge.

Return values:
pVal The associated ISkpCurve object.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.
ISkpPoint3d ISkpEdge::EndPoint [get]

[propget] Get the end point of this edge.

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

[propget] Get the end vertex associated with this edge.

Return values:
pVal The associated end vertex object.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.
ISkpFaces ISkpEdge::Faces [get]

[propget] Get the faces that use this edge.

Return values:
pVal A collection of ISkpFace objects that use this edge.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.
BOOL ISkpEdge::IsSmooth [get]

[propget] Determine whether the smooth flag is set on this edge.

Return values:
pVal TRUE iff this edge is flagged as smooth.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.
BOOL ISkpEdge::IsSoft [get]

[propget] Determine whether the soft flag is set on this edge.

Return values:
pVal TRUE iff this edge is flagged as soft.
Returns:
S_OK : if successful
E_POINTER : if any of the inputs are NULL
E_FAIL : on internal errors.
ISkpPoint3d ISkpEdge::StartPoint [get]

[propget] Get the start point of this edge.

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

[propget] Get the start vertex associated with this edge.

Return values:
pVal The associated start vertex object.
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