|
UF_CURVE_state_t *states;
3 y! ^$ v; a! d. qUF_CURVE_spline_t splinedata;/ E; C9 ?# ]3 ?4 B, @
+ {# h W0 v, w3 G9 Z
splinedata.knots=new double[9];$ H4 Y' a: @9 w* e% G* G
splinedata.knots[0]=0.0;
! b! n" B: h. S1 `splinedata.knots[1]=0.0;
7 X3 I& g8 W$ a$ hsplinedata.knots[2]=0.0;0 W' E) @$ i8 W
splinedata.knots[3]=0.0;1 q4 o3 P' A' K6 _
splinedata.knots[4]=0.5;9 R, i5 t8 a- {7 R+ U7 h, V
splinedata.knots[5]=1.0;, D; C! N" X; \5 i, p4 b
splinedata.knots[6]=1.0;
1 X1 W2 ~% c1 usplinedata.knots[7]=1.0;& [; F4 K1 x* }2 N+ d+ k5 q7 Y
splinedata.knots[8]=1.0;0 Q* o- A" K/ C: d
splinedata.start_param=0;
$ M0 Q6 P4 z) G- Z+ R. gsplinedata.end_param=1;7 S& T; E0 w/ }# s
splinedata.is_rational=1;4 R# U; z$ @1 l$ b% @, k7 L
splinedata.num_poles=5;
% ~1 d g& n" {. R, a$ R4 e1 {splinedata.order=4;
! h* E9 l1 l4 a7 \splinedata.poles=new double[5][4];9 C5 d9 Y8 i' j9 z1 r1 t
splinedata.poles[0][0]=111.0;& q8 l3 R& u$ v% A
splinedata.poles[0][1]=31.0;7 p( ]2 Z! ~/ R2 c# |9 b8 I7 t. _
splinedata.poles[0][2]=46.0;
4 B2 V; P$ [: ~2 N/ [' H. rsplinedata.poles[0][3]=1.0;
6 Z2 l5 O4 T, R4 n" [' X6 F) s8 ~splinedata.poles[1][0]=107.0;) v, E* l# B0 S2 o' \5 e: i T' {
splinedata.poles[1][1]=46.0;
8 ^* E* `$ V6 N/ C, Xsplinedata.poles[1][2]=46.0;
& L e% H5 v9 ~ }9 Q" gsplinedata.poles[1][3]=1.0;8 G7 {/ J) x; J
splinedata.poles[2][0]=98.0;
' j3 [- M( @7 z# B% ]' [1 w* _8 c6 fsplinedata.poles[2][1]=37.0;
/ b" Z) n- H+ K( v- u: u7 f% T {splinedata.poles[2][2]=46.0;
4 ?: @, @* Z- ?4 Usplinedata.poles[2][3]=1.0;
! i- y" {6 M! c2 o( l/ o2 v' u% z4 } _splinedata.poles[3][0]=100.0;
7 S/ T: l2 {% ^0 Osplinedata.poles[3][1]=35.0;
8 }" T& ~; v0 a* J; Q8 Xsplinedata.poles[3][2]=46.0;$ F- h% g4 k9 S# i
splinedata.poles[3][3]=1.0;* Q# w) F+ u1 |+ b: M0 x7 k
splinedata.poles[4][0]=8.0;% [4 J! {$ v) t+ f. j7 l* m
splinedata.poles[4][1]=89.0;
8 U- M9 ^# w v# \0 [1 Z: p3 ^ X2 Bsplinedata.poles[4][2]=56.0;
, g: ]9 i6 b! j: N5 ^+ j/ N; Psplinedata.poles[4][3]=1.0;9 K. W; O; w, J! Q3 l8 t
9 M. P; T3 [* I. kUF_CURVE_create_spline (&splinedata,&splinetag,&num_states,&states); |
评分
-
查看全部评分
|