CFx SDK Documentation  2023 SP0
Static Public Member Functions | List of all members
AECRoofTools Class Reference

#include <AECDbRoofTools.h>

Static Public Member Functions

static bool GetBoundary (const OdDbObjectId &idRootBlock, const std::vector< OdDbObjectId > &aEntities, OdGeMatrix3d &mOCS, FacetModeler::Profile2D &rBoundary)
 
static AECDbRoofPtr BuildSingleSlope (const OdDbObjectId &idRootBlock, const std::vector< OdDbObjectId > &aEntities, double dSlope, double dOverhang)
 

Detailed Description

Roof calculation tools.

<group TA_API_Auxiliary_Classes>

Definition at line 34 of file AECDbRoofTools.h.

Member Function Documentation

◆ BuildSingleSlope()

static AECDbRoofPtr AECRoofTools::BuildSingleSlope ( const OdDbObjectId idRootBlock,
const std::vector< OdDbObjectId > &  aEntities,
double  dSlope,
double  dOverhang 
)
static

Creates single slope roof.

Parameters
idRootBlock[in] Root block.
aEntities[in] Set of Walls and Polylines.
dSlope[in] Slope angle.
dOverhang[in] Overhang distance.
Returns
Pointer to newly created roof or null pointer if operation was unsuccessful.

◆ GetBoundary()

static bool AECRoofTools::GetBoundary ( const OdDbObjectId idRootBlock,
const std::vector< OdDbObjectId > &  aEntities,
OdGeMatrix3d mOCS,
FacetModeler::Profile2D rBoundary 
)
static

Calculates roof OCS and Baseline.

Parameters
iRootBlock[in] Root block.
aEntities[in] Set of Walls and Polylines.
mOCS[out] Roof OCS.
rBoundary[out] Roof resulting profile. Metadata contains zero-based index of source entity.
Returns
True indicates success.

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