mirror of https://github.com/CGAL/cgal
- small fixes.
This commit is contained in:
parent
508d5c1180
commit
3d43ccbc04
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue