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

Public Member Functions | Public Attributes

atlast::sketchup::FaceDescriptor Class Reference

Describes a Face. More...

#include <ientitycontainer.h>

List of all members.

Public Member Functions

 FaceDescriptor ()
 Constructor.
virtual ~FaceDescriptor ()

Public Attributes

FaceLooppFaceLoop
MaterialDescriptorpFrontMaterialDescriptor
MaterialDescriptorpBackMaterialDescriptor
ISketchUpLayerpLayer
bool bReverse
FaceLooppInnerLoops
int nInnerLoops

Detailed Description

Describes a Face.

This structure is used in the ISketchUpEntityContainer::Fill method, and depends on the arguments therein.

A face is defined by several things:


Constructor & Destructor Documentation

atlast::sketchup::FaceDescriptor::FaceDescriptor (  )  [inline]

Constructor.

This constructor initializes:

  • pFaceLoop = NULL
  • pFrontMaterialDescriptor = NULL
  • pBackMaterialDescriptor = NULL
  • bReverse = false
  • nInnerLoops = 0
  • pInnerLoops = NULL
  • pLayer = NULL
virtual atlast::sketchup::FaceDescriptor::~FaceDescriptor (  )  [inline, virtual]

Destructor does nothing.


Member Data Documentation

This parameter is true iff we should reverse the face.

The number of inner loops provided. By default, it's 0.

Material description for the back face.

The outer loop defining the face.

Material description for the front face.

A (possibly NULL) pointer to an array of FaceLoop objects defining the inner loops in this face.

The layer this face should live on.


©2010 Google - Google Home - About Google