Table of Contents

Property IsPeriodic

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

IsPeriodic

Gets whether the spline is periodic, as AutoCAD's IsPeriodic: the flag 2048 of group 70, on a curve that runs on round its seam as one periodic curve. AutoCAD 2021 writes the flag 2 on its closed splines of a smooth seam too and reads no period from it: its periodic cubic of 70 3115 is periodic, its closed cubic of 70 11 is not, and either is the other with the flag 2048 alone taken out or put in (its 17-h). Its 2059 with the control point 1 moved down by 5, or the point 5 up by 5, a corner at the seam, is not periodic (17-n, 17-o).

public override bool IsPeriodic { get; }

Property Value

bool

The seam is read as AutoCAD's periodic form is made: the curve clamped at its ends, then unclamped at its start and at its end (The NURBS Book, A12.1), and its first degree of points set against those a period on, each within 1E-10, AutoCAD's own point tolerance, and 1E-14 of the spline's size (one and its largest coordinate) for rounding, and of the same weight within 1E-10 of the largest. Such a curve runs on across its seam as smoothly as along its knots (twice over for a cubic). AutoCAD's own periodic splines are off by 1.3E-15 of their size at most, so that one scaled to millions or far from the origin stays periodic; of its 2059 of size 61.5 with the control point 1 moved, it read a seam off by 4.1E-11 as periodic and one off by 4.1E-10 as not (its 17-w), as the library does. A spline of fewer control points than twice the degree and one has no such form, and is not periodic.