/dports/cad/opencascade/opencascade-7.6.0/src/StdPrs/ |
H A D | StdPrs_ToolTriangulatedShape.cxx | 143 if (theTris.IsNull() in ComputeNormals() 144 || theTris->HasNormals()) in ComputeNormals() 152 if (!theTris->HasUVNodes() || aSurf.IsNull()) in ComputeNormals() 155 Poly::ComputeNormals (theTris); in ComputeNormals() 162 theTris->AddNormals(); in ComputeNormals() 166 if (GeomLib::NormEstim (aSurf, theTris->UVNode (aNodeIter), aTol, aNorm) > 1) in ComputeNormals() 168 if (thePolyConnect.Triangulation() != theTris) in ComputeNormals() 170 thePolyConnect.Load (theTris); in ComputeNormals() 178 const gp_XYZ v1 (theTris->Node (aTri[1]).Coord() - theTris->Node (aTri[0]).Coord()); in ComputeNormals() 179 const gp_XYZ v2 (theTris->Node (aTri[2]).Coord() - theTris->Node (aTri[1]).Coord()); in ComputeNormals() [all …]
|
H A D | StdPrs_ToolTriangulatedShape.hxx | 48 const Handle(Poly_Triangulation)& theTris) in ComputeNormals() argument 51 ComputeNormals (theFace, theTris, aPolyConnect); in ComputeNormals() 60 const Handle(Poly_Triangulation)& theTris,
|
/dports/cad/opencascade/opencascade-7.6.0/src/AIS/ |
H A D | AIS_ViewCube.cxx | 67 InitTriangulation (theTris->Attributes(), theTris->Indices(), TopLoc_Location()); in AIS_ViewCubeSensitive() 365 const Standard_Integer aVertFirst = !theTris.IsNull() ? theTris->VertexNumber() : 0; in createRoundRectangleTriangles() 371 if (theTris.IsNull()) in createRoundRectangleTriangles() 399 theTris->AddTriangleFanEdges (aVertFirst + 1, theTris->VertexNumber(), true); in createRoundRectangleTriangles() 405 if (theTris.IsNull()) in createRoundRectangleTriangles() 419 theTris->SetVertexNormal (aVertIter, -aNorm); in createRoundRectangleTriangles() 504 const Standard_Integer aVertFirst = !theTris.IsNull() ? theTris->VertexNumber() : 0; in createBoxCornerTriangles() 509 if (theTris.IsNull()) in createBoxCornerTriangles() 529 theTris->AddTriangleFanEdges (aVertFirst + 1, theTris->VertexNumber(), true); in createBoxCornerTriangles() 535 if (theTris.IsNull()) in createBoxCornerTriangles() [all …]
|
H A D | AIS_ViewCube.hxx | 590 …dard_EXPORT virtual void createBoxPartTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris, 600 …dard_EXPORT virtual void createBoxSideTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris, 610 …dard_EXPORT virtual void createBoxEdgeTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris, 620 …rd_EXPORT virtual void createBoxCornerTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris, 634 …XPORT static void createRoundRectangleTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris, 736 const Handle(Graphic3d_ArrayOfTriangles)& theTris);
|
H A D | AIS_ColorScale.cxx | 47 static void addColoredQuad (const Handle(Graphic3d_ArrayOfTriangles)& theTris, in addColoredQuad() argument 53 const Standard_Integer aVertIndex = theTris->VertexNumber() + 1; in addColoredQuad() 54 theTris->AddVertex (gp_Pnt (theXLeft, theYBottom, 0.0), theColorBottom); in addColoredQuad() 55 theTris->AddVertex (gp_Pnt (theXLeft + theSizeX, theYBottom, 0.0), theColorBottom); in addColoredQuad() 56 theTris->AddVertex (gp_Pnt (theXLeft, theYBottom + theSizeY, 0.0), theColorTop); in addColoredQuad() 57 theTris->AddVertex (gp_Pnt (theXLeft + theSizeX, theYBottom + theSizeY, 0.0), theColorTop); in addColoredQuad() 58 theTris->AddEdges (aVertIndex, aVertIndex + 1, aVertIndex + 2); in addColoredQuad() 59 theTris->AddEdges (aVertIndex + 1, aVertIndex + 2, aVertIndex + 3); in addColoredQuad()
|
H A D | AIS_XRTrackedDevice.cxx | 61 AIS_XRTrackedDevice::AIS_XRTrackedDevice (const Handle(Graphic3d_ArrayOfTriangles)& theTris, in IMPLEMENT_STANDARD_RTTIEXT() 63 : myTris (theTris), in IMPLEMENT_STANDARD_RTTIEXT()
|
H A D | AIS_XRTrackedDevice.hxx | 29 Standard_EXPORT AIS_XRTrackedDevice (const Handle(Graphic3d_ArrayOfTriangles)& theTris,
|
/dports/cad/opencascade/opencascade-7.6.0/src/Poly/ |
H A D | Poly_MergeNodesTool.cxx | 412 if (theTris.IsNull()) in AddTriangulation() 421 myPolyData->SetDoublePrecision (theTris->IsDoublePrecision()); in AddTriangulation() 422 myPolyData->ResizeNodes (theTris->NbNodes(), false); in AddTriangulation() 423 myPolyData->ResizeTriangles (theTris->NbTriangles(), false); in AddTriangulation() 428 Poly_Triangle anElem = theTris->Triangle (anElemIter); in AddTriangulation() 470 if (theTris.IsNull() in Handle() 471 || theTris->NbNodes() < 3 in Handle() 472 || theTris->NbTriangles() < 1) in Handle() 478 aMergeTool.AddTriangulation (theTris, theTrsf, theToReverse); in Handle() 480 && aMergeTool.NbNodes() == theTris->NbNodes() in Handle() [all …]
|
H A D | Poly_MergeNodesTool.hxx | 37 …ard_EXPORT static Handle(Poly_Triangulation) MergeNodes (const Handle(Poly_Triangulation)& theTris, 103 Standard_EXPORT virtual void AddTriangulation (const Handle(Poly_Triangulation)& theTris,
|
/dports/devel/py-cadquery-pywrap/pywrap-e8c7bc9/opencascade/ |
H A D | StdPrs_ToolTriangulatedShape.hxx | 48 const Handle(Poly_Triangulation)& theTris) in ComputeNormals() argument 51 ComputeNormals (theFace, theTris, aPolyConnect); in ComputeNormals() 60 const Handle(Poly_Triangulation)& theTris,
|
H A D | AIS_ViewCube.hxx | 550 …dard_EXPORT virtual void createBoxPartTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris, 560 …dard_EXPORT virtual void createBoxSideTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris, 570 …dard_EXPORT virtual void createBoxEdgeTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris, 580 …rd_EXPORT virtual void createBoxCornerTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris, 594 …XPORT static void createRoundRectangleTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris,
|
/dports/cad/opencascade/opencascade-7.6.0/inc/ |
H A D | StdPrs_ToolTriangulatedShape.hxx | 48 const Handle(Poly_Triangulation)& theTris) in ComputeNormals() argument 51 ComputeNormals (theFace, theTris, aPolyConnect); in ComputeNormals() 60 const Handle(Poly_Triangulation)& theTris,
|
H A D | AIS_ViewCube.hxx | 590 …dard_EXPORT virtual void createBoxPartTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris, 600 …dard_EXPORT virtual void createBoxSideTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris, 610 …dard_EXPORT virtual void createBoxEdgeTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris, 620 …rd_EXPORT virtual void createBoxCornerTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris, 634 …XPORT static void createRoundRectangleTriangles (const Handle(Graphic3d_ArrayOfTriangles)& theTris, 736 const Handle(Graphic3d_ArrayOfTriangles)& theTris);
|
H A D | Poly_MergeNodesTool.hxx | 37 …ard_EXPORT static Handle(Poly_Triangulation) MergeNodes (const Handle(Poly_Triangulation)& theTris, 103 Standard_EXPORT virtual void AddTriangulation (const Handle(Poly_Triangulation)& theTris,
|
H A D | AIS_XRTrackedDevice.hxx | 29 Standard_EXPORT AIS_XRTrackedDevice (const Handle(Graphic3d_ArrayOfTriangles)& theTris,
|