NaughtyCurveCurveAssistant
CurveAssistant<1>Properties
IsReimplementation
Gets whether or not this assistant is a type-safe re-implementation of a more generic assistant.
Implements: IsReimplementation
ReimplementationBase
Gets the base assistant (if any) this assistant is a re-implementation of.
Implements: ReimplementationBase
Implements: Type
Methods
ConvertToNurbsCurve
Convert the instance into a Rhino NURBS curve type which best describes the original instance. Note this method need not return a duplicate of the input, if a duplicate is required by the caller then a ReferenceEquals check must be performed.
Returns: A Rhino NURBS curve or null if there is no way to describe the curve geometry as NURBS.
ConvertToPolyline
Convert the instance into a polyline.
EvaluateCurvature
#Overrides: CurveAssistant<T>.EvaluateCurvature
EvaluateDerivatives
#Overrides: CurveAssistant<T>.EvaluateDerivatives
EvaluatePerpendicular
#Overrides: CurveAssistant<T>.EvaluatePerpendicular
EvaluateTangent
#Overrides: CurveAssistant<T>.EvaluateTangent
Explode
Explode a curve into smaller segments, each representing a subtype of curve.
Returns: Array of subcurves.
ExplodeRecursive
Explode a curve into the smallest possible segments.
Returns: Array of subcurves.
Extend
Extend the curve.
public virtual object Extend()
T
instance,
Instance of T.
start,
Extension properties at start.
end
Extension properties at end.
Returns: Modified curve.
FindCurvatureExtremes
Find the two parameters with the lowest and highest curvature.
FindDiscontinuities
Find all discontinuities along the curve up to and including a target continuity type.
Returns: Array of curve discontinuities.
FindFurthestParameter
Find the point on the curve furthest from a test point.
Returns: Parameter or double.NaN if no parameter could be found.
FindInflections
Find all inflection points along the curve.
Returns: Array of curve parameters.
FindPositionExtremes
Find the two parameters closest to and furthest away from a plane.
Returns: Flipped curve.
GetDomain
Get the domain of an instance of T.
Returns: Domain of curve.
GetEndPoints
Get the end-points of a curve.
GetEndTangents
Get the tangents at the ends of a curve.
GetLength
Measure the total length of this curve.
Returns: Length.
GetSpans
Gets an array of curve domain spans. A span is a section of the curve that is reasonably simple in shape. Discontinuities in curves typically signal transitions from one span to another, but it depends on the curve type how it divides itself up.
Returns: Span domains.
IntersectWith
Find all the intersection parameters between this curve and a plane.
Returns: Collection of zero or more curve parameters.
IsLinear
Determine whether the curve is linear.
Returns: True if curve is linear.
IsLinear
Determine the best fit line for this curve.
IsPeriodic
Determine whether the curve is periodic.
Returns: Boolean value indicating periodicity.
IsPlanar
Determine whether the curve is planar.
Returns: Boolean value indicating planarity.
IsPlanar
Determine the best fit plane for this curve.
SetDomain
Assign a new parameter domain to the curve.
Returns: Curve with new domain.
Split
Split a curve into two parts.
Trim
Extract a subcurve from an instance of T.
Returns: Sub curve.