Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openfpm
openfpm_pdata
Commits
b25ec63a
Commit
b25ec63a
authored
Oct 13, 2016
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding missing files
parent
dc867ebf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
src/debug.hpp
src/debug.hpp
+36
-0
No files found.
src/debug.hpp
0 → 100644
View file @
b25ec63a
/*
* debug.hpp
*
* Created on: Oct 7, 2016
* Author: i-bird
*/
#ifndef SRC_DEBUG_HPP_
#define SRC_DEBUG_HPP_
#include "Vector/map_vector.hpp"
#include "Space/Shape/Point.hpp"
Point
<
3
,
float
>
getPosPoint3f
(
openfpm
::
vector
<
Point
<
3
,
float
>>
&
pos
,
size_t
i
)
{
return
Point
<
3
,
float
>
(
pos
.
get
(
i
));
}
Point
<
3
,
double
>
getPosPoint3d
(
openfpm
::
vector
<
Point
<
3
,
double
>>
&
pos
,
size_t
i
)
{
return
Point
<
3
,
double
>
(
pos
.
get
(
i
));
}
Point
<
2
,
float
>
getPosPoint2f
(
openfpm
::
vector
<
Point
<
2
,
float
>>
&
pos
,
size_t
i
)
{
return
Point
<
2
,
float
>
(
pos
.
get
(
i
));
}
Point
<
2
,
double
>
getPosPoint2d
(
openfpm
::
vector
<
Point
<
2
,
double
>>
&
pos
,
size_t
i
)
{
return
Point
<
2
,
double
>
(
pos
.
get
(
i
));
}
#endif
/* SRC_DEBUG_HPP_ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment