Class MergeExtension
- Namespace
- GeometryHelper.Extension
- Assembly
- GeometryHelper.dll
Provides extension methods that put curves which meet end to end back together.
public static class MergeExtension
- Inheritance
-
MergeExtension
- Inherited Members
Remarks
Merge2 and Merge3 have done this work all along and no type reached it, so a caller had to name the core class to join a bag of segments. These put it where the collection is. Nothing here computes anything of its own.
Methods
- Join(IEnumerable<GeoLine2>)
Joins segments into chains by matching their endpoints, as a drafting program's JOIN does.
- Join(IEnumerable<GeoLine2>, Tolerance)
Joins segments into chains by matching their endpoints, within a tolerance.
- Join(IEnumerable<GeoLine3>)
Joins segments into chains by matching their endpoints.
- Join(IEnumerable<GeoLine3>, Tolerance)
Joins segments into chains by matching their endpoints, within a tolerance.
- Join(IEnumerable<GeoPolyline3>)
Joins chains into longer chains by matching their ends.
- Join(IEnumerable<GeoPolyline3>, Tolerance)
Joins chains into longer chains by matching their ends, within a tolerance.
- MergeConsecutive(IEnumerable<GeoLine2>)
Rejoins segments already in order along a run, where one ends and the next begins.
- MergeConsecutive(IEnumerable<GeoLine2>, Tolerance)
Rejoins segments already in order along a run, where one ends and the next begins, within a tolerance.
- MergeConsecutive(IEnumerable<GeoLine3>)
Rejoins segments already in order along a run, where one ends and the next begins.
- MergeConsecutive(IEnumerable<GeoLine3>, Tolerance)
Rejoins segments already in order along a run, where one ends and the next begins, within a tolerance.
- MergeConsecutive(IEnumerable<GeoPolyline2>)
Rejoins chains already in order along a run, where one ends and the next begins.
- MergeConsecutive(IEnumerable<GeoPolyline2>, Tolerance)
Rejoins chains already in order along a run, where one ends and the next begins, within a tolerance.
- MergeConsecutive(IEnumerable<GeoPolyline3>)
Rejoins chains already in order along a run, where one ends and the next begins.
- MergeConsecutive(IEnumerable<GeoPolyline3>, Tolerance)
Rejoins chains already in order along a run, where one ends and the next begins, within a tolerance.
- MergeCoplanar(IEnumerable<GeoFace3>)
Runs faces that share a plane and an edge together into single faces.
- MergeCoplanar(IEnumerable<GeoFace3>, Tolerance)
Runs faces that share a plane and an edge together into single faces, within a tolerance.
- MergeIntoOne(IEnumerable<GeoPolyline3>)
Runs a set of chains together into one, end to end.
- MergeIntoOne(IEnumerable<GeoPolyline3>, Tolerance)
Runs a set of chains together into one, end to end, within a tolerance.
- MergeWith(GeoPolyline2, GeoPolyline2)
Joins this chain to another if this one ends where the other begins.
- MergeWith(GeoPolyline2, GeoPolyline2, Tolerance)
Joins this chain to another if this one ends where the other begins, within a tolerance.