Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pierre NARVOR
rtac_base
Commits
919d8055
Commit
919d8055
authored
Nov 30, 2021
by
Pierre NARVOR
Browse files
[types] Added some non-const getters in Mesh
parent
254379d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/rtac_base/types/Mesh.h
View file @
919d8055
...
...
@@ -43,6 +43,8 @@ class Mesh
const
PointVector
&
points
()
const
;
const
FaceVector
&
faces
()
const
;
PointVector
&
points
();
FaceVector
&
faces
();
const
Point
&
point
(
size_t
idx
)
const
;
const
Face
&
face
(
size_t
idx
)
const
;
...
...
@@ -119,6 +121,20 @@ const typename Mesh<PointT,FaceT,VectorT>::FaceVector&
return
faces_
;
}
template
<
typename
PointT
,
typename
FaceT
,
template
<
typename
>
class
VectorT
>
typename
Mesh
<
PointT
,
FaceT
,
VectorT
>::
PointVector
&
Mesh
<
PointT
,
FaceT
,
VectorT
>::
points
()
{
return
points_
;
}
template
<
typename
PointT
,
typename
FaceT
,
template
<
typename
>
class
VectorT
>
typename
Mesh
<
PointT
,
FaceT
,
VectorT
>::
FaceVector
&
Mesh
<
PointT
,
FaceT
,
VectorT
>::
faces
()
{
return
faces_
;
}
template
<
typename
PointT
,
typename
FaceT
,
template
<
typename
>
class
VectorT
>
const
typename
Mesh
<
PointT
,
FaceT
,
VectorT
>::
Point
&
Mesh
<
PointT
,
FaceT
,
VectorT
>::
point
(
size_t
idx
)
const
...
...
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