API Reference > Other Classes > OdDgResBuf Class > OdDgResBuf Methods > OdDgResBuf::setVector3d Method
OdDgResBuf::setVector3d Method
Syntax
C++
void setVector3d(const OdGeVector3d& val);
Parameters 
Description 
geVector 
[in] Three-dimensional vector instance to be set. 

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

 

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 OdGeVector3d instance.

Example of Entering and Displaying Tagged Data 

Getting and Setting Points and Vectors 

Determining the Data Type by Group Code 

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

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