API Reference > OdDb Classes > OdDbPoint Class > OdDbPoint Methods > OdDbPoint::ecsRotation Method
OdDbPoint::ecsRotation Method
Syntax
C++
double ecsRotation() const;

Returns the ECS Rotation which defines the angle in 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 value is measured clockwise. A negative angle value is measured counterclockwise.

The ECS Rotation is used when PDMODE is non-zero.

Example of Working with the Point Object 

Specific Point Properties 

OdDbPoint::setEcsRotation() method

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