Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
OdBmSiteSurfaceHelper::setSurface Method (const OdGePoint3dArray&, OdArray<OdUInt16Array>&)
Syntax
C++
OdResult setSurface(const OdGePoint3dArray& points, OdArray<OdUInt16Array>& facets);

Creates a new topography surface element from points and facets. Points of the topography surface created by facets cannot be modified. 

 

Parameters
Description
points
[in] Input contains points(vertexes) of the surface
facets
[in] Input is an array of tiangle facets composing a polygon mesh. Each facet in the array contains 3 integers representing vertex indices.

eInvalidInput if the arguments are invalid.  

eOk - otherwise.

Facets with more than two points with same x, y are invalid and not allowed. 

 

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