Extending mirror image class by order flag

parent 0c074e11
......@@ -164,14 +164,22 @@ namespace ITAGeo
int iOrder;
void* pUserData; //!< User data pointer (for future use)
inline CMirrorImage() : iPolygonIndex( -1 ), pUserData( nullptr ), iOrder( -1 ) {};
inline CMirrorImage()
: iPolygonIndex( -1 )
, pUserData( nullptr )
, iOrder( -1 )
{
CPropagationAnchor::iAnchorType = CPropagationAnchor::ITA_SPECULAR_REFLECTION;
};
inline explicit CMirrorImage( const CPropagationAnchor& oAnchor )
: CPropagationAnchor( oAnchor )
, iPolygonIndex( -1 )
, iOrder( -1 )
, pUserData( nullptr )
{};
{
CPropagationAnchor::iAnchorType = CPropagationAnchor::ITA_SPECULAR_REFLECTION;
};
inline virtual ~CMirrorImage() {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment