For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Write/Read problem

Macedo's picture

Hi All,

I'm writing a FACE and its EDGES to a stream as following:

BRepTools::Write(aFace, oStream);
TopExp_Explorer exp;
for(exp.Init(aFace, TopAbs_EDGE); exp.More(); exp.Next())
BRepTools::Write(exp.Current(), oStream);

When I read back the FACE and explore its EDGES and compare them with others read EDGES using methods IsEqual, IsSame and IsPartner always return FALSE.

Could someone help me in this issue?
Thank You in Advance

(I know at the first Write the EDGEs are already stored. But I need them separated)

Macedo's picture

just adding information.
The first wrote EDGE (the alone one) and the EDGE wrote in TopoDS_Shape of the FACE are different just in TopoDS_TShape address.
Is there a way to compare two shapes just using geometrical information?



Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.