FormIt C++ API  v23.0.0 (2023.0.0)
WSM::FaceData Struct Reference

Description

Data used to construct a face.

#include <GeometryDataContainers.h>

Public Attributes

size_t m_nLayerIndex = UNUSED_INDEX
 Index into the layer data array. More...
 
WSM::UnitVector3d m_normal
 The face normal. More...
 
LoopData m_outerLoop
 The data for the outer loop of the face. More...
 
::vector< LoopDatam_aInnerLoops
 The data for optional inner loops of the face. More...
 
::vector< 1::vector< Point3d > > m_aaOpenings
 Optional polygonal openings that were cut in the face by other objects. More...
 
size_t m_nFrontMaterialIndex = UNUSED_INDEX
 Index into the material data array for the face's front material, if any. More...
 
size_t m_nBackMaterialIndex = UNUSED_INDEX
 Index into the material data array for the face's back material, if any. More...
 
bool m_bHidden = false
 Is this object hidden? More...
 

Member Data Documentation

::vector<1::vector<Point3d> > WSM::FaceData::m_aaOpenings

Optional polygonal openings that were cut in the face by other objects.

Each opening is just a vector of Point3d instead of a LoopData object as there are no texture coordinates available, and they will need to be generated if needed.

::vector<LoopData> WSM::FaceData::m_aInnerLoops

The data for optional inner loops of the face.

bool WSM::FaceData::m_bHidden = false

Is this object hidden?

size_t WSM::FaceData::m_nBackMaterialIndex = UNUSED_INDEX

Index into the material data array for the face's back material, if any.

size_t WSM::FaceData::m_nFrontMaterialIndex = UNUSED_INDEX

Index into the material data array for the face's front material, if any.

size_t WSM::FaceData::m_nLayerIndex = UNUSED_INDEX

Index into the layer data array.

WSM::UnitVector3d WSM::FaceData::m_normal

The face normal.

LoopData WSM::FaceData::m_outerLoop

The data for the outer loop of the face.


The documentation for this struct was generated from the following file: