I am trying to obtain a shape from a label as a particular case of a reference label.
Please, see my example :
Handle(XCAFDoc_ShapeTool) theAssembly ...
theAssembly->IsReference(aCheckLabel) returns Standard_True.
TopoDS_Shape aShape theAssembly->GetShape(aCheckLabel);
This shape is not correctly located.
I have read the explanation of this result in the documentation of XDE ...
The method to obtain the location of the shape is :
TopLoc_Location aLocation= theAssembly->GetLocation(aCheckLabel);
How is it possible to obtain the shape correctly located ?
I have tried :
aShape.Moved(aLocation); the result is bad.
If someone, can help me ...