Local coordinate system

I would like to do the following:

Create a TopoDS_Compound
Define a local coordinate system for the compound's location
Create some geometry inside the compound
Get the location of the geometry (e.g. using BRep_Tool::Pnt) in the LCS of the parent

For example:
Parent LCS = position 1, 0, 0
Vertex inside parent at 1, 0, 0
Returned point = 2, 0, 0

Is there a way to do this? Does this even make sense given that a shape can have multiple parents?

jelle's picture

Perhaps you can describe what you're trying to get done? That way we can answer the 2nd part of your question...