Home
last modified time | relevance | path

Searched refs:theBndBox (Results 1 – 18 of 18) sorted by relevance

/dports/devel/py-cadquery-pywrap/pywrap-e8c7bc9/opencascade/
H A DFont_TextFormatter.hxx82 inline void BndBox (Font_Rect& theBndBox) const in BndBox()
84 theBndBox.Left = 0.0f; in BndBox()
88 case Graphic3d_HTA_LEFT: theBndBox.Right = myBndWidth; break; in BndBox()
89 case Graphic3d_HTA_RIGHT: theBndBox.Right = -myBndWidth; break; in BndBox()
92 theBndBox.Left = -0.5f * myBndWidth; in BndBox()
93 theBndBox.Right = 0.5f * myBndWidth; in BndBox()
97 theBndBox.Top = myBndTop; in BndBox()
98 theBndBox.Bottom = theBndBox.Top - myLineSpacing * Standard_ShortReal(myLinesNb); in BndBox()
H A DStdPrs_BndBox.hxx36 const Bnd_Box& theBndBox,
44 const Bnd_OBB& theBndBox,
H A DPrsMgr_PresentableObject.hxx315 Standard_EXPORT virtual void BoundingBox (Bnd_Box& theBndBox);
/dports/cad/opencascade/opencascade-7.6.0/src/Prs3d/
H A DPrs3d_BndBox.cxx25 const Bnd_Box& theBndBox, in Add() argument
28 if (!theBndBox.IsVoid()) in Add()
34 aGroup->AddPrimitiveArray (FillSegments (theBndBox)); in Add()
43 const Bnd_OBB& theBndBox, in Add() argument
46 if (!theBndBox.IsVoid()) in Add()
52 aGroup->AddPrimitiveArray (FillSegments (theBndBox)); in Add()
H A DPrs3d.hxx70 static Standard_Real GetDeflection (const Bnd_Box& theBndBox, in GetDeflection() argument
74 if (theBndBox.IsVoid()) in GetDeflection()
79 Bnd_Box aBndBox = theBndBox; in GetDeflection()
80 if (theBndBox.IsOpen()) in GetDeflection()
82 if (!theBndBox.HasFinitePart()) in GetDeflection()
86 aBndBox = theBndBox.FinitePart(); in GetDeflection()
H A DPrs3d_BndBox.hxx36 const Bnd_Box& theBndBox,
44 const Bnd_OBB& theBndBox,
/dports/cad/opencascade/opencascade-7.6.0/src/Font/
H A DFont_TextFormatter.hxx180 Font_Rect& theBndBox) const;
239 inline void BndBox (Font_Rect& theBndBox) const in BndBox()
241 theBndBox.Left = 0.0f; in BndBox()
245 case Graphic3d_HTA_LEFT: theBndBox.Right = myBndWidth; break; in BndBox()
246 case Graphic3d_HTA_RIGHT: theBndBox.Right = -myBndWidth; break; in BndBox()
249 theBndBox.Left = -0.5f * myBndWidth; in BndBox()
250 theBndBox.Right = 0.5f * myBndWidth; in BndBox()
254 theBndBox.Top = myBndTop; in BndBox()
255 theBndBox.Bottom = theBndBox.Top - myLineSpacing * Standard_ShortReal(myLinesNb); in BndBox()
H A DFont_TextFormatter.cxx310 Font_Rect& theBndBox) const in GlyphBoundingBox()
318 theBndBox.Left = aLeftCorner.x(); in GlyphBoundingBox()
319 theBndBox.Right = aLeftCorner.x() + myLastSymbolWidth; in GlyphBoundingBox()
320 theBndBox.Bottom = aLeftCorner.y(); in GlyphBoundingBox()
321 theBndBox.Top = theBndBox.Bottom + myLineSpacing; in GlyphBoundingBox()
331 theBndBox.Right = aNextLeftCorner.x(); in GlyphBoundingBox()
337 theBndBox.Left = aLeftCorner.x(); in GlyphBoundingBox()
340 case Graphic3d_HTA_LEFT: theBndBox.Right = aLineWidth; break; in GlyphBoundingBox()
341 case Graphic3d_HTA_RIGHT: theBndBox.Right = myBndWidth; break; in GlyphBoundingBox()
342 case Graphic3d_HTA_CENTER: theBndBox.Right = 0.5f * (myBndWidth + aLineWidth); break; in GlyphBoundingBox()
/dports/cad/opencascade/opencascade-7.6.0/inc/
H A DFont_TextFormatter.hxx180 Font_Rect& theBndBox) const;
239 inline void BndBox (Font_Rect& theBndBox) const in BndBox()
241 theBndBox.Left = 0.0f; in BndBox()
245 case Graphic3d_HTA_LEFT: theBndBox.Right = myBndWidth; break; in BndBox()
246 case Graphic3d_HTA_RIGHT: theBndBox.Right = -myBndWidth; break; in BndBox()
249 theBndBox.Left = -0.5f * myBndWidth; in BndBox()
250 theBndBox.Right = 0.5f * myBndWidth; in BndBox()
254 theBndBox.Top = myBndTop; in BndBox()
255 theBndBox.Bottom = theBndBox.Top - myLineSpacing * Standard_ShortReal(myLinesNb); in BndBox()
H A DPrs3d.hxx70 static Standard_Real GetDeflection (const Bnd_Box& theBndBox, in GetDeflection() argument
74 if (theBndBox.IsVoid()) in GetDeflection()
79 Bnd_Box aBndBox = theBndBox; in GetDeflection()
80 if (theBndBox.IsOpen()) in GetDeflection()
82 if (!theBndBox.HasFinitePart()) in GetDeflection()
86 aBndBox = theBndBox.FinitePart(); in GetDeflection()
H A DPrs3d_BndBox.hxx36 const Bnd_Box& theBndBox,
44 const Bnd_OBB& theBndBox,
H A DIVtkOCC_SelectableObject.hxx53 Standard_EXPORT virtual void BoundingBox (Bnd_Box& theBndBox) Standard_OVERRIDE;
H A DPrsMgr_PresentableObject.hxx326 Standard_EXPORT virtual void BoundingBox (Bnd_Box& theBndBox);
/dports/cad/opencascade/opencascade-7.6.0/src/Graphic3d/
H A DGraphic3d_Layer.cxx154 inline Graphic3d_BndBox3d centerOfinfiniteBndBox (const Graphic3d_BndBox3d& theBndBox) in centerOfinfiniteBndBox() argument
157 const Graphic3d_Vec3d aDiagVec = theBndBox.CornerMax() - theBndBox.CornerMin(); in centerOfinfiniteBndBox()
159 ? Graphic3d_BndBox3d ((theBndBox.CornerMin() + theBndBox.CornerMax()) * 0.5) in centerOfinfiniteBndBox()
164 inline bool isInfiniteBndBox (const Graphic3d_BndBox3d& theBndBox) in isInfiniteBndBox() argument
166 return Abs (theBndBox.CornerMax().x()) >= ShortRealLast() in isInfiniteBndBox()
167 || Abs (theBndBox.CornerMax().y()) >= ShortRealLast() in isInfiniteBndBox()
168 || Abs (theBndBox.CornerMax().z()) >= ShortRealLast() in isInfiniteBndBox()
169 || Abs (theBndBox.CornerMin().x()) >= ShortRealLast() in isInfiniteBndBox()
170 || Abs (theBndBox.CornerMin().y()) >= ShortRealLast() in isInfiniteBndBox()
171 || Abs (theBndBox.CornerMin().z()) >= ShortRealLast(); in isInfiniteBndBox()
/dports/cad/opencascade/opencascade-7.6.0/src/IVtkOCC/
H A DIVtkOCC_SelectableObject.cxx161 void IVtkOCC_SelectableObject::BoundingBox (Bnd_Box& theBndBox) in BoundingBox() argument
164 theBndBox = myBndBox; in BoundingBox()
H A DIVtkOCC_SelectableObject.hxx53 Standard_EXPORT virtual void BoundingBox (Bnd_Box& theBndBox) Standard_OVERRIDE;
/dports/cad/opencascade/opencascade-7.6.0/src/PrsMgr/
H A DPrsMgr_PresentableObject.cxx613 void PrsMgr_PresentableObject::BoundingBox (Bnd_Box& theBndBox) in BoundingBox() argument
623 theBndBox.Update (aBndBox.CornerMin().x(), aBndBox.CornerMin().y(), aBndBox.CornerMin().z(), in BoundingBox()
628 theBndBox.SetVoid(); in BoundingBox()
639 theBndBox.Add (aBox); in BoundingBox()
653 theBndBox.Update (aBndBox.CornerMin().x(), aBndBox.CornerMin().y(), aBndBox.CornerMin().z(), in BoundingBox()
658 theBndBox.SetVoid(); in BoundingBox()
H A DPrsMgr_PresentableObject.hxx326 Standard_EXPORT virtual void BoundingBox (Bnd_Box& theBndBox);