the type of a curve

Does anyone know how to get the type of a Geom_Curve?

I can only get the type of anEdge as follows:
BRepAdaptor_Curve aAd1(E1);
aAd1.GetType();

Thanks a lot!

Stephane Routelous's picture

GeomAdaptor_Curve

it is the main goal of an adaptor (See Design Patterns) to be able to use Topology or Geometry for the same functionnalities

Stephane

Ming's picture

Stephane,
Thank you. I just find that GeomAdaptor_Curve inherits from Adaptor3d_Curve. which has a member function GetType().

Ming