00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef HxCorbaPolyline2d_idl
00011 #define HxCorbaPolyline2d_idl
00012
00013 module HxCorba
00014 {
00015 struct PointR2
00016 {
00017 double x;
00018 double y;
00019 };
00020
00021 typedef sequence<PointR2> PointR2Seq;
00022
00023 interface Polyline2dData
00024 {
00025 boolean getClosed();
00026 long getNrPoints();
00027 PointR2 getPoint(in long i);
00028
00029 PointR2Seq getPoints();
00030 };
00031
00032
00033 interface Polyline2d : Polyline2dData
00034 {
00035 };
00036
00037
00038 interface PolylineFactory
00039 {
00040 Polyline2d importPolyline(in Polyline2dData data);
00041 Polyline2d createPolyline(in PointR2Seq points, in boolean closed);
00042 };
00043 };
00044
00045 #endif //HxCorbaPolyline2d_idl