JunkBox_Lib++ (for Windows) 1.10.1
|
#include <Vector.h>
Public Member Functions | |
RBound (T XMin=(T) 0, T XMax=(T) 0, T YMin=(T) 0, T YMax=(T) 0, T ZMin=(T) 0, T ZMax=(T) 0, T TMin=(T) 0, T TMax=(T) 0) | |
virtual | ~RBound () |
void | set (T XMin=(T) 0, T XMax=(T) 0, T YMin=(T) 0, T YMax=(T) 0, T ZMin=(T) 0, T ZMax=(T) 0, T TMin=(T) 0, T TMax=(T) 0) |
void | init () |
void | enlarge (T f) |
境界構造体 bound を広げる | |
void | multiple (T f) |
void | fusion (RBound< T > bound) |
境界構造体 bound と融合させる | |
void | fusion (Vector< T > vect) |
ベクトル vect と融合させる | |
void | fusion (T x, T y, T z) |
ポイントと融合させる | |
void | commonarea (RBound< T > bound) |
境界構造体 bound との共通領域 共通領域がない場合は,min>max になる | |
void | cutdown (RBound< T > bound) |
切り出した場合の境界 | |
void | cutdown (Vector< T > vect) |
void | cutdown (T x, T y, T z) |
bool | outofBounds (Vector< T > vect) |
ベクトルが位置ベクトルの場合,その点は境界外か? 境界外:true,境界内:false | |
bool | outofBounds (T x, T y, T z) |
その点は境界外か? 境界外:true,境界内:false | |
Public Attributes | |
T | xmin |
x軸境界の最小値. | |
T | xmax |
x軸境界の最大値. | |
T | ymin |
y軸境界の最小値. | |
T | ymax |
y軸境界の最大値. | |
T | zmin |
z軸境界の最小値. | |
T | zmax |
z軸境界の最大値. | |
T | tmin |
汎用. | |
T | tmax |
汎用. | |
template <typename T=int>> class RBound
3Dデータの境界情報を保存する型.
|
inline |
Definition at line 437 of file Vector.h.
|
inlinevirtual |
|
inline |
Definition at line 516 of file Vector.h.
References Max, Min, RBound< T >::xmax, RBound< T >::xmin, RBound< T >::ymax, RBound< T >::ymin, RBound< T >::zmax, and RBound< T >::zmin.
Referenced by jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), and jbxl::cut_object_MSGraph().
|
inline |
Definition at line 527 of file Vector.h.
References RBound< T >::xmin, RBound< T >::ymin, and RBound< T >::zmin.
Referenced by jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), and jbxl::get_boundary_MSGraph().
|
inline |
|
inline |
Definition at line 537 of file Vector.h.
References Vector< T >::x, Vector< T >::y, and Vector< T >::z.
|
inline |
Definition at line 461 of file Vector.h.
Referenced by jbxl::cut_object_MSGraph(), and jbxl::cut_object_MSGraph().
|
inline |
Definition at line 483 of file Vector.h.
References Max, Min, RBound< T >::xmax, RBound< T >::xmin, RBound< T >::ymax, RBound< T >::ymin, RBound< T >::zmax, and RBound< T >::zmin.
Referenced by BREP_SHELL::CloseData(), BREP_SOLID::CloseData(), BREP_CONTOUR::CloseFacet(), jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), and jbxl::get_boundary_MSGraph().
|
inline |
|
inline |
Definition at line 493 of file Vector.h.
References Max, Min, Vector< T >::x, Vector< T >::y, and Vector< T >::z.
|
inline |
Definition at line 455 of file Vector.h.
Referenced by MSGraph< T >::init().
|
inline |
|
inline |
|
inline |
Definition at line 557 of file Vector.h.
References Vector< T >::x, Vector< T >::y, and Vector< T >::z.
|
inline |
Definition at line 444 of file Vector.h.
Referenced by BREP_CONTOUR::BREP_CONTOUR(), BREP_FACET::BREP_FACET(), BREP_SHELL::BREP_SHELL(), BREP_SOLID::BREP_SOLID(), jbxl::get_boundary_MSGraph(), jbxl::readGraphicSlices(), and MSGraph< T >::set().
T xmax |
Definition at line 427 of file Vector.h.
Referenced by jbxl::cat_MSGraph(), jbxl::cat_MSGraph(), RBound< T >::commonarea(), BREP_FACET::ComputePlaneEquation(), jbxl::copyCmnHead2MSGraph(), jbxl::copyMSGraph2CmnHead(), jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), jbxl::disJunctBounds(), RBound< T >::fusion(), jbxl::grab_MSGraph(), jbxl::grab_MSGraph(), jbxl::out_around_MSGraph(), jbxl::readGraphicSlices(), ExCmnHead::set(), MSGraph< T >::set(), ExMSGraph< T >::set(), and jbxl::writeGraphicFile().
T xmin |
Definition at line 426 of file Vector.h.
Referenced by jbxl::cat_MSGraph(), jbxl::cat_MSGraph(), RBound< T >::commonarea(), BREP_FACET::ComputePlaneEquation(), jbxl::copyCmnHead2MSGraph(), jbxl::copyMSGraph2CmnHead(), jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), RBound< T >::cutdown(), jbxl::disJunctBounds(), RBound< T >::fusion(), MSGraph< T >::get_vPoint(), jbxl::grab_MSGraph(), jbxl::grab_MSGraph(), jbxl::out_around_MSGraph(), MSGraph< T >::put_vPoint(), jbxl::readGraphicSlices(), ExCmnHead::set(), MSGraph< T >::set(), ExMSGraph< T >::set(), MSGraph< T >::set_vPoint(), and jbxl::writeGraphicFile().
T ymax |
Definition at line 429 of file Vector.h.
Referenced by jbxl::cat_MSGraph(), jbxl::cat_MSGraph(), RBound< T >::commonarea(), BREP_FACET::ComputePlaneEquation(), jbxl::copyCmnHead2MSGraph(), jbxl::copyMSGraph2CmnHead(), jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), jbxl::disJunctBounds(), RBound< T >::fusion(), jbxl::grab_MSGraph(), jbxl::grab_MSGraph(), jbxl::out_around_MSGraph(), jbxl::readGraphicSlices(), ExCmnHead::set(), MSGraph< T >::set(), ExMSGraph< T >::set(), and jbxl::writeGraphicFile().
T ymin |
Definition at line 428 of file Vector.h.
Referenced by jbxl::cat_MSGraph(), jbxl::cat_MSGraph(), RBound< T >::commonarea(), BREP_FACET::ComputePlaneEquation(), jbxl::copyCmnHead2MSGraph(), jbxl::copyMSGraph2CmnHead(), jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), RBound< T >::cutdown(), jbxl::disJunctBounds(), RBound< T >::fusion(), MSGraph< T >::get_vPoint(), jbxl::grab_MSGraph(), jbxl::grab_MSGraph(), jbxl::out_around_MSGraph(), MSGraph< T >::put_vPoint(), jbxl::readGraphicSlices(), ExCmnHead::set(), MSGraph< T >::set(), ExMSGraph< T >::set(), MSGraph< T >::set_vPoint(), and jbxl::writeGraphicFile().
T zmax |
Definition at line 431 of file Vector.h.
Referenced by jbxl::cat_MSGraph(), jbxl::cat_MSGraph(), RBound< T >::commonarea(), BREP_FACET::ComputePlaneEquation(), jbxl::copyCmnHead2MSGraph(), jbxl::copyMSGraph2CmnHead(), jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), jbxl::disJunctBounds(), RBound< T >::fusion(), jbxl::grab_MSGraph(), jbxl::grab_MSGraph(), jbxl::out_around_MSGraph(), jbxl::readGraphicSlices(), ExCmnHead::set(), MSGraph< T >::set(), ExMSGraph< T >::set(), and jbxl::writeGraphicFile().
T zmin |
Definition at line 430 of file Vector.h.
Referenced by jbxl::cat_MSGraph(), jbxl::cat_MSGraph(), RBound< T >::commonarea(), BREP_FACET::ComputePlaneEquation(), jbxl::copyCmnHead2MSGraph(), jbxl::copyMSGraph2CmnHead(), jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), jbxl::cut_object_MSGraph(), RBound< T >::cutdown(), jbxl::disJunctBounds(), RBound< T >::fusion(), MSGraph< T >::get_vPoint(), jbxl::grab_MSGraph(), jbxl::grab_MSGraph(), jbxl::out_around_MSGraph(), MSGraph< T >::put_vPoint(), jbxl::readGraphicSlices(), ExCmnHead::set(), MSGraph< T >::set(), ExMSGraph< T >::set(), MSGraph< T >::set_vPoint(), and jbxl::writeGraphicFile().