API Reference > Classes > PRC Curve Classes > OdPrcCurve2d Class > OdPrcCurve2d Methods > OdPrcCurve2d::setTransformation Method
OdPrcCurve2d::setTransformation Method
Syntax
C++
OdResult setTransformation(const OdPrcTransformation2d* trans);
Parameters 
Description 
const OdPrcTransformation2d* trans 
[in] A pointer to the transformation object.
 

Returns eOk if the new transformation was successfully set or an appropriate error code in the other case.

Sets a new transformation for the curve. 

 

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