Test continuity at a curve parameter value.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntaxpublic bool IsContinuous(
Continuity continuityType,
double t
)
Public Function IsContinuous (
continuityType As Continuity,
t As Double
) As Boolean
Parameters
- continuityType
- Type: Rhino.GeometryContinuity
Type of continuity to test for. - t
- Type: SystemDouble
Parameter to test.
Return Value
Type:
Boolean
true if the curve has at least the c type continuity at the parameter t.
Remarks
G1 uses a 1 degree tangent angle tolerance. G2 reports a discontinuity if the curvature
vectors differ in direction by more than 2 degrees or in magnitude by more than 5%.
These tolerances do not depend on the document's angle tolerance.
See Also