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

Geom_Circle axis and angle wrong

Selman Uslu's picture
Forums: 

I attached the png file to show my problem.

In the red face, when i explore edges, a edge that Geom_Circle, I took it's Xaxis and Yaxis, they both correct but in the blue face Circle's Xaxis and Yaxis are not correct.  What is it's purpose and how can i fix that?

Handle(Geom_Circle) circle=Handle(Geom_Circle)::DownCast(curve);

gp_Circ circ=circle->Circ();

auto X=circ.Xaxis();

auto Y=circ.Yaxis();

X direction is (0,-1,0) and Y direction is ( 1,0,0) so our angles are not correct. In red faces edges angle is correct (0--3,14) blue one is (1.57--4,71) wrong.

I'd appreciate it if you answered. Thanks in advance.

Attachments: