CurveKinkDefinitionIsCurvatureKink Method |
| Name | Description | |
|---|---|---|
| IsCurvatureKink(Curve, Double) |
True if there is a curvature discontinuity at curve(t) that passes the curvature kink test.
| |
| IsCurvatureKink(Vector3d, Vector3d) |
True if the ratio min/max <= CurvatureKinkRadiusRatio, where min and max are the
minimum and maximum lengths of curvatureFromBelow and curvatureFromAbove,
or if the angle between curvatureFromBelow and curvatureFromAbove is > KinkAngleDegrees.
If a curvature vector has length <= CurvatureKinkZeroTolerance, it is treated as flat:
its length is treated as CurvatureKinkZeroTolerance in the ratio and its direction is
ignored, so the angle test is only done when both lengths are > CurvatureKinkZeroTolerance.
Two flat curvatures are never a kink.
When CurvatureKinkZeroTolerance = 0, both tests are scale independent.
When CurvatureKinkZeroTolerance > 0, the test is scale dependent.
|