CurveKinkDefinitionComputeCurvatureRadiusRatio Method |
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic bool ComputeCurvatureRadiusRatio(
Vector3d curvatureFromBelow,
Vector3d curvatureFromAbove,
out double radiusOfCurvatureRatio,
out double curvatureVectorAngleDegrees
)
Public Function ComputeCurvatureRadiusRatio (
curvatureFromBelow As Vector3d,
curvatureFromAbove As Vector3d,
<OutAttribute> ByRef radiusOfCurvatureRatio As Double,
<OutAttribute> ByRef curvatureVectorAngleDegrees As Double
) As Boolean
Parameters
- curvatureFromBelow
- Type: Rhino.GeometryVector3d
- curvatureFromAbove
- Type: Rhino.GeometryVector3d
- radiusOfCurvatureRatio
- Type: SystemDouble
min/max of the lengths of curvatureFromBelow and curvatureFromAbove, where a length
<= CurvatureKinkZeroTolerance is treated as CurvatureKinkZeroTolerance.
This is 1 when both lengths are <= CurvatureKinkZeroTolerance.
- curvatureVectorAngleDegrees
- Type: SystemDouble
The angle between curvatureFromBelow and curvatureFromAbove. If one or both lengths are
<= CurvatureKinkZeroTolerance, the direction is ignored and this returns RhinoMath.UnsetValue.
Return Value
Type:
BooleanTrue if the calculation is successful.
See Also