API Reference > Other Classes > OdResBuf Class > OdResBuf Methods > OdResBuf::setPoint3d Method
OdResBuf::setPoint3d Method
Syntax
C++
void setPoint3d(const OdGePoint3d& gePoint);
Parameters 
Description 
const OdGePoint3d& gePoint 
[in] Three-dimensional point instance to be set. 

Sets the data content of the ResBuf object using the specified three-dimensional point 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 OdGePoint3d instance.

Example of Entering and Displaying Tagged Data 

Getting and Setting Points and Vectors 

Determining the Data Type by Group Code 

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

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