#include <VolSim.h>
Public Member Functions | |
void | ApplyCircularTool (Point3D &p1, Point3D &p2, Point3D ¢, cSimTool &tool, bool isCCW) |
void | ApplyLinearTool (Point3D &p1, Point3D &p2, cSimTool &tool) |
void | CreatePocket (float x, float y, float rad, float height) |
cStock (float px, float py, float pz, float lx, float ly, float lz, float res) | |
void | Tessellate (Mesh::MeshObject &meshOuter, Mesh::MeshObject &meshInner) |
Point3D | ToInner (Point3D &p) |
~cStock () | |
cStock::cStock | ( | float | px, |
float | py, | ||
float | pz, | ||
float | lx, | ||
float | ly, | ||
float | lz, | ||
float | res | ||
) |
References Array2D< T >::Init().
cStock::~cStock | ( | ) |
void cStock::ApplyCircularTool | ( | Point3D & | p1, |
Point3D & | p2, | ||
Point3D & | cent, | ||
cSimTool & | tool, | ||
bool | isCCW | ||
) |
References cSimTool::GetToolProfileAt(), cSimTool::radius, Point3D::Rotate(), Point3D::SetRotationAngleRad(), ToInner(), Point3D::x, Point3D::y, and Point3D::z.
Referenced by PathSimulator::PathSim::ApplyCommand().
References cSimTool::GetToolProfileAt(), cSimTool::radius, Point3D::Rotate(), Point3D::SetRotationAngle(), ToInner(), Point3D::x, Point3D::y, and Point3D::z.
Referenced by PathSimulator::PathSim::ApplyCommand().
void cStock::CreatePocket | ( | float | x, |
float | y, | ||
float | rad, | ||
float | height | ||
) |
void cStock::Tessellate | ( | Mesh::MeshObject & | meshOuter, |
Mesh::MeshObject & | meshInner | ||
) |
References Mesh::MeshObject::addFacets().
Referenced by ApplyCircularTool(), and ApplyLinearTool().