Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdResBuf::setPoint2d Method
Syntax
C++
void setPoint2d(const OdGePoint2d& gePoint);

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

 

Parameters
Description
gePoint
[in] Two-dimensional point 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 OdGePoint2d instance.

Example of Entering and Displaying Tagged Data 

Getting and Setting Points and Vectors 

Determining the Data Type by Group Code 

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

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