A3DSurfBaseWithDomainGetAsNurbs
-
A3DStatus
A3DSurfBaseWithDomainGetAsNurbs(const A3DSurfBase *pSrf, const A3DDomainData *pOptDomain, A3DDouble dTolerance, A3DBool bUseSameParameterization, A3DSurfNurbsData *pData) A3DStatusA3DSurfBaseWithDomainGetAsNurbs(constA3DSurfBase* pSrf, constA3DDomainData* pOptDomain,A3DDoubledTolerance,A3DBoolbUseSameParameterization,A3DSurfNurbsData* pData)Populates the
A3DSurfNurbsDatastructure from any type ofA3DSurfBaseand an optional restriction domainA3DDomainData.14.2This structure must be freed with
A3DSurfNurbsGet()call.This function can modify the parameterization for surface. You must process related entities accordingly.
If pOptDomain is defined it must be contained by surface domaine.
See note on Tolerance explanation at
A3DCrvBaseGetAsNurbs()definition.This function can be called with any type of curve.
Return Values
A3D_INVALID_DATA_STRUCT_SIZE:
A3D_INVALID_DATA_STRUCT_NULL:
A3D_INTERVAL_INCONSISTENT_DATA:
A3D_SRF_NURBS_TOO_TINY_TOLERANCE:
A3D_SRF_INVALID_PARAMETERS:
A3D_SUCCESS:
Returns
A3D_SUCCESSon success, or an error code on failure