Table of Contents

Method TrySplitAtParameter

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TrySplitAtParameter(double, out GeoEdge2, out GeoEdge2, Tolerance)

Splits the edge at a normalized parameter along it.

public bool TrySplitAtParameter(double parameter, out GeoEdge2 first, out GeoEdge2 second, Tolerance tolerance)

Parameters

parameter double

Where to cut, between 0 and 1.

first GeoEdge2

The piece from the start of the edge to the cut.

second GeoEdge2

The piece from the cut to the end of the edge.

tolerance Tolerance

The tolerance: a cut at either end leaves nothing to cut off and is refused.

Returns

bool

true when the edge was cut in two; otherwise, false.