|
UF_CURVE_state_t *states;
1 C I+ a8 N' Q$ E1 `# z" }' Z! jUF_CURVE_spline_t splinedata;
7 v' b2 F% r, ~% G, t1 M5 w8 w# H# l/ B' X5 f4 {4 w
splinedata.knots=new double[9];
H2 H4 A# `# \, d, {- J# Osplinedata.knots[0]=0.0;7 ~7 i. q- t) N' ?
splinedata.knots[1]=0.0;; D! ?3 b9 h- f/ @- M8 ^: M
splinedata.knots[2]=0.0;# ~( g$ Z1 n& \/ I7 t% U! A/ W
splinedata.knots[3]=0.0;
; _; E5 k7 ]/ ^: T! L* _splinedata.knots[4]=0.5;3 n! }4 C. V- ~8 i" A* W
splinedata.knots[5]=1.0;2 @" }) ]9 {: L; z) D% D, P6 P
splinedata.knots[6]=1.0;
6 A( a$ s% G9 S( xsplinedata.knots[7]=1.0;0 p: j3 F, }& j( |" B" ?
splinedata.knots[8]=1.0;: @3 k4 |% A, F* H$ _; B: ?5 X" J
splinedata.start_param=0;9 u4 R2 V x/ _9 l1 ]# {
splinedata.end_param=1;
; t* u- g; ^- esplinedata.is_rational=1;. c) S8 ]* _% u8 k# s
splinedata.num_poles=5;
" P9 w7 S4 S& i* n5 [splinedata.order=4;2 {# v) n, G. }$ [: |
splinedata.poles=new double[5][4];
; K% z6 Y4 v2 j# @* {: qsplinedata.poles[0][0]=111.0;
/ F6 Y0 @8 I0 l* n. {splinedata.poles[0][1]=31.0;
4 y% s1 e8 M3 ^* g, ?3 d3 j0 G$ }splinedata.poles[0][2]=46.0;1 K, @9 k2 I& h$ u% [ x# V
splinedata.poles[0][3]=1.0;
/ U2 @- y; {9 P& g& }splinedata.poles[1][0]=107.0;: ?- h$ l! W- V8 a
splinedata.poles[1][1]=46.0;0 K: y0 y$ l/ o
splinedata.poles[1][2]=46.0; }4 P5 s; w9 K& z
splinedata.poles[1][3]=1.0;
" C8 ^* b5 I0 F! W/ w' }splinedata.poles[2][0]=98.0;& [% s5 L' j+ X" u, H
splinedata.poles[2][1]=37.0;$ C. Y' q: M+ a0 K( W
splinedata.poles[2][2]=46.0;* o8 T; o m- x5 I* M ^& D8 G) F
splinedata.poles[2][3]=1.0;
9 G! E/ b6 E8 {; D/ J/ [splinedata.poles[3][0]=100.0;
7 q8 t1 U9 f6 r6 X: P9 r" S" Tsplinedata.poles[3][1]=35.0;
; A( A! ^* Y9 t+ n: Dsplinedata.poles[3][2]=46.0;
0 X" ]% \2 |7 @( t7 I# F' ssplinedata.poles[3][3]=1.0;
. [3 {- v+ H9 `& Asplinedata.poles[4][0]=8.0;* S) c. a+ s, ^, [ v1 @2 {1 x
splinedata.poles[4][1]=89.0;6 E1 f" b4 W3 s, D6 n
splinedata.poles[4][2]=56.0;
% l' e: t7 T7 ^; S" D( T7 x6 ksplinedata.poles[4][3]=1.0;, ?1 X" _6 j% {4 v K, P
" r: k4 w* M* x7 S7 A7 @4 \) bUF_CURVE_create_spline (&splinedata,&splinetag,&num_states,&states); |
评分
-
查看全部评分
|