Table of Contents

Method FromFace

Namespace
GeometryHelper.Spatial
Assembly
GeometryHelper.dll

FromFace(GeoFace2)

Creates a hierarchy over the boundary of a face: its outline together with the rim of every hole.

public static GeoBvh2 FromFace(GeoFace2 face)

Parameters

face GeoFace2

The face.

Returns

GeoBvh2

The hierarchy over every edge of the face's boundary.

Remarks

The rim of a hole is part of the boundary of the material, which is the reading the whole library keeps for a face, so the nearest point this finds is the nearest point of the material's edge — a point sitting in a hole is answered by the rim it sits in, not by the outline far away.

Exceptions

ArgumentNullException

Thrown when the face is null.