-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Placement converter refactor #95
Placement converter refactor #95
Conversation
hechth
commented
Apr 27, 2020
- Refactored convertIfcObjectPlacement to make code more readable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is really hard to do a review, when the identation changed ... This is definitely not yet all of it ...
Resolved all requests except the one regarding convertIfcObjectPlacement as it requires more actions |
Fixed all requested changes except for convertBoundedCurveDistAlongToPoint3D |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are still a lot of changes to be made, but will probably be addressed in later overhauls.
void convertIfcDirection( | ||
const std::shared_ptr<typename IfcEntityTypesT::IfcDirection>& ifcDirection, | ||
carve::geom::vector<3>& direction) | ||
carve::geom::vector<3> convertIfcDirection(const EXPRESSReference<typename IfcEntityTypesT::IfcDirection>& ifcDirection) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be done everywhere. Change std::shared_ptr<> with EXPRESSReference<>