|
JunkBox_Lib++ (for Windows) 1.10.1
|
#include <Brep.h>

Public Member Functions | |
| BREP_VERTEX () | |
| virtual | ~BREP_VERTEX () |
| void | CloseData () |
| void | DisconnectWing (BREP_WING *wing) |
| void | ComputeNormal () |
| void | ComputeTolerance () |
Public Attributes | |
| BREP_WING_LIST | wing_list |
| Vector< double > | point |
| 頂点の座標. | |
| Vector< double > | normal |
| 法線ベクトル.周りの Contour の法線ベクトルの平均. | |
| UVMap< double > | uvmap |
| 曲面のUV座標 | |
| ArrayParam< int > | weight |
| 頂点の重み.要正規化. | |
| long int | index |
| シーケンシャルに増加する一意的な番号.Octree に格納されるときに設定される. | |
| bool | calc_normal |
| normal を計算するか? しない場合は入力値を使用する. | |
| double | distance2 |
| double | tolerance |
| BREP_VERTEX_LIST * | forbidden_list |
| お互いに Edgeを張ることを禁止された Vertexの List | |
| BREP_VERTEX | ( | ) |
Definition at line 571 of file Brep.cpp.
References jbxl::Abs_Vertex_Tolerance, BREP_VERTEX::calc_normal, BREP_VERTEX::distance2, BREP_VERTEX::forbidden_list, BREP_VERTEX::index, ArrayParam< T >::init(), BREP_VERTEX::tolerance, and BREP_VERTEX::weight.

|
virtual |
Definition at line 585 of file Brep.cpp.
References DEBUG_MODE, BREP_VERTEX::forbidden_list, ArrayParam< T >::free(), PRINT_MESG, BREP_VERTEX::weight, and BREP_VERTEX::wing_list.

| void CloseData | ( | ) |
Definition at line 647 of file Brep.cpp.
References BREP_VERTEX::ComputeTolerance().
Referenced by jbxl::CreateContourByVector().


| void ComputeNormal | ( | ) |
void BREP_VERTEX::ComputeNormal()
Vertexの法線ベクトルを計算する.
Vertexの周りの Contourの法線ベクトルの加算平均を計算する
Definition at line 623 of file Brep.cpp.
References BREP_WING::contour, BREP_CONTOUR::facet, BREP_VERTEX::normal, Vector< T >::normalize(), and BREP_VERTEX::wing_list.
Referenced by OctreeNode::ComputeVerticesNormal().


| void ComputeTolerance | ( | ) |
Definition at line 636 of file Brep.cpp.
References jbxl::Abs_Vertex_Tolerance, Max, BREP_VERTEX::point, BREP_VERTEX::tolerance, jbxl::Vertex_Tolerance, Vector< T >::x, Xabs, Vector< T >::y, and Vector< T >::z.
Referenced by BREP_VERTEX::CloseData().

| void DisconnectWing | ( | BREP_WING * | wing | ) |
Definition at line 602 of file Brep.cpp.
References DEBUG_MODE, PRINT_MESG, and BREP_VERTEX::wing_list.
Referenced by jbxl::DestroyWing().

| bool calc_normal |
Definition at line 267 of file Brep.h.
Referenced by BREP_VERTEX::BREP_VERTEX(), OctreeNode::ComputeVerticesNormal(), and jbxl::CreateContourByVector().
| double distance2 |
Definition at line 269 of file Brep.h.
Referenced by BREP_VERTEX::BREP_VERTEX(), jbxl::FillShortageWings_Near(), and jbxl::SetMinVertex().
| BREP_VERTEX_LIST* forbidden_list |
Definition at line 272 of file Brep.h.
Referenced by BREP_VERTEX::BREP_VERTEX(), jbxl::IsForbiddenEdge(), jbxl::PatchupContour(), and BREP_VERTEX::~BREP_VERTEX().
| long int index |
Definition at line 266 of file Brep.h.
Referenced by OctreeNode::AddWithDuplicates(), OctreeNode::AddWithUnique(), BREP_VERTEX::BREP_VERTEX(), MeshFacetNode::computeVertexByBREP(), MeshFacetNode::computeVertexByBREP(), jbxl::OctreeGetter(), and OctreeNode::OctreeNode().
| Vector<double> normal |
Definition at line 261 of file Brep.h.
Referenced by BrepSolidList::addSolid(), BREP_VERTEX::ComputeNormal(), MeshFacetNode::computeVertexByBREP(), MeshFacetNode::computeVertexByBREP(), jbxl::CreateContourByVector(), and BrepSolidList::getMerge().
| Vector<double> point |
Definition at line 260 of file Brep.h.
Referenced by BrepSolidList::addSolid(), BREP_EDGE::BREP_EDGE(), BREP_CONTOUR::CloseFacet(), jbxl::CompareVertex(), BREP_CONTOUR::ComputeNormal(), BREP_VERTEX::ComputeTolerance(), MeshFacetNode::computeVertexByBREP(), MeshFacetNode::computeVertexByBREP(), jbxl::CreateContourByVector(), jbxl::FillShortageWings_Near(), BrepSolidList::getMerge(), jbxl::println_FacetAsciiSTL(), jbxl::Vertex2TVector(), jbxl::writeSTLFileA(), jbxl::writeSTLFileA(), jbxl::writeSTLFileB(), and jbxl::writeSTLFileB().
| double tolerance |
Definition at line 270 of file Brep.h.
Referenced by BREP_VERTEX::BREP_VERTEX(), BREP_CONTOUR::CloseFacet(), jbxl::CompareVertex(), BREP_VERTEX::ComputeTolerance(), and jbxl::Vertex2TVector().
| UVMap<double> uvmap |
Definition at line 262 of file Brep.h.
Referenced by MeshFacetNode::computeVertexByBREP(), MeshFacetNode::computeVertexByBREP(), and jbxl::CreateContourByVector().
| ArrayParam<int> weight |
Definition at line 263 of file Brep.h.
Referenced by BREP_VERTEX::BREP_VERTEX(), jbxl::CreateContourByVector(), and BREP_VERTEX::~BREP_VERTEX().
| BREP_WING_LIST wing_list |
Definition at line 258 of file Brep.h.
Referenced by BREP_VERTEX::ComputeNormal(), BREP_VERTEX::DisconnectWing(), jbxl::FindConnectEdgeVertex(), jbxl::FindEdge(), and BREP_VERTEX::~BREP_VERTEX().