
Mon, 11/03/2008 - 04:18
Forums:
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);
Mon, 11/03/2008 - 15:49
Did you include AIS_Plane.hxx?
Mon, 11/03/2008 - 20:54
thanks Rob!that worked!