API Reference > Classes > PRC Markup Classes > OdPrcMarkupTessBufTriangles Class > OdPrcMarkupTessBufTriangles Methods > setTriangles Method > OdPrcMarkupTessBufTriangles::setTriangles Method (float *, OdUInt32)
OdPrcMarkupTessBufTriangles::setTriangles Method (float *, OdUInt32)
Syntax
C++
OdResult setTriangles(const float * points, OdUInt32 numPoints);
Parameters 
Description 
const float * points 
[in] A float array that represents tessellation triangle points.  
OdUInt32 numPoints 
[in] Quantity of triangle points.
 

Returns eOk if new triangles have been successfully set.

Sets new tessellation triangle points. 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.