Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdResBuf::getVector3d Method
Syntax
C++
const OdGeVector3d& getVector3d() const;

Returns the data content of the ResBuf object as three-dimensional vector instance.

This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the Point type. When the ResBuf object stores two-dimensional point or vector, this method converts it to the three-dimensional vector adding zero Z-coordinate.

Example of Entering and Displaying Tagged Data 

Getting and Setting Points and Vectors 

Determining the Data Type by Group Code 

OdResBuf::setVector3d(), OdResBuf::restype(), OdDxfCode::_getType() methods

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