src
fields2cover
types
PathState.cpp
Go to the documentation of this file.
1
//=============================================================================
2
// Copyright (C) 2021-2024 Wageningen University - All Rights Reserved
3
// Author: Gonzalo Mier
4
// BSD-3 License
5
//=============================================================================
6
7
#include "
fields2cover/types/PathState.h
"
8
9
namespace
f2c::types
{
10
11
Point
PathState::atEnd
()
const
{
12
return
point
.
getPointFromAngle
(
angle
,
len
*
static_cast<
double
>
(
dir
));
13
}
14
15
}
// namespace f2c::types
16
f2c::types
Types used by fields2cover library.
Definition:
Cell.h:20
f2c::types::PathState::point
Point point
Definition:
PathState.h:28
f2c::types::PathState::dir
PathDirection dir
Definition:
PathState.h:31
PathState.h
f2c::types::Point
Definition:
Point.h:21
f2c::types::PathState::atEnd
Point atEnd() const
Definition:
PathState.cpp:11
f2c::types::PathState::len
double len
Definition:
PathState.h:30
f2c::types::PathState::angle
double angle
Definition:
PathState.h:29
f2c::types::Point::getPointFromAngle
Point getPointFromAngle(double angle, double dist) const
Definition:
Point.cpp:145
fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31