FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
RopeLook.h
1#pragma once
2
3#include <string>
4
5namespace marine_elements
6{
7
11{
14 {
15 Plain = 0,
16 Twisted3 = 1,
17 Braided8 = 2,
18 Braided12 = 3,
19 Braided16 = 4,
20 Wire6x19 = 5,
21 Wire6x36 = 6
22 };
23 int construction = Plain;
24 double layLength = 0.1;
25 double roughness = 0.5;
26 double metalness = 0.0;
27 double colour[3] = {1.0, 1.0, 1.0};
28
42 static RopeLook Resolve(const std::string& construction, const std::string& fibre, const std::string& colour, double layLength,
43 const std::string& materialName, double diameter, std::string& error);
44};
45
46} // namespace marine_elements
Definition RopeLook.h:11
double layLength
[m]
Definition RopeLook.h:24
double colour[3]
sRGB
Definition RopeLook.h:27
static RopeLook Resolve(const std::string &construction, const std::string &fibre, const std::string &colour, double layLength, const std::string &materialName, double diameter, std::string &error)
Construction
Construction codes of FhSim/Rope.
Definition RopeLook.h:14