BHoM / BHoM/BHoM_Engine

Structure_Engine: Implement proper explicit castings for Edges

Open
#313 0 comments 1 reaction 1 assignee Claimed by @IsakNaslundBh View on GitHub
severity:medium type:feature
Dominant language
C#
Stars
30
Forks
13
Avg merge
7d 10h
Merged PRs (30d)
5

Description

Would be good to fins a way to through explicit castings, like the ones being used from points to nodes, to be able to reduce the number of create methods for the Panel planar down to just one for the "standard" one, accepting edges and openings.

Currently no way to implement the explicit operator as extensions, but that seem to be in the pipeline for C#8: https://channel9.msdn.com/Blogs/Seth-Juarez/A-Preview-of-C-8-with-Mads-Torgersen

Might have to keep this on hold until then.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.