FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
WakeSketchLines.h
1#pragma once
2
8#include <marenv/wake/FieldSketch.h>
9#include <vector>
10
11namespace environment
12{
13class EnvironmentProvider;
14}
15
16namespace util
17{
18
20enum class SketchPart
21{
22 Source,
23 Axis,
24 Grid,
25};
26
29{
30 double from[3];
31 double to[3];
33};
34
42marenv::wake::FieldSketch SketchWakes(const environment::EnvironmentProvider& environment, double T);
43
50std::vector<SketchLine> SketchLines(const marenv::wake::FieldSketch& sketch);
51
52} // namespace util
Utility functions for reading Environment parameters from XML.
Definition BathymetryDiagnostics.h:16
marenv::wake::FieldSketch SketchWakes(const environment::EnvironmentProvider &environment, double T)
std::vector< SketchLine > SketchLines(const marenv::wake::FieldSketch &sketch)
SketchPart
What a sketched line belongs to, which decides its colour.
Definition WakeSketchLines.h:21
@ Axis
A jet's axis or a line source.
@ Grid
An edge of a gridded wake's box.
@ Source
A point source (a cross of its footprint diameter) or a line source.
Definition FieldSketch.h:16
One line segment of a sketch, NED [m].
Definition WakeSketchLines.h:29
SketchPart part
What the line belongs to.
Definition WakeSketchLines.h:32
double from[3]
One end.
Definition WakeSketchLines.h:30
double to[3]
The other end.
Definition WakeSketchLines.h:31