DiscussionsIssue archiveOther usage issues

Archived discussion

to better understanding

Other usage issuesTue, 02/17/2009 - 12:583 replies

Browse this forum
QuestionAuthor

If I move the TopoDS_Edge:
TopoDS_Edge aLocatedEdge = aEdge.Moved(aTopLoc_Location);

Is the Geom_Curve moved (transformed) too ?
Handle_Geom_Curve aCurve = BRep_Tool::Curve(theEdge,aFirst,aLast);

Thank you

Discussion

3 archived replies

Posts are displayed in their archived order.

01Author

If I move the TopoDS_Edge:
TopoDS_Edge aLocatedEdge = aEdge.Moved(aTopLoc_Location);

Is the Geom_Curve moved (transformed) too ?
Handle_Geom_Curve aCurve = BRep_Tool::Curve(aLocatedEdge ,aFirst,aLast);

Thank you

02Commenter-1

Author,

aLocatedEdge and aEdge will be so called partners. Each TopoDS_Shape::IsPartner() will return true on another.

See my post http://opencascade.blogspot.com/2009/02/topology-and-geometry-in-open-ca... and the 2nd diagram in it to understand what will happen. Both will share the same TopoDS_TShape (in this case BRep_TEdge) and orientation. Locations will be different.

BRep_Tool::Curve(aLocatedEdge,...) will return a curve which is a *transformed* (using aTopLoc_Location) *copy* compared to BRep_Tool::Curve(aEdge,...).

Commenter-1

---
opencascade.blogspot.com - blog on Open CASCADE

03Author

Thank you,

I read every topic in your blog.
I hope it become bigger and bigger and deeper and deeper.