Click or drag to resize

CurveKinkDefinition Methods

The CurveKinkDefinition type exposes the following members.

Methods
  NameDescription
Public methodComputeCurvatureRadiusRatio
Calculates the curvature radius ratio and the angle between the two curvature vectors, as used by IsCurvatureKink(Vector3d, Vector3d).
Public methodDispose
Actively reclaims unmanaged resources that this instance uses.
Protected methodDispose(Boolean)
For derived class implementers.

This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.

You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.

Also, you must call the base virtual method within your overriding method.

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsCurvatureKink(Curve, Double)
True if there is a curvature discontinuity at curve(t) that passes the curvature kink test.
Public methodIsCurvatureKink(Vector3d, Vector3d)
True if the ratio min/max <= CurvatureKinkRadiusRatio, where min and max are the minimum and maximum lengths of curvatureFromBelow and curvatureFromAbove, or if the angle between curvatureFromBelow and curvatureFromAbove is > KinkAngleDegrees. If a curvature vector has length <= CurvatureKinkZeroTolerance, it is treated as flat: its length is treated as CurvatureKinkZeroTolerance in the ratio and its direction is ignored, so the angle test is only done when both lengths are > CurvatureKinkZeroTolerance. Two flat curvatures are never a kink. When CurvatureKinkZeroTolerance = 0, both tests are scale independent. When CurvatureKinkZeroTolerance > 0, the test is scale dependent.
Public methodIsCurvatureZero(Double)
Returns true if the curvature vector is considered to be zero given the CurvatureKinkZeroTolerance
Public methodIsCurvatureZero(Vector3d)
Returns true if the curvature vector is considered to be zero given the CurvatureKinkZeroTolerance
Public methodIsKink
True if there is a kink at curve(t).
Public methodIsTangentKink(Curve, Double)
True if there is a tangent discontinuity at curve(t) and the agnle between the two tangents is > KinkAngleDegrees
Public methodIsTangentKink(Vector3d, Vector3d)
True if the angle between tangent_from_below and tangent_from_above is > KinkAngleDegrees
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also