248 void SetRunUp(
int const,
double const);
251 double dGetLevel(
int const,
int const)
const;
270 CGeomCoastPolygon*
pPolyCreatePolygon(
int const,
int const,
int const,
CGeom2DIPoint const*,
CGeom2DIPoint const*,
int const,
int const, vector<CGeom2DPoint>
const*,
int const,
int const,
bool const,
bool const);
Contains CGeomCell definitions.
Geometry class used to represent 2D point objects with integer coordinates.
Geometry class used to represent 2D point objects with floating-point coordinates.
Geometry class used for coast polygon objects.
Geometry class used to represent 2D vector integer line objects.
Geometry class used to represent 2D vector line objects.
Geometry class used to represent coast profile objects.
void SetStartEdge(int const)
Sets the coast's start edge.
double dGetBreakingWaveAngle(int const) const
Gets the breaking wave angle for this coast point.
void AppendShadowBoundary(CGeomLine const *)
Appends a shadow boundary to this coast.
vector< CGeomProfile * > m_pVProfile
Coast-normal profile objects, in sequence of creation (which is the same as nGetCoastID() sequence)
void SetCoastDeepWaterWavePeriod(int const, double const)
Sets the deep water wave period for this coast point.
void SetCoastDeepWaterWaveAngle(int const, double const)
Sets the deep water wave angle for this coast point.
int nGetNumShadowDowndriftBoundaries(void) const
Returns the number of shadow zone downdrift boundaries on this coast.
CGeomLine m_LFloodWaveSetupSurgeRunupExtCRS
Line of points (external CRS) giving the plan view of the vector flood of wave setup + surge + runup.
CGeom2DIPoint * pPtiGetCellMarkedAsCoastline(int const)
Returns the coordinates (grid CRS) of the cells marked as coastline.
vector< double > m_VdBreakingWaveHeight
The breaking wave height on a normal drawn from each point on m_LCoastlineExtCRS.
void SetBreakingDistance(int const, int const)
Sets the breaking distance for this coast point.
vector< double > m_VdRunUp
The run-up on a normal drawn from each point on m_LCoastlineExtCRS.
double dGetDetailedCurvature(int const) const
Returns the detailed curvature for a coast point.
double dGetSmoothCurvatureMean(void) const
Gets the mean of the coast's smoothed curvature.
CRWCoast(CSimulation *)
Constructor with initialization list.
bool bIsProfileAtCoastPoint(int const) const
Returns true if there is a coastline-normal profile at this coast point, false otherwise.
void SetSmoothCurvatureSTD(double const)
Sets the standard deviation of the coast's smoothed curvature.
vector< double > m_VdWaveSetupSurge
The wave setup on a normal drawn from each point on m_LCoastlineExtCRS.
CGeomCoastPolygon * pPolyCreatePolygon(int const, int const, int const, CGeom2DIPoint const *, CGeom2DIPoint const *, int const, int const, vector< CGeom2DPoint > const *, int const, int const, bool const, bool const)
Creates a coast polygon and returns a pointer to it.
double dGetSmoothCurvatureSTD(void) const
Gets the standard deviation of the coast's smoothed curvature.
int nGetEndEdge(void) const
Gets the coast's end edge.
CGeomProfile * pGetDownCoastProfile(CGeomProfile const *pProfile)
Returns a pointer to the profile which is adjacent to and down-coast from the given profile pointer....
void SetDepthOfBreaking(int const, double const)
Sets the depth of breaking for this coast point.
void SetSmoothCurvatureMean(double const)
Sets the mean of the coast's smoothed curvature.
vector< int > m_VnBreakingDistance
Distance of breaking (in cells), at each point on m_LCoastlineExtCRS.
double dGetBreakingWaveHeight(int const) const
Gets the breaking wave height for this coast point.
CSimulation * pGetSim(void) const
Returns a pointer to the simulation object.
void SetFluxOrientation(int const, double const)
Sets the flux orientation for this coast point.
CGeomCoastPolygon * pGetPolygon(int const) const
Returns a pointer to a coast polygon, specified by down-coast sequence.
CGeomLine m_LCoastlineExtCRS
Smoothed line of points (external CRS) giving the plan view of the vector coast.
void AppendProfile(CGeomProfile *)
Appenda a coastline-normal profile.
int m_nEndEdge
The edge at which the coast ends.
CACoastLandform * pGetCoastLandform(int const)
Returns the coastal landform for a given coast point, or NULL if there is no coast landform here.
double m_dCurvatureSmoothSTD
The standard deviaton of the coast's smoothed curvature.
void SetWaveSetupSurge(int const, double const)
Sets the wave setup surge for this coast point.
vector< double > m_VdWaveEnergyAtBreaking
Wave energy at each point on m_LCoastlineExtCRS.
CGeomLine * pGetShadowDowndriftBoundary(int const)
Returns a pointer to a shadow zone downdrift boundary.
int m_nStartEdge
The edge from which the coast starts.
CGeomProfile * pGetUpCoastProfile(CGeomProfile const *pProfile)
Returns a pointer to the profile which is adjacent to and up-coast from the specified profile....
CGeomLine * pLGetCoastlineExtCRS(void)
Returns the coastline (external CRS)
vector< CACoastLandform * > m_pVLandform
Pointer to a coastal landform object, at each point on the coastline.
void SetCoastlineGridCRS(CGeomILine const *)
Sets the coordinates (grid CRS) of the cells marked as coastline.
double dGetWaveEnergyAtBreaking(int const) const
Gets the wave energy at breaking for this coast point.
double dGetDepthOfBreaking(int const) const
Gets the depth of breaking for this coast point.
int nGetCoastPointGivenCell(CGeom2DIPoint *)
Returns the coastline number given a cell, or INT_NODATA if neither this cell or any of its neighbour...
int nGetNumShadowBoundaries(void) const
Returns the number of shadow boundaries on this coast.
int nGetSeaHandedness(void) const
Gers the handedness of the coast.
vector< double > m_VdDeepWaterWaveAngle
The deep water wave orientation at the end of a normal drawn from each point on m_LCoastlineExtCRS.
vector< CGeomLine > m_LShadowBoundary
Lines which comprise the edge of a shadow zone, ext CRS.
vector< double > m_VdDeepWaterWavePeriod
The deep water wave period at the end of a normal drawn from each point on m_LCoastlineExtCRS.
CSimulation * m_pSim
A pointer to the CSimulation object.
vector< CGeomProfile * > m_pVProfileDownCoastSeq
Pointers to coastline-normal objects, in along-coastline sequence.
int nGetNumProfiles(void) const
Returns the number of profiles on this coast.
double dGetRunUp(int const) const
Gets the wave runup for this coast point.
CGeomProfile * pGetProfile(int const)
Returns a pointer to a profile, in polygon-ID number sequence.
CGeomLine * pGetShadowBoundary(int const)
Returns a pointer to a shadow boundary.
int nGetCoastlineSize(void) const
Gets the size of the coastline.
~CRWCoast(void)
Destructor.
void SetCoastlineExtCRS(CGeomLine const *)
Given the vector line of a coast, this initializes coastline values (curvature, breaking wave height,...
void SetRunUp(int const, double const)
Sets the wave runup for this coast point.
vector< double > m_VdBreakingWaveAngle
The breaking wave orientation on a normal drawn from each point on m_LCoastlineExtCRS.
CGeomProfile * pGetProfileWithUpCoastSeq(int const) const
Returns a pointer to a coastline-normal profile in up-coast sequence.
vector< double > m_VdCurvatureDetailed
Detailed curvature at each point on m_LCoastlineExtCRS.
void SetDetailedCurvatureMean(double const)
Sets the mean of the coast's detailed curvature.
void SetBreakingWaveHeight(int const, double const)
Sets the breaking wave height for this coast point.
int nGetStartEdge(void) const
Gets the coast's start edge.
void SetPolygonNode(int const, int const)
Sets a coast polygon node.
void SetDetailedCurvatureSTD(double const)
Sets the standard deviation of the coast's detailed curvature.
CGeom2DPoint * pPtGetCoastlinePointExtCRS(int const)
Returns a given coast point in external CRS.
int nGetPolygonNode(int const) const
Gets a coast polygon node.
double m_dCurvatureSmoothMean
The mean of the coast's smoothed curvature.
void SetBreakingWaveAngle(int const, double const)
Sets the breaking wave angle for this coast point.
vector< double > m_VdCoastWaveHeight
The wave height at coast point on a normal drawn from each point on m_LCoastlineExtCRS.
vector< double > m_VdDeepWaterWaveHeight
The deep water wave height at the end of a normal drawn from each point on m_LCoastlineExtCRS.
void SetProfileAtCoastPoint(int const, CGeomProfile *const)
Sets a pointer to a coast-normal profile at a given coastline point.
int nGetBreakingDistance(int const) const
Gets the breaking distance for this coast point.
void SetSmoothCurvature(int const, double const)
Sets the smoothed curvature for a coast point.
vector< double > m_VdDepthOfBreaking
The depth of breaking on a normal drawn from each point on m_LCoastlineExtCRS.
void AppendCoastLandform(CACoastLandform *)
Appends a coastal landform to this coast.
double m_dCurvatureDetailedSTD
The standard deviation of the coast's detailed curvature.
vector< double > * pVGetSmoothCurvature(void)
Returns a pointer to a vector of smoothed curvature for all coast points.
void InsertProfilesInProfileCoastPointIndex(void)
Inserts profiles at coastline points in the profile-coastline-point index.
void AppendShadowDowndriftBoundary(CGeomLine const *)
Appends a shadow zone downdrift boundary.
double dGetFluxOrientation(int const) const
Gets the flux orientation for this coast point.
double dGetCoastDeepWaterWavePeriod(int const) const
Gets the deep water wave period for this coast point.
void SetCoastDeepWaterWaveHeight(int const, double const)
Sets the deep water wave height for this coast point.
vector< CGeomProfile * > m_pVNormalProfileDownAllCoastpointSeq
Pointers to coast-normal profile objects, one for each point on the coastline (is null for most coast...
void SetSeaHandedness(int const)
Sets the handedness of the coast.
vector< double > m_VdCurvatureSmooth
Smoothed curvature at each point on m_LCoastlineExtCRS.
int m_nSeaHandedness
Direction of the sea from the coastline, travelling down-coast (i.e. in direction of increasing coast...
CGeomProfile * pGetLastProfile(void)
Returns a pointer to the last profile, in polygon-ID number sequence.
double dGetSmoothCurvature(int const) const
Returns the smoothed curvature for a coast point.
CGeomILine m_ILCellsMarkedAsCoastline
Unsmoothed integer x-y coordinates (grid CRS) of the cell marked as coastline for each point on the v...
vector< double > * pVGetDetailedCurvature(void)
Returns a pointer to a vector of detailed curvature for all coast points.
vector< int > m_VnPolygonNode
At every point on m_LCoastlineExtCRS: INT_NODATA if no nodepoint there, otherwise the node (point of ...
void SetWaveEnergyAtBreaking(int const, double const)
Sets the wave energy at breaking for this coast point.
double m_dCurvatureDetailedMean
The mean of the coast's detailed curvature.
CGeomProfile * pGetProfileWithDownCoastSeq(int const) const
Returns a pointer to a coastline-normal profile in down-coast sequence.
double dGetCoastWaveHeight(int const) const
Gets the coast wave height for this coast point.
CGeomProfile * pGetProfileAtCoastPoint(int const) const
Returns a pointer to the coastline-normal profile at this coast point.
void CreateProfileDownCoastIndex(void)
Creates an index to profiles in down-coastline sequence.
CGeomLine m_LFloodWaveSetupExtCRS
Line of points (external CRS) giving the plan view of the vector flood of wave setup.
void CreateProfilesAtCoastPoints(void)
Creates a vector which holds, for each coastline point, a null pointer to a coastline-normal profile ...
void SetEndEdge(int const)
Sets the coast's end edge.
CGeomLine m_LFloodWaveSetupSurgeExtCRS
Line of points (external CRS) giving the plan view of the vector flood of wave setup + surge.
double dGetWaveSetupSurge(int const) const
Gets the wave setup surge for this coast point.
CGeomProfile * pGetDownCoastProfileNotIncLastProfile(CGeomProfile const *pProfile)
Returns a pointer to the profile which is adjacent to and down-coast from the specified profile; howe...
vector< double > m_VdFluxOrientation
As in the COVE model, this is the orientation alongshore energy/sediment movement; a +ve flux is in d...
int nGetNumPolygons(void) const
Returns the number of coast polygons.
void SetCoastWaveHeight(int const, double const)
Sets the coast wave height for this coast point.
void SetDetailedCurvature(int const, double const)
Sets the detailed curvature for a coast point.
double dGetLevel(int const, int const) const
Sets the wave level for this coast point.
vector< CGeomLine > m_LShadowDowndriftBoundary
Lines which comprise the edge of a downdrift zone, ext CRS.
double dGetCoastDeepWaterWaveAngle(int const) const
Gets the deep water wave angle for this coast point.
This class runs CoastalME simulations.
This file contains global definitions for CoastalME.
Contains CGeomCoastPolygon definitions.
Contains CGeomProfile definitions.