API Reference > FacetModeler Namespace > Classes > Contour2D Class > Contour2D Methods > Contour2D::setMetadataAt Method
Contour2D::setMetadataAt Method
Syntax
C++
Result setMetadataAt(OdUInt32 iIndex, OdIntPtr iNewData);
Parameters 
Description 
OdUInt32 iIndex 
[in] Segment index.  
OdIntPtr iNewData 
[in] New metadata to set.  

eOk if the metadata is set successfully, or a corresponding error type otherwise.

Sets metadata for the specified segment. 

 

By default the metadata value is 0.

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