MCPcopy Create free account
hub / github.com/PDAL/PDAL / ScaledIntegerNode

Method ScaledIntegerNode

plugins/e57/libE57Format/src/ScaledIntegerNode.cpp:150–157  ·  view source on GitHub ↗

! @brief Create an E57 element for storing a fixed point number. @param [in] destImageFile The ImageFile where the new node will eventually be stored. @param [in] rawValue The raw integer value of the element. @param [in] minimum The smallest rawValue that the element may take. @param [in] maximum The largest rawValue that the element may take. @param [in] scale The scaling factor used to compute

Source from the content-addressed store, hash-verified

148@see ScaledIntegerNode::rawValue, Node, CompressedVectorNode, CompressedVectorNode::prototype
149*/
150ScaledIntegerNode::ScaledIntegerNode( const ImageFile &destImageFile, int64_t rawValue,
151 int64_t minimum, int64_t maximum, double scale,
152 double offset ) :
153 impl_(
154 new ScaledIntegerNodeImpl( destImageFile.impl(), rawValue, minimum, maximum, scale, offset ) )
155{
156 impl_->validateValue();
157}
158
159ScaledIntegerNode::ScaledIntegerNode( const ImageFile &destImageFile, int rawValue, int64_t minimum,
160 int64_t maximum, double scale, double offset ) :

Callers

nothing calls this directly

Calls 3

toStringFunction · 0.70
validateValueMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected