Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgResBuf::setVector2d Method
Syntax
C++
void setVector2d(const OdGeVector2d& geVector);

Sets the data content of the ResBuf object using the specified two-dimensional vector instance only if the stored group code has a Point type. 

 

Parameters
Description
geVector
[in] Two-dimensional vector instance to be set.

This method generates the OdError_InvalidResBuf exception when the stored data type does not correspond to the Point type. The passed value must be the OdGeVector2d instance.

Example of Entering and Displaying Tagged Data 

Getting and Setting Points and Vectors 

Determining the Data Type by Group Code 

OdResBuf::getVector2d(), OdResBuf::setRestype(), OdDxfCode::_getType() methods

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