本文整理汇总了C++中ON_NurbsSurface::Transpose方法的典型用法代码示例。如果您正苦于以下问题:C++ ON_NurbsSurface::Transpose方法的具体用法?C++ ON_NurbsSurface::Transpose怎么用?C++ ON_NurbsSurface::Transpose使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ON_NurbsSurface
的用法示例。
在下文中一共展示了ON_NurbsSurface::Transpose方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1:
int
ON_SurfaceProxy::GetNurbForm( // returns 0: unable to create NURBS representation
// with desired accuracy.
// 1: success - returned NURBS parameterization
// matches the surface's to wthe desired accuracy
// 2: success - returned NURBS point locus matches
// the surfaces's to the desired accuracy but, on
// the interior of the surface's domain, the
// surface's parameterization and the NURBS
// parameterization may not match to the
// desired accuracy.
ON_NurbsSurface& nurbs,
double tolerance
) const
{
ON_BOOL32 rc = ( m_surface ) ? m_surface->GetNurbForm(nurbs,tolerance) : false;
if ( rc && m_bTransposed ) {
rc = nurbs.Transpose();
}
return rc;
}