mirror of https://github.com/CGAL/cgal
Temporary change to be backward compatible with bezier serialization
This commit is contained in:
parent
b3ff75846c
commit
a2bc6227c3
|
|
@ -443,7 +443,13 @@ public:
|
||||||
*/
|
*/
|
||||||
bool is_same (const Self& bc) const
|
bool is_same (const Self& bc) const
|
||||||
{
|
{
|
||||||
if(this->identical(bc))
|
return *this == bc;
|
||||||
|
// TODO: use identical instead!
|
||||||
|
}
|
||||||
|
|
||||||
|
bool operator==(const Self& bc) const
|
||||||
|
{
|
||||||
|
if (this->identical(bc))
|
||||||
return true;
|
return true;
|
||||||
if (this->number_of_control_points() != bc.number_of_control_points())
|
if (this->number_of_control_points() != bc.number_of_control_points())
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue