Interface ICurveTransformation2D
- Namespace
- CADability.Curve2D
- Assembly
- CADability.dll
Interface for non affine parameterspace transformation for 2d curves
public interface ICurveTransformation2D
Methods
ReverseTransformPoint(GeoPoint2D)
Maps a point of the transformed space back to the original 2d space; the inverse of TransformPoint(GeoPoint2D).
GeoPoint2D ReverseTransformPoint(GeoPoint2D p)
Parameters
pGeoPoint2Dthe point in the transformed space
Returns
- GeoPoint2D
the point in the original space
TransformDeriv1(ICurve2D, double)
Returns the first derivative (the direction) of the transformed curve at the normalized parameter par,
i.e. the derivative of the composition of curve and the transformation.
GeoVector2D TransformDeriv1(ICurve2D curve, double par)
Parameters
Returns
- GeoVector2D
the direction of the transformed curve
TransformDeriv2(ICurve2D, double)
Returns the second derivative of the transformed curve at the normalized parameter par. Not every
implementation provides it; the one of the non-periodic cylindrical surface throws NotImplementedException.
GeoVector2D TransformDeriv2(ICurve2D curve, double par)
Parameters
Returns
- GeoVector2D
the second derivative of the transformed curve
TransformPoint(ICurve2D, double)
Returns the transformed point of a curve of the original space at the normalized parameter par, i.e.
TransformPoint(GeoPoint2D) applied to curve.PointAt(par).
GeoPoint2D TransformPoint(ICurve2D curve, double par)
Parameters
Returns
- GeoPoint2D
the transformed point
TransformPoint(GeoPoint2D)
Maps a point of the original 2d space to the transformed space.
GeoPoint2D TransformPoint(GeoPoint2D p)
Parameters
pGeoPoint2Dthe point in the original space
Returns
- GeoPoint2D
the transformed point