BHoM / BHoM/BHoM_Engine

Spatial_Engine - Handle nulls

Open
#2,486 0 comments 0 reactions 2 assignees Claimed by @LMarkowski View on GitHub
type:compliance
Dominant language
C#
Stars
30
Forks
13
Avg merge
7d 10h
Merged PRs (30d)
5

Description

Note, where the `method` begins with `BH.oM` - this means it is a `Create` method.

The following methods need appropriate `null` handling of their inputs. You can use `@BHoMBot check null-handling` on a draft PR to check progress if needed - you're ultimately looking for a reduction in errors from the `master`/`main` branch. I can run more localised tests to confirm against if needed to confirm specific methods.

- [ ] BH.Engine.Spatial.Compute.InterpolateProfile(AngleProfile startProfile, AngleProfile endProfile, Double parameter, Int32 interpolationOrder, Double domainStart, Double domainEnd)
- [ ] BH.Engine.Spatial.Compute.InterpolateProfile(BoxProfile startProfile, BoxProfile endProfile, Double parameter, Int32 interpolationOrder, Double domainStart, Double domainEnd)
- [ ] BH.Engine.Spatial.Compute.InterpolateProfile(ChannelProfile startProfile, ChannelProfile endProfile, Double parameter, Int32 interpolationOrder, Double domainStart, Double domainEnd)
- [ ] BH.Engine.Spatial.Compute.InterpolateProfile(CircleProfile startProfile, CircleProfile endProfile, Double parameter, Int32 interpolationOrder, Double domainStart, Double domainEnd)
- [ ] BH.Engine.Spatial.Compute.InterpolateProfile(FabricatedBoxProfile startProfile, FabricatedBoxProfile endProfile, Double parameter, Int32 interpolationOrder, Double domainStart, Double domainEnd)
- [ ] BH.Engine.Spatial.Compute.InterpolateProfile(FabricatedISectionProfile startProfile, FabricatedISectionProfile endProfile, Double parameter, Int32 interpolationOrder, Double domainStart, Double domainEnd)
- [ ] BH.Engine.Spatial.Compute.InterpolateProfile(GeneralisedFabricatedBoxProfile startProfile, and 5 more inputs)
- [ ] BH.Engine.Spatial.Compute.InterpolateProfile(GeneralisedTSectionProfile startProfile, GeneralisedTSectionProfile endProfile, Double parameter, Int32 interpolationOrder, Double domainStart, Double domainEnd)
- [ ] BH.Engine.Spatial.Compute.InterpolateProfile(ISectionProfile startProfile, ISectionProfile endProfile, Double parameter, Int32 interpolationOrder, Double domainStart, Double domainEnd)
- [ ] BH.Engine.Spatial.Compute.InterpolateProfile(KiteProfile startProfile, KiteProfile endProfile, Double parameter, Int32 interpolationOrder, Double domainStart, Double domainEnd)
- [ ] BH.Engine.Spatial.Compute.InterpolateProfile(RectangleProfile startProfile, RectangleProfile endProfile, Double parameter, Int32 interpolationOrder, Double domainStart, Double domainEnd)
- [ ] BH.Engine.Spatial.Compute.InterpolateProfile(TSectionProfile startProfile, TSectionProfile endProfile, Double parameter, Int32 interpolationOrder, Double domainStart, Double domainEnd)
- [ ] BH.Engine.Spatial.Compute.InterpolateProfile(TubeProfile startProfile, TubeProfile endProfile, Double parameter, Int32 interpolationOrder, Double domainStart, Double domainEnd)
- [ ] BH.Engine.Spatial.Compute.InterpolateProfile(ZSectionProfile startProfile, ZSectionProfile endProfile, Double parameter, Int32 interpolationOrder, Double domainStart, Double domainEnd)
- [ ] BH.Engine.Spatial.Modify.MapPositionDomain(TaperedProfile taperedProfile)
- [ ] BH.Engine.Spatial.Modify.RoundCoordinates(IElement0D element0d, Int32 decimalPlaces)
- [ ] BH.Engine.Spatial.Modify.SetInternalElements2D(IElement2D element2D, List newElements2D)
- [ ] BH.Engine.Spatial.Modify.Translate(IElement2D element2D, Vector transform)
- [ ] BH.Engine.Spatial.Modify.Translate(IElement0D element0D, Vector transform)
- [ ] BH.Engine.Spatial.Query.CurveLayout(OffsetCurveLayout offsetCurveLayout, IEnumerable hostRegionCurves, IEnumerable openingCurves, Double minOffset)
- [ ] BH.Engine.Spatial.Query.CurveLayout(ExplicitCurveLayout explicitCurveLayout, IEnumerable hostRegionCurves, IEnumerable openingCurves, Double minOffset)
- [ ] BH.Engine.Spatial.Query.VoidArea(IProfile profile)
- [ ] BH.Engine.Spatial.Query.HasMergeablePropertiesWith(IElement0D element, IElement0D other)
- [ ] BH.Engine.Spatial.Query.HasMergeablePropertiesWith(IElement1D element, IElement1D other)
- [ ] BH.Engine.Spatial.Query.HasMergeablePropertiesWith(IElement2D element, IElement2D other)
- [ ] BH.Engine.Spatial.Query.Area(IProfile profile)
- [ ] BH.Engine.Spatial.Query.ElementCurves(IEnumerable elements, Boolean recursive)
- [ ] BH.Engine.Spatial.Query.ElementVertices(IEnumerable elements)
- [ ] BH.Engine.Spatial.Query.IsFullyOnGrid(IElement0D element0D, Grid grid, Double tolerance)
- [ ] BH.Engine.Spatial.Query.IsFullyOnGrid(IElement2D element2D, Grid grid, Double tolerance)
- [ ] BH.Engine.Spatial.Query.IsNearGrid(IElement0D element0D, Grid grid, Double maxDistance)
- [ ] BH.Engine.Spatial.Query.IsNearGrid(IElement2D element2D, Grid grid, Double maxDistance)
- [ ] BH.Engine.Spatial.Query.IsFullyOnLevel(IElement0D element0D, Level level, Double tolerance)
- [ ] BH.Engine.Spatial.Query.IsFullyOnLevel(IElement1D element1D, Level level, Double tolerance)
- [ ] BH.Engine.Spatial.Query.IsNearLevel(IElement0D element0D, Level level, Double maxDistance)
- [ ] BH.Engine.Spatial.Query.IsNearLevel(IElement2D element2D, Level level, Double maxDistance)
- [ ] BH.Engine.Spatial.Query.Thickness(BoxProfile boxProfile)
- [ ] BH.Engine.Spatial.Query.Thickness(KiteProfile kiteProfile)
- [ ] BH.Engine.Spatial.Query.Thickness(TubeProfile tubeProfile)
- [ ] BH.Engine.Spatial.Query.PointLayout(ExplicitLayout layout2D, IEnumerable hostRegionCurves, IEnumerable openingCurves)
- [ ] BH.Engine.Spatial.Query.PointLayout(LinearLayout layout2D, IEnumerable hostRegionCurves, IEnumerable openingCurves)
- [ ] BH.Engine.Spatial.Query.PointLayout(MultiLinearLayout layout2D, IEnumerable hostRegionCurves, IEnumerable openingCurves)

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.