DiscussionsIssue archiveOther usage issues

Archived discussion

the type of a curve

Other usage issuesTue, 11/22/2005 - 22:162 replies

Browse this forum
QuestionAuthor

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!

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

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

Commenter-1

02Author

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

Author