Namespace SFCGAL::generator
Namespace List > SFCGAL > generator
Public Types
Type | Name |
---|---|
typedef Kernel::Point_2 | Point_2 |
typedef Kernel::Point_3 | Point_3 |
typedef CGAL::Polygon_2< Kernel > | Polygon_2 |
typedef CGAL::Polygon_with_holes_2< Kernel > | Polygon_with_holes_2 |
typedef CGAL::Straight_skeleton_2< Kernel > | Straight_skeleton_2 |
Public Functions
Type | Name |
---|---|
void | _buildingWall (const Polygon_2 & ring, const Kernel::FT & wallHeight, PolyhedralSurface & shell) |
auto | _hoch (const std::vector< Kernel::Vector_2 > & points) |
auto | _sierpinski (const std::vector< Kernel::Triangle_2 > & triangles) |
auto | building (const Polygon & g, const Kernel::FT & wallHeight, const Kernel::FT & roofSlope) Basic building generator relying on a straight skeleton. |
auto | building (const MultiPolygon & g, const Kernel::FT & wallHeight, const Kernel::FT & roofSlope) Basic building generator relying on a straight skeleton. |
auto | building (const Geometry & g, const Kernel::FT & wallHeight, const Kernel::FT & roofSlope) Basic building generator relying on a straight skeleton. |
auto | disc (const Point & center, const double & radius, const unsigned int & nQuadrantSegments=8U) |
auto | hoch (const unsigned int & order) |
auto | sierpinski (const unsigned int & order) |
Public Types Documentation
typedef Point_2
using SFCGAL::generator::Point_2 = typedef Kernel::Point_2;
typedef Point_3
using SFCGAL::generator::Point_3 = typedef Kernel::Point_3;
typedef Polygon_2
using SFCGAL::generator::Polygon_2 = typedef CGAL::Polygon_2<Kernel>;
typedef Polygon_with_holes_2
using SFCGAL::generator::Polygon_with_holes_2 = typedef CGAL::Polygon_with_holes_2<Kernel>;
typedef Straight_skeleton_2
using SFCGAL::generator::Straight_skeleton_2 = typedef CGAL::Straight_skeleton_2<Kernel>;
Public Functions Documentation
function _buildingWall
void SFCGAL::generator::_buildingWall (
const Polygon_2 & ring,
const Kernel::FT & wallHeight,
PolyhedralSurface & shell
)
function _hoch
auto SFCGAL::generator::_hoch (
const std::vector< Kernel::Vector_2 > & points
)
function _sierpinski
auto SFCGAL::generator::_sierpinski (
const std::vector< Kernel::Triangle_2 > & triangles
)
function building
auto SFCGAL::generator::building (
const Polygon & g,
const Kernel::FT & wallHeight,
const Kernel::FT & roofSlope
)
function building
auto SFCGAL::generator::building (
const MultiPolygon & g,
const Kernel::FT & wallHeight,
const Kernel::FT & roofSlope
)
function building
Basic building generator relying on a straight skeleton.
auto SFCGAL::generator::building (
const Geometry & g,
const Kernel::FT & wallHeight,
const Kernel::FT & roofSlope
)
Warning:
only supports Polygon and MultiPolygon
Todo
unittest
function disc
auto SFCGAL::generator::disc (
const Point & center,
const double & radius,
const unsigned int & nQuadrantSegments=8U
)
Generate a discrete circle
Todo
unittest
function hoch
auto SFCGAL::generator::hoch (
const unsigned int & order
)
generate hoch snowflake
Todo
unittest
function sierpinski
auto SFCGAL::generator::sierpinski (
const unsigned int & order
)
generate hoch snowflake
Todo
unittest
The documentation for this class was generated from the following file /builds/sfcgal/SFCGAL/src/detail/generator/building.cpp