#include <math.h>Go to the source code of this file.
Classes | |
| struct | Base::float_traits< numT > |
| struct | Base::float_traits< double > |
| struct | Base::float_traits< float > |
| struct | Base::vec_traits< vecT > |
| struct | Base::vec_traits< Vector3d > |
| struct | Base::vec_traits< Vector3f > |
| class | Base::Vector3< _Precision > |
| The Vector Base class. More... | |
Namespaces | |
| namespace | Base |
The namespace of the FreeCAD Base library. | |
Defines | |
| #define | D_PI 3.141592653589793 |
| #define | F_PI 3.1415926f |
| #define | FLOAT_EPS 1.0e-4f |
| #define | FLOAT_MAX 1e30f |
Typedefs | |
| typedef Vector3< double > | Base::Vector3d |
| typedef Vector3< float > | Base::Vector3f |
Functions | |
| template<class _Vec1 , class _Vec2 > | |
| _Vec1 | Base::convertTo (const _Vec2 &v) |
| template<class _Precision > | |
| _Precision | Base::Distance (const Vector3< _Precision > &v1, const Vector3< _Precision > &v2) |
| Returns the distance between two points. | |
| template<class _Precision > | |
| _Precision | Base::DistanceP2 (const Vector3< _Precision > &v1, const Vector3< _Precision > &v2) |
| Returns the squared distance between two points. | |
| template<class _Precision > | |
| Vector3< _Precision > | Base::operator* (_Precision fFac, const Vector3< _Precision > &rcVct) |
| Multiplication of scalar with vector. | |
| template<class _Pr1 , class _Pr2 > | |
| Vector3< _Pr1 > | Base::toVector (const Vector3< _Pr2 > &v) |
| #define D_PI 3.141592653589793 |
Definition at line 37 of file Vector3D.h.
Referenced by Base::Rotation::getYawPitchRoll(), cutting_tools::OffsetWires_Spiral(), Approximate::ParameterInnerPoints(), Base::float_traits< double >::pi(), Base::PlacementPy::PyInit(), and Base::Rotation::setYawPitchRoll().
| #define F_PI 3.1415926f |
Definition at line 33 of file Vector3D.h.
Referenced by Base::Vector2D::GetAngle(), MeshGui::ViewProviderMesh::onChanged(), Base::float_traits< float >::pi(), and Base::Matrix4D::toAxisAngle().
| #define FLOAT_EPS 1.0e-4f |
Definition at line 30 of file Vector3D.h.
Referenced by Reen::BSplineParameterCorrection::DoParameterCorrection(), Base::float_traits< double >::epsilon(), Base::float_traits< float >::epsilon(), MeshCore::MeshFixCorruptedFacets::Fixup(), and MeshCore::MeshTopoAlgorithm::SnapVertex().
| #define FLOAT_MAX 1e30f |
Definition at line 41 of file Vector3D.h.
Referenced by Base::BoundBox2D::BoundBox2D(), MeshCore::QuadraticFit::CalcZValues(), Mesh::SegmentByMesh::execute(), MeshPart::CurveProjectorSimple::findStartPoint(), MeshPart::CurveProjectorShape::findStartPoint(), MeshCore::PolynomialFit::Fit(), MeshCore::SurfaceFit::Fit(), MeshCore::QuadraticFit::Fit(), MeshCore::PlaneFit::Fit(), Base::BoundBox3< _Precision >::Flush(), Base::Vector2D::GetAngle(), getBoundary_Conditions(), MeshCore::QuadraticFit::GetCoeff(), MeshCore::PlaneFit::GetDistanceToPlane(), MeshCore::PlaneFit::GetSignedStdDeviation(), MeshCore::PlaneFit::GetStdDeviation(), MeshCore::AbstractPolygonTriangulator::GetTransformToFitPlane(), Points::PointsGridIterator::InitOnRay(), MeshCore::MeshGridIterator::InitOnRay(), Base::Line2D::Intersect(), MeshPart::CurveProjectorWithToolMesh::makeToolMesh(), Base::float_traits< double >::maximum(), Base::float_traits< float >::maximum(), MeshCore::MeshGeomFacet::NearestEdgeToPoint(), Base::BoundBox3< _Precision >::NearestPoint(), MeshCore::MeshAlgorithm::NearestPointFromPoint(), MeshCore::SurfaceFit::PolynomFit(), MeshPart::CurveProjectorShape::projectCurve(), MeshCore::AbstractPolygonTriangulator::ProjectOntoSurface(), MeshCore::MeshFacetGrid::SearchNearestFromPoint(), Base::BoundBox2D::SetVoid(), Mesh::MeshPy::smooth(), Mesh::MeshFeaturePy::smooth(), and MeshCore::MeshTopoAlgorithm::SplitFacet().
1.6.1