curvature()

Synopsis

Returns the curvature of the curve at the given point. The curvature is the inverse of the radius of curvature at the point. The point must be on the curve.

Syntax

curvature ( curve As Part, _
            p1 As Point ) As Number 
Argument Type Description
curve part Must be a kind of curveMixin.
p1 point A point on the curve that defines the location at which the curvature is computed.

Example 1

Intent >curvature(Arc_1,Arc_1.midPoint) 
--> 0.2 

An Arc is a curve that has a constant curvature. The curvature of an Arc is 1/radius.

Example 2

Intent >curvature(splineCurve_1, somePointOnSplineCurve) 
--> 0.254