FormIt C++ API v25.0.0 (2025.0.0)
Loading...
Searching...
No Matches
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.
 
WSM::UnitVector3d m_normal
 The face normal.
 
LoopData m_outerLoop
 The data for the outer loop of the face.
 
::vector< LoopDatam_aInnerLoops
 The data for optional inner loops of the face.
 
::vector< 1::vector< Point3d > > m_aaOpenings
 Optional polygonal openings that were cut in the face by other objects.
 
size_t m_nFrontMaterialIndex = UNUSED_INDEX
 Index into the material data array for the face's front material, if any.
 
size_t m_nBackMaterialIndex = UNUSED_INDEX
 Index into the material data array for the face's back material, if any.
 
bool m_bHidden = false
 Is this object hidden?
 

Member Data Documentation

◆ m_aaOpenings

::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.

◆ m_aInnerLoops

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

The data for optional inner loops of the face.

◆ m_bHidden

bool WSM::FaceData::m_bHidden = false

Is this object hidden?

◆ m_nBackMaterialIndex

size_t WSM::FaceData::m_nBackMaterialIndex = UNUSED_INDEX

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

◆ m_nFrontMaterialIndex

size_t WSM::FaceData::m_nFrontMaterialIndex = UNUSED_INDEX

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

◆ m_nLayerIndex

size_t WSM::FaceData::m_nLayerIndex = UNUSED_INDEX

Index into the layer data array.

◆ m_normal

WSM::UnitVector3d WSM::FaceData::m_normal

The face normal.

◆ m_outerLoop

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: