Creation of Cone - GC_MakeTrimmedCone

Hello,

I used the constructor GC_MakeTrimmedCone (const gp_Pnt& P1 ,

const gp_Pnt& P2 ,

const Standard_Real R1 ,

const Standard_Real R2 ) for creation of conical surface. Whenever R1

Thanks in advance - Prasad

Igor Feoktistov's picture

Hi,

this class always sets origin of cone in P1 and sets axis in direction of vector P2-P1. if R1 < R2 it revers axis, but does not change origin. So, if R1P2, R1<=>R2 in order to get true part of cone.

Best regards Igor