virtual  bool   sgC2DObject::IsLinear() const

 

Description:

This function is pure virtual. It checks whether all the points of the object lie on the same object line. It is useful for splines and contours.

 

Arguments:

No arguments.

 

Returned value:

true if all the points of the object lie on the same line, fasle otherwise