API Reference > Classes > Export Classes > TB_IFCEXPORT Namespace > Classes > LevelUtil Class > LevelUtil Methods > LevelUtil::calculateDistanceToNextLevel Method
LevelUtil::calculateDistanceToNextLevel Method
Syntax
C++
static double calculateDistanceToNextLevel(const OdBmObjectId& levelId, OdLevelInfoPtr& levelInfo);
Parameters 
Description 
const OdBmObjectId& levelId 
[in] Element id of the level.  
OdLevelInfoPtr& levelInfo 
[in] Associated level information object.
 

Distance to the next level, or 0 if the parameter is not set, or the distance is negative.

Calculates the distance to the next level if the UpToLevel parameter is set. 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.