Anonymous (not verified) Wed, 07/14/2004 - 19:23 Forums: Other usage issuesi'd like to know simply, if i can detect a non-linear edge, and if so, how ??? thanks, Benedicte Martin Thu, 07/29/2004 - 17:21 hi, use BRepAdaptor_Curve. For example, try : TopoDS_Edge anEdge; BRepAdaptor_Curve anAdaptorCurve(anEdge); if (anAdaptorCurve.GetType() != GeomAbs_Line) cout << " non-linear edge " << endl; Log in to post comments Benedicte Martin Thu, 07/29/2004 - 17:22 hi, use BRepAdaptor_Curve. For example, try : TopoDS_Edge anEdge; BRepAdaptor_Curve anAdaptorCurve(anEdge); if (anAdaptorCurve.GetType() != GeomAbs_Line) cout << " non-linear edge " << endl; Log in to post comments
Thu, 07/29/2004 - 17:21
hi,
use BRepAdaptor_Curve.
For example, try :
TopoDS_Edge anEdge;
BRepAdaptor_Curve anAdaptorCurve(anEdge);
if (anAdaptorCurve.GetType() != GeomAbs_Line)
cout << " non-linear edge " << endl;
Thu, 07/29/2004 - 17:22
hi,
use BRepAdaptor_Curve.
For example, try :
TopoDS_Edge anEdge;
BRepAdaptor_Curve anAdaptorCurve(anEdge);
if (anAdaptorCurve.GetType() != GeomAbs_Line)
cout << " non-linear edge " << endl;