Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdGeNurbSurface::convertFrom Method (const OdGeSurface*, const OdGeTol&, bool)
Syntax
C++
static OdGeNurbSurface* convertFrom(const OdGeSurface* source, const OdGeTol& tol = OdGeContext::gTol, bool sameParametrization = false);

Converts source surface to spline with given tolerance and parametrization settings in native domain of source surface. 

 

Parameters
Description
source
[in] Source surface to convert.
tol
[in] Accuracy of conversion.
sameParametrization
[in] Necessity of parametrization preserving during conversion.

Raw pointer to converted spline or null pointer if conversion failed.

  • If source surface already is spline, a copy is returned.
  • If provided null-pointer to source surface or surface has no analytic representation, a null-pointer is returned
  • If input domain is not coincident to native domain, the intersection of input and native domain is used to build nurb

Copyright © 2002-2022. Open Design Alliance All rights reserved.