For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Creation of Cone - GC_MakeTrimmedCone

Anonymous's picture
Forums: 

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 P2, R1R2 in order to get true part of cone.

Best regards Igor