API Reference > OdDb Classes > OdDbPoint Class > OdDbPoint Methods > OdDbPoint::setEcsRotation Method
OdDbPoint::setEcsRotation Method
Syntax
C++
void setEcsRotation(double vAngle);
Parameters 
Description 
double vAngle 
[in] Rotation angle as a Double value. 

Sets the ECS Rotation which defines the angle in the range 0 to 2PI radians between the OCS X-axis for the point based on the normal vector and the X-axis that will be used for displaying the point entity (DXF 50). A positive angle rotates clockwise. A negative angle rotates counterclockwise. The initial value is zero by default. 

 

The ECS Rotation is used when PDMODE is non-zero. This method does not convert to an equivalent angle and sets the specified angle value.

Example of Working with the Point Object 

Specific Point Properties 

OdDbPoint::ecsRotation() method

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