I am trying to develop code that determines whether a TopoDS_Face I send it is flat or curved.
I was recommended to try converting the face to a GeomAdaptor_Surface type, and then using the GetType function in that class. GetType appears to be reimplemented from the Adaptor3d_Surface class.
I was wondering if this method is a good way to go about solving this problem, and if that is the case, what can I expect GetType to return if the surface is flat?
I am fairly new to OCC and still learning a lot. Your patience and help would be greatly appreciated! Thank you.