- small fixes.

This commit is contained in:
Sylvain Pion 2001-09-20 21:45:30 +00:00
parent 508d5c1180
commit 3d43ccbc04
2 changed files with 5 additions and 4 deletions

View File

@ -180,13 +180,13 @@ public:
pickplane(get_bbox());
}
static void parse_point(const char* pickpoint,
double &x, double &y, double &z, double &w);
private:
void setup_geomview(const char *machine, const char *login);
void frame(const Bbox_3 &bbox);
void pickplane(const Bbox_3 &bbox);
static char* nth(char* s, int count);
static void parse_point(const char* pickpoint,
double &x, double &y, double &z, double &w);
Bbox_3 bb;
Color vertex_color, edge_color, face_color;

View File

@ -12,8 +12,9 @@ typedef CGAL::Cartesian<double> K;
void test_parse_point()
{
const char *test_point="( 123 456 789 1 )";
K::Point_3 p;
CGAL::parse_point(test_point, p);
double x, y, z, w;
CGAL::Geomview_stream::parse_point(test_point, x, y, z, w);
K::Point_3 p(x, y, z, w);
CGAL_assertion(p == K::Point_3(123, 456, 789));
}