Skeleton reaching all the way up to points, to be filled in

This commit is contained in:
Ken Arroyo Ohori
2017-01-31 18:53:00 -06:00
parent 0821dd4702
commit 9c21e05184
3 changed files with 281 additions and 4 deletions
@@ -26,3 +26,15 @@ bool IfcGeom::CgalKernel::convert(const IfcSchema::IfcRepresentation* l, Convers
bool IfcGeom::CgalKernel::convert(const IfcSchema::IfcExtrudedAreaSolid*, cgal_shape_t&) {
throw std::runtime_error("Not implemented IfcExtrudedAreaSolid");
}
bool IfcGeom::CgalKernel::convert(const IfcSchema::IfcCartesianPoint* l, cgal_point_t& point) {
// IN_CACHE(IfcCartesianPoint,l,gp_Pnt,point)
// std::vector<double> xyz = l->Coordinates();
// point = gp_Pnt(
// xyz.size() ? (xyz[0]*getValue(GV_LENGTH_UNIT)) : 0.0f,
// xyz.size() > 1 ? (xyz[1]*getValue(GV_LENGTH_UNIT)) : 0.0f,
// xyz.size() > 2 ? (xyz[2]*getValue(GV_LENGTH_UNIT)) : 0.0f
// );
// CACHE(IfcCartesianPoint,l,point)
return true;
}