boustrophedon_decomp.h
Go to the documentation of this file.
1 //=============================================================================
2 // Copyright (C) 2021-2024 Wageningen University - All Rights Reserved
3 // Author: Gonzalo Mier
4 // BSD-3 License
5 //=============================================================================
6 
7 #pragma once
8 #ifndef FIELDS2COVER_DECOMPOSITION_BOUSTROPHEDON_DECOMP_H_
9 #define FIELDS2COVER_DECOMPOSITION_BOUSTROPHEDON_DECOMP_H_
10 
11 #include "fields2cover/types.h"
13 
14 namespace f2c::decomp {
15 
24  public:
29  const obj::DecompObjective& obj = obj::DecompObjective()) override;
30 
31  private:
32  bool isLinePartOfLinearRing(const F2CLinearRing & ring, const F2CLineString & line) const;
33 };
34 
35 } // namespace f2c::decomp
36 
37 
38 #endif // FIELDS2COVER_DECOMPOSITION_BOUSTROPHEDON_DECOMP_H_
1_basic_types.cells
cells
Definition: 1_basic_types.py:93
trapezoidal_decomp.h
types.h
f2c::decomp::BoustrophedonDecomp::genSplitLines
F2CMultiLineString genSplitLines(const F2CCells &cells, const obj::DecompObjective &obj=obj::DecompObjective()) override
Definition: boustrophedon_decomp.cpp:36
f2c::decomp
Decomposition algorithms' namespace.
Definition: boustrophedon_decomp.h:14
f2c::types::MultiLineString
Definition: MultiLineString.h:18
f2c::types::LinearRing
Definition: LinearRing.h:18
f2c::decomp::TrapezoidalDecomp
Trapezoidal decomposition .
Definition: trapezoidal_decomp.h:20
f2c::decomp::BoustrophedonDecomp::isLinePartOfLinearRing
bool isLinePartOfLinearRing(const F2CLinearRing &ring, const F2CLineString &line) const
Definition: boustrophedon_decomp.cpp:12
7_decomposition.obj
obj
Definition: 7_decomposition.py:32
1_basic_types.ring
ring
Definition: 1_basic_types.py:68
f2c::obj::DecompObjective
Base class for objective functions of cell decomposition.
Definition: decomp_objective.h:18
f2c::types::LineString
Definition: LineString.h:19
f2c::types::Cells
Definition: Cells.h:21
f2c::decomp::BoustrophedonDecomp
Boustrophedon Cellular decomposition .
Definition: boustrophedon_decomp.h:23


fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31