
Thu, 12/05/2002 - 18:53
Forums:
hy,
I want to distinguish linear, surfacic and volumic shapes, ie I have a shape and I want to know if it's a linear or surfacic or volumic object. I have already tried to distinguish those three kinds of shape, using the three functions: VolumicProperties, LinearProperties and SurfacicProperties,but I did'nt find a criteria to clealry distinguish the three cases (Mass is not enough).
How can I solve this problem?
thanks!
Thu, 12/05/2002 - 19:17
well, you can use TopoDS_Shape::ShapeType
if it is an edge, it's linear;if it is a face, it is surfacic, if it is a solid, it's a volume, and for compound, shell, compsolid, it depends how you want to handle them.
HTH