43 lines
1.8 KiB
C++
Executable File
43 lines
1.8 KiB
C++
Executable File
/**
|
|
* @RDE_HEADER@
|
|
* Test ob sich ein Rechteck mit Wirkfeldformen überschneidet
|
|
* $Id$
|
|
* $HeadURL$
|
|
* $Author$
|
|
*/
|
|
#pragma once
|
|
|
|
#include <AreaEffectSimulation/aes_db_structs.h>
|
|
#include <ProjectDataManagement/pdm_enums.hpp>
|
|
|
|
namespace AreaEffectSimulation
|
|
{
|
|
|
|
namespace Intersections
|
|
{
|
|
AES_COMMON_EXPORT bool nContamination(const Database::AesNContamination &awf,
|
|
const QPolygonF &poly);
|
|
AES_COMMON_EXPORT bool bcContamination(const Database::AesBCContamination &cwf,
|
|
ProjectDataManagement::VolatilityType volatilityType,
|
|
double expansionFactor,
|
|
const QDateTime ¤tTime,
|
|
const QPolygonF &poly);
|
|
AES_COMMON_EXPORT bool explosionSingle(const Database::AesExplosionSingle &es,
|
|
double chargeRadius,
|
|
const QPolygonF &poly);
|
|
AES_COMMON_EXPORT bool explosionArea(const Database::AesExplosionArea &ea,
|
|
const QPolygonF &poly);
|
|
AES_COMMON_EXPORT bool mineArea(const QVector<Database::AesMineAreaSegment> &segments,
|
|
double width,
|
|
double density,
|
|
bool bIsCenterLine,
|
|
const QPolygonF &poly);
|
|
|
|
|
|
// keep area (instead of width/density) as also random number is needed!
|
|
AES_COMMON_EXPORT QVector<int> mineIdsInCorridor(const Database::AesMineArea &area,
|
|
const QVector<Database::AesMineAreaSegment> &segments,
|
|
const QVector<QPolygonF> &corridorSegments);
|
|
}
|
|
}
|