Table of Contents

Constructor GeoBvh3

Namespace
GeometryHelper.Spatial
Assembly
GeometryHelper.dll

GeoBvh3(IEnumerable<GeoTriangle3>)

Initializes a hierarchy over a set of triangles.

public GeoBvh3(IEnumerable<GeoTriangle3> triangles)

Parameters

triangles IEnumerable<GeoTriangle3>

The mesh; it is copied, so later changes to the source do not affect the tree.

Exceptions

ArgumentNullException

Thrown when the sequence is null.