Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdModelerGeometry::getControlPoints Method
Syntax
C++
virtual OdResult getControlPoints(int& iUCount, int& iVCount, OdGePoint3dArray& points) const = 0;

Returns the control points and the quantity of control points in both U and V directions. 

 

Parameters
Description
iUCount
[out] Quantity of control points in the U direction.
iVCount
[out] Quantity of control points in the V direction.
points
[out] Array of control points (in WCS coordinates).

eOk if control points were successfully returned, or an appropriate error code otherwise.

The control points will be allocated in the passed-in OdGePoint3d array. The column indices are for the V direction, and row indices are for the U direction. For example, if the surface has n control points in the U direction and m control points in the V direction, the array looks like [0,0], [0,1], ...[0,vCount-1], ..., [uCount-1,0], [uCount-1,1], ...[uCount-1,vCount-1].

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