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

Properties

ISkpLoop Interface Reference

Describes a Loop in the SketchUp topology. More...

List of all members.

Properties

ISkpEdges Edges [get]
 [propget] Returns the Edges that bound the loop.
ISkpEdgeUses EdgeUses [get]
 [propget] Returns the EdgeUses that bound the loop.
ISkpVertices Vertices [get]
 [propget] Returns the Vertices that define the end points of the edges defining the loop.
ISkpFace Face [get]
 [propget] Returns the Face that this loop bounds.
BOOL IsOuterLoop [get]
 [propget] Determines whether this is the outer loop on its associated face.
BOOL IsConvex [get]
 [propget] Determines whether the loop is convex.

Detailed Description

Describes a Loop in the SketchUp topology.

See also:
ISkpFace
ISkpEdge
ISkpEdgeUse

Property Documentation

ISkpEdges ISkpLoop::Edges [get]

[propget] Returns the Edges that bound the loop.

It should be noted that the direction of the edges is not necessarily aligned with the definition of the loop. For that relationship, see the ISkpLoop::EdgeUses method.

Return values:
pVal The Edges that bound the loop.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
ISkpEdgeUses ISkpLoop::EdgeUses [get]

[propget] Returns the EdgeUses that bound the loop.

Return values:
pVal The EdgeUses that bound the loop.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
ISkpFace ISkpLoop::Face [get]

[propget] Returns the Face that this loop bounds.

Return values:
pVal The associated Face.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
BOOL ISkpLoop::IsConvex [get]

[propget] Determines whether the loop is convex.

Return values:
pVal TRUE iff the loop is convex.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
BOOL ISkpLoop::IsOuterLoop [get]

[propget] Determines whether this is the outer loop on its associated face.

Return values:
pVal TRUE iff this is the outer loop.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
ISkpVertices ISkpLoop::Vertices [get]

[propget] Returns the Vertices that define the end points of the edges defining the loop.

Return values:
pVal The collection of ISkpVertex objects used by this loop.
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