-
Notifications
You must be signed in to change notification settings - Fork 15
IElement required extension methods
-
If the BHoM class implements an
IElement
interface corresponding with its geometrical representation:Interface Implementing classes IElement0D
Classes which can be represented by Point
(e.g. nodes)IElement1D
Classes which can be represented by ICurve
(e.g. bars)IElement2D
Classes which can be represented by a planar set of
closedICurves
(e.g. planar building panels) -
It needs to have the following methods implemented in it's oM-specific Engine:
Interface Needed methods Optional methods When IElement0D
Geometry()
SetGeometry(Point point)
IElement1D
Geometry()
SetGeometry(ICurve curve)
Elements0D()
-
SetElements0D(
List<IElement0D> newElements0D)
NewElement0D(Point point)
IElement1D
which endpoints are defined byIElement0D
IElement2D
OutlineElements1D()
-
SetOutlineElements1D(
List<IElement1D> outlineElements1D)
NewElement1D(ICurve curve)
InternalElements2D()
-
SetInternalElements2D(
List<IElement2D> internalElements2D)
NewInternalElement2D()
-
Introduction to the BHoM:
What is the BHoM for?
Structure of the BHoM
Technical Philosophy of the BHoM -
Getting Started:
Installing the BHoM
Using the BHoM
Submitting an Issue
Getting started for developers -
Use GitHub & Visual Studio:
Using the SCRUM Board
Resolving an Issue
Avoiding Conflicts
Creating a new Repository
Using Visual Studio
Using Visual Studio Code -
Contribute:
The oM
The Engine
The Adapter
The Toolkit
The UI
The Tests -
Guidelines:
Unit convention
Geometry
BHoM_Engine Classes
The IImmutable Interface
Handling Exceptional Events
BHoM Structural Conventions
BHoM View Quality Conventions
Code Versioning
Wiki Style
Coding Style
Null Handling
Code Attributes
Creating Icons
Changelog
Releases and Versioning
Open Sourcing Procedure
Dataset guidelines -
Foundational Interfaces:
IElement Required Extension Methods -
Continuous Integration:
Introduction
Check-PR-Builds
Check-Core
Check-Installer -
Code Compliance:
Compliance -
Further Reading:
FAQ
Structural Adapters
Mongo_Toolkit
Socket_Toolkit