Home
last modified time | relevance | path

Searched refs:theTris (Results 1 – 15 of 15) sorted by relevance

/dports/cad/opencascade/opencascade-7.6.0/src/StdPrs/
H A DStdPrs_ToolTriangulatedShape.cxx143 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 DStdPrs_ToolTriangulatedShape.hxx48 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 DAIS_ViewCube.cxx67 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 DAIS_ViewCube.hxx590 …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 DAIS_ColorScale.cxx47 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 DAIS_XRTrackedDevice.cxx61 AIS_XRTrackedDevice::AIS_XRTrackedDevice (const Handle(Graphic3d_ArrayOfTriangles)& theTris, in IMPLEMENT_STANDARD_RTTIEXT()
63 : myTris (theTris), in IMPLEMENT_STANDARD_RTTIEXT()
H A DAIS_XRTrackedDevice.hxx29 Standard_EXPORT AIS_XRTrackedDevice (const Handle(Graphic3d_ArrayOfTriangles)& theTris,
/dports/cad/opencascade/opencascade-7.6.0/src/Poly/
H A DPoly_MergeNodesTool.cxx412 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 DPoly_MergeNodesTool.hxx37 …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 DStdPrs_ToolTriangulatedShape.hxx48 const Handle(Poly_Triangulation)& theTris) in ComputeNormals() argument
51 ComputeNormals (theFace, theTris, aPolyConnect); in ComputeNormals()
60 const Handle(Poly_Triangulation)& theTris,
H A DAIS_ViewCube.hxx550 …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 DStdPrs_ToolTriangulatedShape.hxx48 const Handle(Poly_Triangulation)& theTris) in ComputeNormals() argument
51 ComputeNormals (theFace, theTris, aPolyConnect); in ComputeNormals()
60 const Handle(Poly_Triangulation)& theTris,
H A DAIS_ViewCube.hxx590 …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 DPoly_MergeNodesTool.hxx37 …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 DAIS_XRTrackedDevice.hxx29 Standard_EXPORT AIS_XRTrackedDevice (const Handle(Graphic3d_ArrayOfTriangles)& theTris,