Merge pull request #6232 from efifogel/Aos_2-fixes-efif

Aos 2 fixes efif
This commit is contained in:
Laurent Rineau 2022-01-12 11:45:03 +01:00
commit a254333dbb
2 changed files with 4 additions and 7 deletions

View File

@ -2213,11 +2213,9 @@ vertex and the remaining one is vertical.
\cgalFigureBegin{aos_fig-bounded_vd,bounded_vertical_decomposition.png}
An arrangement of four line segments and its vertical decomposition
into pseudo trapezoids, as constructed in \ref
Arrangement_on_surface_2/bounded_vertical_decomposition.cpp. The
segments of \f$\mathcal{S}_1\f$ are drawn in solid lines and the
segments of \f$\mathcal{S}_2\f$ are drawn in dark dashed lines. Note
that the segment \f$ s\f$ (light dashed line) overlaps one of the
segments in \f$\mathcal{S}_1\f$.
Arrangement_on_surface_2/bounded_vertical_decomposition.cpp. The
segments of the arrangement are drawn in solid blue lines and the
segments of the vertical decomposition are drawn in dark dotted lines.
\cgalFigureEnd
<!-- ------------------------------------------------------------------------- -->

View File

@ -134,8 +134,7 @@ public:
OutputIterator oi)
{
const Geometry_traits_2* traits = this->m_sgm.geometry_traits();
typename Traits::Construct_point_2 ctr_point =
traits->construct_point_2_object();
auto ctr_point = traits->construct_point_2_object();
Curve_2 cv =
traits->construct_curve_2_object()(ctr_point(normal1.direction()),
ctr_point(normal2.direction()));