fix further warnings in libarea

This commit is contained in:
wmayer 2016-06-16 11:12:12 +02:00
parent c8a02521d4
commit 9dc6d7f8c0
3 changed files with 685 additions and 685 deletions

File diff suppressed because it is too large Load Diff

View File

@ -63,7 +63,7 @@ boost::python::tuple transformed_point(const geoff_geometry::Matrix &matrix, dou
static void print_curve(const CCurve& c)
{
std::size_t nvertices = c.m_vertices.size();
printf("number of vertices = %d\n", nvertices);
printf("number of vertices = %lu\n", nvertices);
int i = 0;
for(std::list<CVertex>::const_iterator It = c.m_vertices.begin(); It != c.m_vertices.end(); It++, i++)
{

View File

@ -598,7 +598,7 @@ namespace geoff_geometry {
void Plane::Mirrored(Matrix* tmMirrored) {
// calculates a mirror transformation that mirrors 2d about plane
Point3d p1 = this->Near(Point3d(0.,0.,0.));
//Point3d p1 = this->Near(Point3d(0.,0.,0.));
if(tmMirrored->m_unit == false) tmMirrored->Unit();
double nx = this->normal.getx();