SFCGAL 2.3.0
SFCGAL::algorithm::RoofParameters Struct Reference

Parameters for roof generation algorithms. More...

#include <roofGeneration.h>

Public Attributes

RoofType type = RoofType::GABLE
 Roof Type (cf. RoofType).
double slopeAngle = 30.0
 Slope angle in degrees (0-90) for gable/skillion roofs.
double roofHeight = 3.0
 Maximum roof height for flat/hipped roofs (>= 0).
size_t primaryEdgeIndex = 0
 Index of the primary slope edge (skillion).

Detailed Description

Parameters for roof generation algorithms.

Member Data Documentation

◆ primaryEdgeIndex

size_t SFCGAL::algorithm::RoofParameters::primaryEdgeIndex = 0

Index of the primary slope edge (skillion).

◆ roofHeight

double SFCGAL::algorithm::RoofParameters::roofHeight = 3.0

Maximum roof height for flat/hipped roofs (>= 0).

◆ slopeAngle

double SFCGAL::algorithm::RoofParameters::slopeAngle = 30.0

Slope angle in degrees (0-90) for gable/skillion roofs.

◆ type

RoofType SFCGAL::algorithm::RoofParameters::type = RoofType::GABLE

Roof Type (cf. RoofType).