Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kirill Terekhov
INMOST
Commits
09636f8d
Commit
09636f8d
authored
Jun 21, 2017
by
Kirill Terekhov
Browse files
Warnings in Visual Studio
parent
c082bd20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Examples/OldDrawGrid/clipper.cpp
View file @
09636f8d
...
...
@@ -603,7 +603,7 @@ namespace INMOST
Storage
::
real_array
cl
=
cells
[
k
]
->
RealArray
(
clips
);
Storage
::
real_array
clv
=
cells
[
k
]
->
RealArray
(
clipsv
);
Storage
::
integer_array
cln
=
cells
[
k
]
->
IntegerArray
(
clipsn
);
cln
.
resize
(
1
,
nodes
.
size
());
cln
.
resize
(
1
,
(
int
)
nodes
.
size
());
cl
.
resize
(
static_cast
<
Storage
::
real_array
::
size_type
>
(
3
*
nodes
.
size
()));
clv
.
resize
(
static_cast
<
Storage
::
real_array
::
size_type
>
(
nodes
.
size
()));
for
(
INMOST_DATA_ENUM_TYPE
r
=
0
;
r
<
nodes
.
size
();
r
++
)
...
...
@@ -670,7 +670,7 @@ namespace INMOST
//loopcoords.pop_back();
if
(
loopcoords
.
size
()
>
2
)
{
cln
.
push_back
(
loopcoords
.
size
());
cln
.
push_back
(
(
int
)
loopcoords
.
size
());
int
offset
=
clv
.
size
();
cl
.
resize
(
static_cast
<
Storage
::
real_array
::
size_type
>
(
offset
*
3
+
3
*
loopcoords
.
size
()));
clv
.
resize
(
static_cast
<
Storage
::
real_array
::
size_type
>
(
offset
+
loopcoords
.
size
()));
...
...
@@ -707,7 +707,7 @@ namespace INMOST
if
(
elevation
&&
isColorBarEnabled
())
{
Storage
::
real
pos
[
3
],
t
;
for
(
INMOST_DATA_ENUM_TYPE
q
=
offset
;
q
<
offset
+
cln
[
r
];
q
++
)
for
(
INMOST_DATA_ENUM_TYPE
q
=
offset
;
q
<
(
INMOST_DATA_ENUM_TYPE
)
offset
+
cln
[
r
];
q
++
)
{
t
=
(
clv
[
q
]
-
GetColorBar
()
->
get_min
())
/
(
GetColorBar
()
->
get_max
()
-
GetColorBar
()
->
get_min
());
pos
[
0
]
=
cl
[
q
*
3
+
0
]
+
t
*
n
[
0
];
...
...
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