Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CGoGN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
CGoGN
CGoGN
Commits
bb4982ae
Commit
bb4982ae
authored
Oct 05, 2012
by
Sylvain Thery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug selector
parent
ca166e89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/Algo/Selection/raySelector.hpp
include/Algo/Selection/raySelector.hpp
+2
-2
No files found.
include/Algo/Selection/raySelector.hpp
View file @
bb4982ae
...
...
@@ -110,7 +110,7 @@ void facesRaySelection(typename PFP::MAP& map, const VertexAttribute<typename PF
* @param dist radius of the cylinder of selection
*/
template
<
typename
PFP
>
void
edgesRaySelection
(
typename
PFP
::
MAP
&
map
,
const
VertexAttribute
<
typename
PFP
::
VEC3
>&
position
,
const
FunctorSelect
&
good
,
const
typename
PFP
::
VEC3
&
rayA
,
const
typename
PFP
::
VEC3
&
rayAB
,
std
::
vector
<
Dart
>&
vecEdges
,
float
distMax
)
void
edgesRaySelection
(
typename
PFP
::
MAP
&
map
,
const
VertexAttribute
<
typename
PFP
::
VEC3
>&
position
,
const
typename
PFP
::
VEC3
&
rayA
,
const
typename
PFP
::
VEC3
&
rayAB
,
std
::
vector
<
Dart
>&
vecEdges
,
float
distMax
,
const
FunctorSelect
&
good
)
{
typename
PFP
::
REAL
dist2
=
distMax
*
distMax
;
typename
PFP
::
REAL
AB2
=
rayAB
*
rayAB
;
...
...
@@ -165,7 +165,7 @@ void edgesRaySelection(typename PFP::MAP& map, const VertexAttribute<typename PF
* @param dist radius of the cylinder of selection
*/
template
<
typename
PFP
>
void
verticesRaySelection
(
typename
PFP
::
MAP
&
map
,
const
VertexAttribute
<
typename
PFP
::
VEC3
>&
position
,
const
typename
PFP
::
VEC3
&
rayA
,
const
typename
PFP
::
VEC3
&
rayAB
,
std
::
vector
<
Dart
>&
vecVertices
,
float
dist
,
const
FunctorSelect
&
good
=
allDarts
)
void
verticesRaySelection
(
typename
PFP
::
MAP
&
map
,
const
VertexAttribute
<
typename
PFP
::
VEC3
>&
position
,
const
typename
PFP
::
VEC3
&
rayA
,
const
typename
PFP
::
VEC3
&
rayAB
,
std
::
vector
<
Dart
>&
vecVertices
,
float
dist
,
const
FunctorSelect
&
good
)
{
typename
PFP
::
REAL
dist2
=
dist
*
dist
;
typename
PFP
::
REAL
AB2
=
rayAB
*
rayAB
;
...
...
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