BHoM / BHoM/BHoM_Engine

Geometry_Engine: IsPlanar for PolySurface and CompositeGeometry are wrong

Open
#2,840 0 comments 0 reactions 1 assignee Claimed by @IsakNaslundBh View on GitHub
type:bug
Dominant language
C#
Stars
30
Forks
13
Avg merge
7d 10h
Merged PRs (30d)
5

Description

#### Description:

The IsPlanar check for the named methods only check if their subparts are planar, but do not check if they are all co=planar with each other.

#### Steps to reproduce:

Create a composite geometry/planar surface with multiple planar elements, that are not co-planar with each other.

#### Expected behaviour:

For method to check if all of the inner objects are co-planar, rather than if the individual elements are planar.

#### Test file(s):

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.