Table of Contents

Method TrySplitAtParameter

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

TrySplitAtParameter(double, out GeoEdge3, out GeoEdge3)

Splits the edge at a point along it, when that point is neither of its ends.

public bool TrySplitAtParameter(double parameter, out GeoEdge3 first, out GeoEdge3 second)

Parameters

parameter double

How far along to cut, from nought at the start to one at the end.

first GeoEdge3

The piece up to the cut.

second GeoEdge3

The piece after it.

Returns

bool

true if the cut fell inside the edge; otherwise, false, and neither piece is set.

Remarks

Two arcs of the same radius come out of cutting an arc, so the pieces put back end to end draw exactly what went in.