Changes to the Cone+Cylinder Geometry; cutting off the
tip of the cone is now supported
This commit is contained in:
@@ -42,12 +42,12 @@ class Cylinder : public Geometry {
|
||||
*/
|
||||
|
||||
/*
|
||||
Geometry of a cylinder with a cone as the end at z=0.
|
||||
Geometry of a cylinder with a cone as the end with its tip at z=0.
|
||||
*/
|
||||
class HalfCylinderWithCone : public Geometry {
|
||||
public:
|
||||
HalfCylinderWithCone(double radiusCylinder, double heightCylinder,
|
||||
double heightCone);
|
||||
double heightCone, double zfrustum);
|
||||
bool isInside(const Coordinate& position) const;
|
||||
GeometryPositioning isWhere(const Coordinate& position) const;
|
||||
|
||||
@@ -55,6 +55,7 @@ class HalfCylinderWithCone : public Geometry {
|
||||
const double cylinder_radius_;
|
||||
const double cylinder_height_;
|
||||
const double cone_height_;
|
||||
const double z_frustum_;
|
||||
|
||||
double localRadius(double z) const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user