Public Member Functions | List of all members
IDTMVolume Struct Reference

Interface implemented by DTM engines. More...

#include <IDTM.h>

Public Member Functions

BENTLEYDTM_EXPORT DTMStatusInt ComputeCutFillVolume (double *cut, double *fill, double *volume, PolyfaceHeaderCP mesh)
 Compute volume between DTM and mesh. More...
 
BENTLEYDTM_EXPORT DTMStatusInt ComputeCutFillVolumeClosed (double *cut, double *fill, double *volume, PolyfaceHeaderCP mesh)
 Compute volume between DTM and closed mesh. More...
 
BENTLEYDTM_EXPORT bool RestrictVolumeToRegion (uint64_t regionId)
 Clips volume computations to a given region. More...
 
BENTLEYDTM_EXPORT void RemoveAllRestrictions ()
 Use the whole DTM for further computations. More...
 

Detailed Description

Interface implemented by DTM engines.

Member Function Documentation

BENTLEYDTM_EXPORT DTMStatusInt ComputeCutFillVolume ( double *  cut,
double *  fill,
double *  volume,
PolyfaceHeaderCP  mesh 
)

Compute volume between DTM and mesh.

Parameters
[out]cutCut volume. Can be null.
[out]fillFill volume. Can be null.
[out]volumeTotal volume. Can be null.
[in]meshCompute volume between DTM and this surface mesh.
Returns
DTM status.
BENTLEYDTM_EXPORT DTMStatusInt ComputeCutFillVolumeClosed ( double *  cut,
double *  fill,
double *  volume,
PolyfaceHeaderCP  mesh 
)

Compute volume between DTM and closed mesh.

Parameters
[out]cutCut volume. Can be null.
[out]fillFill volume. Can be null.
[out]volumeTotal volume. Can be null.
[in]meshCompute volume between DTM and this surface mesh.
Returns
DTM status.
BENTLEYDTM_EXPORT void RemoveAllRestrictions ( )

Use the whole DTM for further computations.

BENTLEYDTM_EXPORT bool RestrictVolumeToRegion ( uint64_t  regionId)

Clips volume computations to a given region.

Parameters
[in]regionIdID of the region to consider
Returns
true if the region is found within the DTM.

The documentation for this struct was generated from the following file:

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.