Home
last modified time | relevance | path

Searched refs:theAxis (Results 1 – 25 of 197) sorted by relevance

12345678

/dports/devel/py-cadquery-pywrap/pywrap-e8c7bc9/opencascade/
H A DBVH_Box.hxx110 T Center (const Standard_Integer theAxis) const;
225 if (theAxis == 0) in Center()
229 else if (theAxis == 1) in Center()
242 if (theAxis == 0) in Center()
246 else if (theAxis == 1) in Center()
250 else if (theAxis == 2) in Center()
263 if (theAxis == 0) in Center()
267 else if (theAxis == 1) in Center()
271 else if (theAxis == 2) in Center()
425 T BVH_Box<T, N>::Center (const Standard_Integer theAxis) const
[all …]
H A DBVH_Types.hxx181 static T Get (const BVH_Vec2t& theVec, const Standard_Integer theAxis) in Get()
183 return theAxis == 0 ? theVec.x() : theVec.y(); in Get()
191 static T Get (const BVH_Vec3t& theVec, const Standard_Integer theAxis) in Get()
193 return theAxis == 0 ? theVec.x() : ( theAxis == 1 ? theVec.y() : theVec.z() ); in Get()
201 static T Get (const BVH_Vec4t& theVec, const Standard_Integer theAxis) in Get()
203 return theAxis == 0 ? theVec.x() : in Get()
204 (theAxis == 1 ? theVec.y() : ( theAxis == 2 ? theVec.z() : theVec.w() )); in Get()
H A DBVH_BinnedBuilder.hxx92 const Standard_Integer theAxis) const;
109 const Standard_Integer theAxis) const in getSubVolumes()
111 const T aMin = BVH::VecComp<T, N>::Get (theBVH->MinPoint (theNode), theAxis); in getSubVolumes()
112 const T aMax = BVH::VecComp<T, N>::Get (theBVH->MaxPoint (theNode), theAxis); in getSubVolumes()
117 …Standard_Integer aBinIndex = BVH::IntFloor<T> ((theSet->Center (anIdx, theAxis) - aMin) * anInvers… in getSubVolumes()
140 const Standard_Integer theAxis, in SplitPrimitives() argument
143 const T aMin = BVH::VecComp<T, N>::Get (theBox.CornerMin(), theAxis); in SplitPrimitives()
144 const T aMax = BVH::VecComp<T, N>::Get (theBox.CornerMax(), theAxis); in SplitPrimitives()
153 …while (BVH::IntFloor<T> ((theSet->Center (aLftIdx, theAxis) - aMin) * anInverseStep) <= theBin && … in SplitPrimitives()
157 …while (BVH::IntFloor<T> ((theSet->Center (aRghIdx, theAxis) - aMin) * anInverseStep) > theBin && a… in SplitPrimitives()
H A DBVH_Triangulation.hxx85 const Standard_Integer theAxis) const Standard_OVERRIDE in Center()
92 return (BVH::VecComp<T, N>::Get (aPoint0, theAxis) + in Center()
93 BVH::VecComp<T, N>::Get (aPoint1, theAxis) + in Center()
94 BVH::VecComp<T, N>::Get (aPoint2, theAxis)) * static_cast<T> (1.0 / 3.0); in Center()
H A DSelect3D_SensitiveSet.hxx58 const Standard_Integer theAxis) const = 0;
167 …const Standard_Integer theAxis) const Standard_OVERRIDE { return mySensitiveSet->Center (theIdx, t… in Center()
/dports/cad/opencascade/opencascade-7.6.0/inc/
H A DV3d_Trihedron.hxx88 … Handle(Prs3d_TextAspect)& LabelAspect (V3d_TypeOfAxe theAxis) const { return myTextAspects[theAxi… in Handle()
101 …(Prs3d_ShadingAspect)& ArrowAspect (V3d_TypeOfAxe theAxis) const { return myArrowShadingAspects[th… in Handle()
114 const TCollection_AsciiString& Label (V3d_TypeOfAxe theAxis) const { return myLabels[theAxis]; } in Label()
H A DBVH_Types.hxx181 static T Get (const BVH_Vec2t& theVec, const Standard_Integer theAxis) in Get()
183 return theAxis == 0 ? theVec.x() : theVec.y(); in Get()
191 static T Get (const BVH_Vec3t& theVec, const Standard_Integer theAxis) in Get()
193 return theAxis == 0 ? theVec.x() : ( theAxis == 1 ? theVec.y() : theVec.z() ); in Get()
201 static T Get (const BVH_Vec4t& theVec, const Standard_Integer theAxis) in Get()
203 return theAxis == 0 ? theVec.x() : in Get()
204 (theAxis == 1 ? theVec.y() : ( theAxis == 2 ? theVec.z() : theVec.w() )); in Get()
H A DBVH_Box.hxx178 T Center (const Standard_Integer theAxis) const;
356 if (theAxis == 0) in Center()
360 else if (theAxis == 1) in Center()
373 if (theAxis == 0) in Center()
377 else if (theAxis == 1) in Center()
381 else if (theAxis == 2) in Center()
394 if (theAxis == 0) in Center()
398 else if (theAxis == 1) in Center()
402 else if (theAxis == 2) in Center()
556 T BVH_Box<T, N>::Center (const Standard_Integer theAxis) const
[all …]
H A DBVH_BinnedBuilder.hxx92 const Standard_Integer theAxis) const;
109 const Standard_Integer theAxis) const in getSubVolumes()
111 const T aMin = BVH::VecComp<T, N>::Get (theBVH->MinPoint (theNode), theAxis); in getSubVolumes()
112 const T aMax = BVH::VecComp<T, N>::Get (theBVH->MaxPoint (theNode), theAxis); in getSubVolumes()
117 …Standard_Integer aBinIndex = BVH::IntFloor<T> ((theSet->Center (anIdx, theAxis) - aMin) * anInvers… in getSubVolumes()
140 const Standard_Integer theAxis, in SplitPrimitives() argument
143 const T aMin = BVH::VecComp<T, N>::Get (theBox.CornerMin(), theAxis); in SplitPrimitives()
144 const T aMax = BVH::VecComp<T, N>::Get (theBox.CornerMax(), theAxis); in SplitPrimitives()
153 …while (BVH::IntFloor<T> ((theSet->Center (aLftIdx, theAxis) - aMin) * anInverseStep) <= theBin && … in SplitPrimitives()
157 …while (BVH::IntFloor<T> ((theSet->Center (aRghIdx, theAxis) - aMin) * anInverseStep) > theBin && a… in SplitPrimitives()
H A DBVH_Triangulation.hxx85 const Standard_Integer theAxis) const Standard_OVERRIDE in Center()
92 return (BVH::VecComp<T, N>::Get (aPoint0, theAxis) + in Center()
93 BVH::VecComp<T, N>::Get (aPoint1, theAxis) + in Center()
94 BVH::VecComp<T, N>::Get (aPoint2, theAxis)) * static_cast<T> (1.0 / 3.0); in Center()
/dports/cad/opencascade/opencascade-7.6.0/src/V3d/
H A DV3d_Trihedron.hxx88 … Handle(Prs3d_TextAspect)& LabelAspect (V3d_TypeOfAxe theAxis) const { return myTextAspects[theAxi… in Handle()
101 …(Prs3d_ShadingAspect)& ArrowAspect (V3d_TypeOfAxe theAxis) const { return myArrowShadingAspects[th… in Handle()
114 const TCollection_AsciiString& Label (V3d_TypeOfAxe theAxis) const { return myLabels[theAxis]; } in Label()
/dports/cad/opencascade/opencascade-7.6.0/src/Prs3d/
H A DPrs3d_Arrow.cxx119 Handle(Graphic3d_ArrayOfTriangles) Prs3d_Arrow::DrawShaded (const gp_Ax1& theAxis, in Handle()
156 gp_Ax3 aSystem (theAxis.Location(), theAxis.Direction()); in Handle()
166 … gp_Pnt aConeOrigin = theAxis.Location().Translated (gp_Vec (theAxis.Direction().X() * aTubeLength, in Handle()
167theAxis.Direction().Y() * aTubeLength, in Handle()
168theAxis.Direction().Z() * aTubeLength)); in Handle()
169 gp_Ax3 aSystem (aConeOrigin, theAxis.Direction()); in Handle()
/dports/cad/opencascade/opencascade-7.6.0/src/BVH/
H A DBVH_Types.hxx181 static T Get (const BVH_Vec2t& theVec, const Standard_Integer theAxis) in Get()
183 return theAxis == 0 ? theVec.x() : theVec.y(); in Get()
191 static T Get (const BVH_Vec3t& theVec, const Standard_Integer theAxis) in Get()
193 return theAxis == 0 ? theVec.x() : ( theAxis == 1 ? theVec.y() : theVec.z() ); in Get()
201 static T Get (const BVH_Vec4t& theVec, const Standard_Integer theAxis) in Get()
203 return theAxis == 0 ? theVec.x() : in Get()
204 (theAxis == 1 ? theVec.y() : ( theAxis == 2 ? theVec.z() : theVec.w() )); in Get()
H A DBVH_Box.hxx178 T Center (const Standard_Integer theAxis) const;
356 if (theAxis == 0) in Center()
360 else if (theAxis == 1) in Center()
373 if (theAxis == 0) in Center()
377 else if (theAxis == 1) in Center()
381 else if (theAxis == 2) in Center()
394 if (theAxis == 0) in Center()
398 else if (theAxis == 1) in Center()
402 else if (theAxis == 2) in Center()
556 T BVH_Box<T, N>::Center (const Standard_Integer theAxis) const
[all …]
H A DBVH_BinnedBuilder.hxx92 const Standard_Integer theAxis) const;
109 const Standard_Integer theAxis) const in getSubVolumes()
111 const T aMin = BVH::VecComp<T, N>::Get (theBVH->MinPoint (theNode), theAxis); in getSubVolumes()
112 const T aMax = BVH::VecComp<T, N>::Get (theBVH->MaxPoint (theNode), theAxis); in getSubVolumes()
117 …Standard_Integer aBinIndex = BVH::IntFloor<T> ((theSet->Center (anIdx, theAxis) - aMin) * anInvers… in getSubVolumes()
140 const Standard_Integer theAxis, in SplitPrimitives() argument
143 const T aMin = BVH::VecComp<T, N>::Get (theBox.CornerMin(), theAxis); in SplitPrimitives()
144 const T aMax = BVH::VecComp<T, N>::Get (theBox.CornerMax(), theAxis); in SplitPrimitives()
153 …while (BVH::IntFloor<T> ((theSet->Center (aLftIdx, theAxis) - aMin) * anInverseStep) <= theBin && … in SplitPrimitives()
157 …while (BVH::IntFloor<T> ((theSet->Center (aRghIdx, theAxis) - aMin) * anInverseStep) > theBin && a… in SplitPrimitives()
H A DBVH_Triangulation.hxx85 const Standard_Integer theAxis) const Standard_OVERRIDE in Center()
92 return (BVH::VecComp<T, N>::Get (aPoint0, theAxis) + in Center()
93 BVH::VecComp<T, N>::Get (aPoint1, theAxis) + in Center()
94 BVH::VecComp<T, N>::Get (aPoint2, theAxis)) * static_cast<T> (1.0 / 3.0); in Center()
/dports/cad/opencascade/opencascade-7.6.0/src/IGESSolid/
H A DIGESSolid_Cylinder.cxx38 theAxis = anAxis; in Init()
70 return gp_Dir(theAxis); in Axis()
75 if (!HasTransf()) return gp_Dir(theAxis); in TransformedAxis()
78 gp_XYZ tmp = theAxis; in TransformedAxis()
H A DIGESSolid_Torus.cxx38 theAxis = Axisdir; // default (0,0,1) in Init()
70 return gp_Dir(theAxis); in Axis()
75 if (!HasTransf()) return gp_Dir(theAxis); in TransformedAxis()
78 gp_XYZ pnt = theAxis; in TransformedAxis()
H A DIGESSolid_ConeFrustum.cxx39 theAxis = anAxis; // default (0,0,1) in Init()
76 return gp_Dir(theAxis); in Axis()
81 if (!HasTransf()) return gp_Dir(theAxis); in TransformedAxis()
84 gp_XYZ xyz = theAxis; in TransformedAxis()
H A DIGESSolid_SolidOfRevolution.cxx39 theAxis = Direction; // default (0,0,1) in Init()
83 return gp_Dir(theAxis); in Axis()
88 if (!HasTransf()) return gp_Dir(theAxis); in TransformedAxis()
91 gp_XYZ tmp = theAxis; in TransformedAxis()
/dports/cad/opencascade/opencascade-7.6.0/src/StepFEA/
H A DStepFEA_ConstantSurface3dElementCoordinateSystem.cxx43 theAxis = aAxis; in Init()
55 return theAxis; in Axis()
65 theAxis = aAxis; in SetAxis()
H A DStepFEA_ParametricSurface3dElementCoordinateSystem.cxx43 theAxis = aAxis; in Init()
55 return theAxis; in Axis()
65 theAxis = aAxis; in SetAxis()
/dports/cad/opencascade/opencascade-7.6.0/src/GeomFill/
H A DGeomFill_DiscreteTrihedron.cxx222 gp_Ax2 theAxis; in D0() local
224 theAxis = PrevAxis; in D0()
245 theAxis = PrevAxis; in D0()
251 theAxis = PrevAxis.Rotated(theAxisOfRotation, theAngle); in D0()
253 theAxis.SetDirection(TangDir); //to prevent accumulation of floating computations error in D0()
256 Tangent = theAxis.Direction(); in D0()
257 Normal = theAxis.XDirection(); in D0()
258 BiNormal = theAxis.YDirection(); in D0()
/dports/cad/opencascade/opencascade-7.6.0/src/Graphic3d/
H A DGraphic3d_BvhCStructureSet.cxx55 const Standard_Integer theAxis) const in Center()
59 const Standard_Real aMin = aBndBox.CornerMin()[theAxis]; in Center()
60 const Standard_Real aMax = aBndBox.CornerMax()[theAxis]; in Center()
/dports/cad/opencascade/opencascade-7.6.0/src/gp/
H A Dgp_Quaternion.cxx74 gp_Vec theAxis = theVecFrom.Crossed (theHelpCrossVec); in SetRotation() local
75 Set (theAxis.X(), theAxis.Y(), theAxis.Z(), w); in SetRotation()
85 void gp_Quaternion::SetVectorAndAngle (const gp_Vec& theAxis, const Standard_Real theAngle) in SetVectorAndAngle() argument
87 gp_Vec anAxis = theAxis.Normalized(); in SetVectorAndAngle()
98 void gp_Quaternion::GetVectorAndAngle (gp_Vec& theAxis, Standard_Real& theAngle) const in GetVectorAndAngle() argument
104 theAxis.SetCoord (x * ivl, y * ivl, z * ivl); in GetVectorAndAngle()
116 theAxis.SetCoord (0.0, 0.0, 1.0); in GetVectorAndAngle()

12345678