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

I want to origin plane surface.

Seung-Hyun Lee's picture
Forums: 

Dear Sir.

I Select the plane surface.

and then I find the origin of plane surfaec using gp_Pln aPln = aPlane->Pln(); gp_Pnt Origin = aPln.Location();

But I want to center coordinate of plane surface.

aPln.Location() member fuction is not generate center coordinate of plane surface.

I would like to know center coordiate of plane surface.

How do i?

if i can not do know any method , I find center coordinate using four corner vertex of plane surface. Is it correct ? thanks..

Seung-Hyun Lee's picture

Dear Sir..

I solve the problem using centroid.

thanks..

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.