DiscussionsIssue archiveOther usage issues

Archived discussion

displaying aplane

Other usage issuesMon, 11/03/2008 - 04:182 replies

Browse this forum
QuestionAuthor

hi,
this is the code i'm using to display a plane.but it says AIS plane has no constructors.can I know whats the mistake

gp_Pnt P( 0., 0., 0.);
gp_Dir V(0., 0., 1.0);
Geom_Plane Q(P,V);

Handle(Geom_Plane) Q = new Geom_Plane(Q);
Handle(AIS_Plane) anAISPlane = new AIS_Plane(Q);
myAISContext->Display(anAISPlane);

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

Did you include AIS_Plane.hxx?

02Author

thanks Rob!that worked!