mirror of https://github.com/CGAL/cgal
member function arr -> arrangement_2
This commit is contained in:
parent
c32e648edf
commit
9cb350eeed
|
|
@ -105,7 +105,7 @@ Detaches the arrangement from the visibility object it is currently attached to
|
||||||
/*!
|
/*!
|
||||||
Access to the attached arrangement
|
Access to the attached arrangement
|
||||||
*/
|
*/
|
||||||
const Arrangement_2& arr() const;
|
const Arrangement_2& arrangement_2() const;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Computes the visibility region for the given query point `q` in the
|
Computes the visibility region for the given query point `q` in the
|
||||||
|
|
@ -120,7 +120,7 @@ must be mutual convertible to Visibility_2::Traits_2.
|
||||||
\param q is the query point
|
\param q is the query point
|
||||||
\param f is the face of the arrangement in which the visibility region is computed
|
\param f is the face of the arrangement in which the visibility region is computed
|
||||||
\param out_arr is the output arrangement
|
\param out_arr is the output arrangement
|
||||||
\pre `f` is a face of `this->arr()`
|
\pre `f` is a face of `this->arrangement_2()`
|
||||||
\pre `q` is in the interior of the given face `f`
|
\pre `q` is in the interior of the given face `f`
|
||||||
\return the face handle to the face in `out_arr` that represents interior of the visibility region
|
\return the face handle to the face in `out_arr` that represents interior of the visibility region
|
||||||
*/
|
*/
|
||||||
|
|
@ -143,7 +143,7 @@ must be mutual convertible to Visibility_2::Traits_2.
|
||||||
\param q is the query point
|
\param q is the query point
|
||||||
\param e the halfedge on which `q` is located
|
\param e the halfedge on which `q` is located
|
||||||
\param out_arr is the output arrangement
|
\param out_arr is the output arrangement
|
||||||
\pre `e` is a halfedge of `this->arr()`
|
\pre `e` is a halfedge of `this->arrangement_2()`
|
||||||
\pre `q` is on `e`
|
\pre `q` is on `e`
|
||||||
\pre `q` equals to `e->target()->point()` if `q` is an endpoint of `e`
|
\pre `q` equals to `e->target()->point()` if `q` is an endpoint of `e`
|
||||||
\return a handle to the face in `out_arr` that represents the interior of the visibility region
|
\return a handle to the face in `out_arr` that represents the interior of the visibility region
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ public:
|
||||||
p_arr = NULL;
|
p_arr = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
Input_Arrangement_2 arr() {
|
Input_Arrangement_2 arrangement_2()() {
|
||||||
return *p_arr;
|
return *p_arr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -397,7 +397,7 @@ void detach() {
|
||||||
geom_traits = NULL;
|
geom_traits = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
const Arrangement_2& arr() {
|
const Arrangement_2& arrangement_2() {
|
||||||
return *p_arr;
|
return *p_arr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/*! Getter method for the input arrangement*/
|
/*! Getter method for the input arrangement*/
|
||||||
const Arrangement_2& arr() {
|
const Arrangement_2& arrangement_2() {
|
||||||
return *p_arr;
|
return *p_arr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -103,7 +103,7 @@ public:
|
||||||
p_cdt = boost::shared_ptr<CDT>();
|
p_cdt = boost::shared_ptr<CDT>();
|
||||||
}
|
}
|
||||||
|
|
||||||
const Arrangement_2& arr() {
|
const Arrangement_2& arrangement_2() {
|
||||||
return *p_arr;
|
return *p_arr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ void test_model_methods_for_arr(
|
||||||
assert(false == visibility.is_attached());
|
assert(false == visibility.is_attached());
|
||||||
visibility.attach(arr);
|
visibility.attach(arr);
|
||||||
assert(true == visibility.is_attached());
|
assert(true == visibility.is_attached());
|
||||||
assert(true == (CGAL::test_are_equal(arr,visibility.arr())));
|
assert(true == (CGAL::test_are_equal(arr,visibility.arrangement_2())));
|
||||||
|
|
||||||
Visibility_arrangement_2 arr_out;
|
Visibility_arrangement_2 arr_out;
|
||||||
Visibility_arrangement_2 arr_out_check;
|
Visibility_arrangement_2 arr_out_check;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue