FhSim
3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
RopeLook.h
1
#pragma once
2
3
#include <string>
4
5
namespace
marine_elements
6
{
7
10
struct
RopeLook
11
{
13
enum
Construction
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
marine_elements::RopeLook
Definition
RopeLook.h:11
marine_elements::RopeLook::layLength
double layLength
[m]
Definition
RopeLook.h:24
marine_elements::RopeLook::colour
double colour[3]
sRGB
Definition
RopeLook.h:27
marine_elements::RopeLook::Resolve
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)
marine_elements::RopeLook::Construction
Construction
Construction codes of FhSim/Rope.
Definition
RopeLook.h:14
fhsim_marine_elements
src
cable
subroutines
RopeLook.h
Generated on Thu Dec 3 2026 08:28:20 for FhSim by
1.9.8