JunkBox_Lib++ (for Windows) 1.10.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Tolerance.cpp
Go to the documentation of this file.
1
7#include "Tolerance.h"
8
9
10using namespace jbxl;
11
12
13// 相対値
14double jbxl::Vector_Tolerance = 1.0e-8;
15double jbxl::Vertex_Tolerance = 1.0e-8;
16double jbxl::Edge_Tolerance = 1.0e-12;
17double jbxl::Facet_Tolerance = 1.0e-12;
18
19// 絶対値
23double jbxl::Sin_Tolerance = 1.0e-6;
24
25// 1に対して
26double jbxl::Zero_Eps = 1.0e-8;
28
29
30/*
31void jbxl::SetZeroEPS(double eps) { Zero_Eps = eps; }
32void jbxl::SetVectorTolerance(double tol) { Vector_Tolerance = tol; }
33void jbxl::SetVertexTolerance(double tol) { Vertex_Tolerance = tol; }
34void jbxl::SetEdgeTolerance(double tol) { Edge_Tolerance = tol; }
35void jbxl::SetFacetTolerance(double tol) { Facet_Tolerance = tol; }
36void jbxl::SetCollisionTolerance(double tol){ Collision_Tolerance = tol; }
37void jbxl::SetSINTolerance(double tol) { Sin_Tolerance = tol; }
38void jbxl::SetAbsVectorTolerance(double tol){ Abs_Vector_Tolerance = tol; }
39void jbxl::SetAbsVertexTolerance(double tol){ Abs_Vertex_Tolerance = tol; }
40*/
41
各種トレランス ヘッダ
Definition Brep.h:29
double Collision_Tolerance
衝突判定用トレランス
Definition Tolerance.cpp:22
double Edge_Tolerance
Definition Tolerance.cpp:16
double Zero_Eps
1に対して 0とするトレランス
Definition Tolerance.cpp:26
double Vector_Tolerance
Definition Tolerance.cpp:14
double Sin_Tolerance
sinθ==0
Definition Tolerance.cpp:23
double Abs_Vector_Tolerance
Definition Tolerance.cpp:20
double Abs_Vertex_Tolerance
Definition Tolerance.cpp:21
double Vertex_Tolerance
Definition Tolerance.cpp:15
double Facet_Tolerance
Definition Tolerance.cpp:17
double Zero_Eps2
Definition Tolerance.cpp:27