
Wed, 03/22/2006 - 09:03
Forums:
Hello all,
I have some shapes such as Cones, Cylinders, and Spheres. How do I determine them? I know for Points, Edges, and so on I can use ShapeType() to find what they are, but can not find the same for above shapes. can anyone help me please
Thanks in advance
Wed, 03/22/2006 - 17:06
For cones, cylinders and spheres, you could first check ShapeType() so you find TopAbs_FACE, then use BRepAdaptor_Surface aSurface(yourTopoDS_Face);
aSurface.GetType() to check your face type.
Good Luck,
Francois.
Thu, 03/23/2006 - 08:11
Hi Francois
It works well, Thanks.
What about vectors, Slots. and Polylines?
Are there also thoes tpyes some where in OCC too?