Interface INonPeriodicSurfaceConversion
- Namespace
- CADability.GeoObject
- Assembly
- CADability.dll
Implemented by surfaces which describe the same geometry as a periodic surface but with a non-periodic parameter system (e.g. NonPeriodicCylindricalSurface, which replaces the angle u of the CylindricalSurface). It converts u/v points and 2d curves between the two parameter systems, so that curves computed on the periodic surface can be used on the non-periodic one and vice versa.
public interface INonPeriodicSurfaceConversion
Methods
FromPeriodic(ICurve2D)
Converts a 2d curve from the parameter system of the underlying periodic surface to the parameter system of this (non-periodic) surface.
ICurve2D FromPeriodic(ICurve2D curve2d)
Parameters
curve2dICurve2DCurve in the parameter system of the periodic surface
Returns
- ICurve2D
The corresponding curve in the parameter system of this surface
FromPeriodic(GeoPoint2D)
Converts a point from the parameter system of the underlying periodic surface to the parameter system of this (non-periodic) surface.
GeoPoint2D FromPeriodic(GeoPoint2D uv)
Parameters
uvGeoPoint2DPoint in the parameter system of the periodic surface
Returns
- GeoPoint2D
The same point in the parameter system of this surface
ToPeriodic(ICurve2D)
Converts a 2d curve from the parameter system of this (non-periodic) surface to the parameter system of the underlying periodic surface.
ICurve2D ToPeriodic(ICurve2D curve2d)
Parameters
curve2dICurve2DCurve in the parameter system of this surface
Returns
- ICurve2D
The corresponding curve in the parameter system of the periodic surface
ToPeriodic(GeoPoint2D)
Converts a point from the parameter system of this (non-periodic) surface to the parameter system of the underlying periodic surface.
GeoPoint2D ToPeriodic(GeoPoint2D uv)
Parameters
uvGeoPoint2DPoint in the parameter system of this surface
Returns
- GeoPoint2D
The same point in the parameter system of the periodic surface