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

Public Member Functions | Properties

ISkpVertex Interface Reference

A Vertex interface. More...

Inheritance diagram for ISkpVertex:
SkpVertex

List of all members.

Public Member Functions

HRESULT _GetPosition ([out] double pPoint3d[3])
 Get the position values associated with this vertex.

Properties

ISkpPoint3d Position [get, set]
 [propget] Get the point associated with this vertex.
ISkpEdges Edges [get]
 [propget] Get the Edges that use this Vertex
ISkpFaces Faces [get]
 [propget] Get the Faces that use this Vertex
ISkpLoops Loops [get]
 [propget] Get the Loops that use this Vertex

Detailed Description

A Vertex interface.

A vertex differs from an ISkpPoint3d in that it is a database entity. That is, the SkpVertex coclass implements the ISkpEntity interface.


Member Function Documentation

HRESULT ISkpVertex::_GetPosition ( [out] double  pPoint3d[3]  ) 

Get the position values associated with this vertex.

A vertex has a position associated with it - a 3d point. This method returns the point values as an array of doubles. It is incumbent on the user to allocate the array before calling this method.

Parameters:
pPoint3d [out] The user-allocated array of doubles.

Property Documentation

ISkpEdges ISkpVertex::Edges [get]

[propget] Get the Edges that use this Vertex

Return values:
pVal The edges using this vertex.
Returns:
S_OK : if successful
E_POINTER : if pVal == NULL
ISkpFaces ISkpVertex::Faces [get]

[propget] Get the Faces that use this Vertex

Return values:
pVal The Faces using this vertex.
Returns:
S_OK : if successful
E_POINTER : if pVal == NULL
ISkpLoops ISkpVertex::Loops [get]

[propget] Get the Loops that use this Vertex

Return values:
pVal The Loops using this vertex.
Returns:
S_OK : if successful
E_POINTER : if pVal == NULL
ISkpPoint3d ISkpVertex::Position [get, set]

[propget] Get the point associated with this vertex.

[propput] Set the point associated with this vertex.

A vertex has a position associated with it - a 3d point. This method returns an ISkpPoint3d holding the position.

A vertex has a position associated with it - a 3d point. This method puts an ISkpPoint3d into the vertex.


©2010 Google - Google Home - About Google