Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

RoofGeometry helpers aren't exposed to SWIG bindings #4490

Closed
jmarrec opened this issue Nov 4, 2021 · 0 comments · Fixed by #4491
Closed

RoofGeometry helpers aren't exposed to SWIG bindings #4490

jmarrec opened this issue Nov 4, 2021 · 0 comments · Fixed by #4491

Comments

@jmarrec
Copy link
Collaborator

jmarrec commented Nov 4, 2021

Issue overview

Current Behavior

RoofGeometry helpers aren't exposed to SWIG bindings

Expected Behavior

I would expect

/// Generate shed roof polygons
UTILITIES_API std::vector<std::vector<Point3d>> generateShedRoof(std::vector<Point3d>& polygon, double roofPitchDegrees, double directionDegrees);
/// Generate gable roof polygons
UTILITIES_API std::vector<std::vector<Point3d>> generateGableRoof(std::vector<Point3d>& polygon, double roofPitchDegrees);
/// Generate hip roof polygons
UTILITIES_API std::vector<std::vector<Point3d>> generateHipRoof(std::vector<Point3d>& polygon, double roofPitchDegrees);
to be SWIG'ed

Possible Solution

Add to RoofGeometry.i

Details

Environment

Some additional details about your environment for this issue (if relevant):

  • Platform (Operating system, version): all
  • Version of OpenStudio (if using an intermediate build, include SHA): 3.3.0-rc2

Context

Reported on unmethours slack

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant