Did you include AIS_Plane.hxx?
Archived discussion
displaying aplane
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.
thanks Rob!that worked!