|
UF_CURVE_state_t *states;
7 |9 d3 E) I" T1 _" y8 a$ SUF_CURVE_spline_t splinedata;/ j2 ]( X1 Q* G4 q( Z
# y4 }2 v3 D7 V7 _1 |: {" U' P2 @
splinedata.knots=new double[9];8 G6 Q8 R, l" s, ^: G$ K; Y
splinedata.knots[0]=0.0;5 U( q+ K& E$ j) I8 v C0 W
splinedata.knots[1]=0.0;
8 U! w, [4 A# [ K. Usplinedata.knots[2]=0.0;, u" L9 F9 d& k$ v$ f
splinedata.knots[3]=0.0;: K2 y+ u- _1 f# b5 j% R
splinedata.knots[4]=0.5; f" e. ?/ H8 }9 W# X6 Q$ o
splinedata.knots[5]=1.0;
: l5 E: S5 D5 V2 o7 {$ ~splinedata.knots[6]=1.0;) j a2 f: v$ h
splinedata.knots[7]=1.0;4 H" h3 K8 }4 l" [. [5 d6 }. F
splinedata.knots[8]=1.0;
R+ \$ m4 N+ w8 [: }9 n% m) e0 M asplinedata.start_param=0;. m, \+ X9 X4 I, v
splinedata.end_param=1;! C4 P8 n" c) W3 k% p/ S
splinedata.is_rational=1;
$ T' L+ s: i9 ysplinedata.num_poles=5;' w, V* R* g6 P: b
splinedata.order=4;% }( K8 n; w* s. Z' U3 F
splinedata.poles=new double[5][4];& M$ H9 O; I9 @8 }4 E
splinedata.poles[0][0]=111.0;0 t/ T$ a' |9 A! r+ t
splinedata.poles[0][1]=31.0;& x" ?$ }7 E% [
splinedata.poles[0][2]=46.0;
; X3 A% v3 _) R$ h$ fsplinedata.poles[0][3]=1.0;
4 V+ J% g1 h3 O+ b3 G$ `- Ssplinedata.poles[1][0]=107.0;6 Q$ f( t; Y+ m3 n7 r+ A& N5 Q4 Z
splinedata.poles[1][1]=46.0; n2 }& E! Q& N4 I; Z8 ?
splinedata.poles[1][2]=46.0;% u% `& ]! u: g7 H4 x& s4 y9 T
splinedata.poles[1][3]=1.0;+ G! G8 Q4 y0 _; |6 d/ S
splinedata.poles[2][0]=98.0;$ G" m( q0 Y4 j) t5 H
splinedata.poles[2][1]=37.0;( G# _ x: c" u! L% V
splinedata.poles[2][2]=46.0;" t8 g5 A. J( L! R5 z/ G. \
splinedata.poles[2][3]=1.0;& ~3 S6 U$ f$ O+ T: C
splinedata.poles[3][0]=100.0;4 v. ~# j4 \! F# V+ d# _3 a; G
splinedata.poles[3][1]=35.0;
4 u; h3 k5 N1 Qsplinedata.poles[3][2]=46.0;4 t H- K) s9 c1 ~& z3 n! \( c6 v' n. f$ X
splinedata.poles[3][3]=1.0;! z2 A9 Q$ r5 h3 q
splinedata.poles[4][0]=8.0;
6 V1 y- Q- p) B# d" W- tsplinedata.poles[4][1]=89.0;0 `" b; o* O4 q E6 A, |2 n6 i% j
splinedata.poles[4][2]=56.0;
2 @) f S$ E% Q5 d Fsplinedata.poles[4][3]=1.0;
' Q9 J) f# r& m5 h# g$ ^
: i, [/ K# }2 ?0 @UF_CURVE_create_spline (&splinedata,&splinetag,&num_states,&states); |
评分
-
查看全部评分
|