Point3D Struct Reference

#include <VolSim.h>

Public Member Functions

void Add (Point3D &p)
 
 Point3D ()
 
 Point3D (Base::Placement &pl)
 
 Point3D (Base::Vector3d &vec)
 
 Point3D (float x, float y, float z)
 
void Rotate ()
 
void set (float px, float py, float pz)
 
void SetRotationAngle (float angle)
 
void SetRotationAngleRad (float angle)
 
void UpdateCmd (Path::Command &cmd)
 

Public Attributes

float cosa
 
float sina
 
float x
 
float y
 
float z
 

Constructor & Destructor Documentation

◆ Point3D() [1/4]

Point3D::Point3D ( )

◆ Point3D() [2/4]

Point3D::Point3D ( float  x,
float  y,
float  z 
)

◆ Point3D() [3/4]

Point3D::Point3D ( Base::Vector3d vec)

◆ Point3D() [4/4]

Point3D::Point3D ( Base::Placement pl)

Member Function Documentation

◆ Add()

void Point3D::Add ( Point3D p)

◆ Rotate()

void Point3D::Rotate ( )

References cosa, sina, and x.

Referenced by cStock::ApplyCircularTool(), and cStock::ApplyLinearTool().

◆ set()

void Point3D::set ( float  px,
float  py,
float  pz 
)

◆ SetRotationAngle()

void Point3D::SetRotationAngle ( float  angle)

◆ SetRotationAngleRad()

void Point3D::SetRotationAngleRad ( float  angle)

References cosa, and sina.

Referenced by cStock::ApplyCircularTool(), and SetRotationAngle().

◆ UpdateCmd()

Member Data Documentation

◆ cosa

float Point3D::cosa

Referenced by Rotate(), and SetRotationAngleRad().

◆ sina

float Point3D::sina

Referenced by Rotate(), and SetRotationAngleRad().

◆ x

◆ y

◆ z


The documentation for this struct was generated from the following files: