|
/* TODO: Add your application code here */& e; r7 ~: F( ^# G# V
3 ?/ | N, ^ a3 ^( p
char *cue="select a point:";. D1 x% j/ c k* A8 _" n
UF_UI_POINT_base_method_t base_method;+ R8 J, U n+ g+ l* R3 g4 o R
base_method=UF_UI_POINT_CURSOR_POS;8 L8 K t: S9 z0 l) j
tag_t point_tag;
1 T4 ]2 d n$ o& r9 ^) C& A6 O& n- u double base_pt[ 3 ];% K8 G2 E! N8 E7 } f
int response;1 b8 ^; o! u0 v$ i' V' z
: A Y5 p; ~9 f& F9 c( _( E" _
UF_UI_point_construct(cue,&base_method,
5 u" h1 ]6 f& i8 O &point_tag,base_pt,&response);
$ ]& w/ s$ q! s/ T( L: p; Z+ N" M6 d* J6 Z8 [ k
UF_CURVE_create_point(base_pt,&point_tag);
2 {8 p5 V; o* ]7 M9 N# |7 B. K$ j! e8 J. d" C7 K
L+ ~5 r3 f, T( u! d
, ^. k t% E; h2 x
5 S6 p+ E% `9 h% |' M) D3 w) l! `$ U9 k& ^2 `. k6 J' j- b0 k" V
/* Terminate the API environment */
$ Q) Z, k! a2 g$ W/ i7 C# n3 W k errorCode = UF_terminate();/ b y! u( f( Z+ g" g3 J
. m# {+ o. I, Z' @ |
|