Skip to content
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

Environment_Engine Change tolerance default for FloorGeometry #1390

Merged

Conversation

MajaLindroth
Copy link
Contributor

NOTE: Depends on

Issues addressed by this PR

Closes #1389

Change tolerance default to be BH.oM.Geometry.Tolerance.Distance for FloorGeometry query method.
Add input description.

Test files

Changelog

@MajaLindroth MajaLindroth added the type:compliance Non-conforming to code guidelines label Dec 17, 2019
@MajaLindroth MajaLindroth self-assigned this Dec 17, 2019
Copy link
Contributor

@FraserGreenroyd FraserGreenroyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a slight documentation change, sorry @MajaLindroth

@@ -42,8 +42,9 @@ public static partial class Query

[Description("Returns the floor geometry of a space represented by Environment Panels as a BHoM Geometry Polyline")]
[Input("panelsAsSpace", "A collection of Environment Panels that represent a closed space")]
[Input("tolerance", "Distance tolerance for planar checks, default set to BH.oM.Geometry.Tolerance.Distance")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tolerance in this instance is actually for the BooleanUnion of the floor lines, rather than planar checks 😄

Copy link
Contributor

@FraserGreenroyd FraserGreenroyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM now, thanks @MajaLindroth 😄

@FraserGreenroyd
Copy link
Contributor

/azp run BHoM_Engine.CheckInstaller

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@FraserGreenroyd FraserGreenroyd merged commit 5de7e1b into master Dec 17, 2019
@FraserGreenroyd FraserGreenroyd deleted the Environment_Engine-#1389-FloorGeometry-Tolerance branch December 17, 2019 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:compliance Non-conforming to code guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Environment_Engine: Use BH.oM.Geometry.Tolerance default in FloorGeometry method
2 participants