Click or drag to resize

CurveIsContinuous Method

Test continuity at a curve parameter value.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public bool IsContinuous(
	Continuity continuityType,
	double t
)

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