[CONNECT C++] CurveCurve::CollectFilletArcs()

Trying to get a fillet generated between 2 lines with a common vertex, The returned FilletDetail <bvector> always has a size of zero:

		// create my "fillet" arc
		CurveVectorPtr						previousCurve = ICurvePathQuery::ElementToCurveVector(eeh1);
		CurveVectorPtr						currentCurve = ICurvePathQuery::ElementToCurveVector(eeh2);
		ICurvePrimitivePtr					&previousSegment = previousCurve->front();
		ICurvePrimitivePtr					&currentSegment = previousCurve->front();

		bvector<CurveCurve::FilletDetail>			arcs;
		CurveCurve::CollectFilletArcs(*previousSegment,*currentSegment,SRS::SRSConvert::InchToUOR(1.5), false, arcs);

		wprintf(L"%d arcs \n",arcs.size());

I have also used 'true' to allow the extension of the lines, but still, it seems no arcs (fillets) are created...

Bruce

Parents Reply Children
No Data