OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    Prs3d_BndBox Class Reference

    Tool for computing bounding box presentation. More...

    #include <Prs3d_BndBox.hxx>

    Inheritance diagram for Prs3d_BndBox:

    Static Public Member Functions

    static void Add (const occ::handle< Prs3d_Presentation > &thePresentation, const Bnd_Box &theBndBox, const occ::handle< Prs3d_Drawer > &theDrawer)
     Computes presentation of a bounding box.
    static void Add (const occ::handle< Prs3d_Presentation > &thePresentation, const Bnd_OBB &theBndBox, const occ::handle< Prs3d_Drawer > &theDrawer)
     Computes presentation of a bounding box.
    static occ::handle< Graphic3d_ArrayOfSegmentsFillSegments (const Bnd_OBB &theBox)
     Create primitive array with line segments for displaying a box.
    static occ::handle< Graphic3d_ArrayOfSegmentsFillSegments (const Bnd_Box &theBox)
     Create primitive array with line segments for displaying a box.
    static void FillSegments (const occ::handle< Graphic3d_ArrayOfSegments > &theSegments, const Bnd_OBB &theBox)
     Create primitive array with line segments for displaying a box.
    static void FillSegments (const occ::handle< Graphic3d_ArrayOfSegments > &theSegments, const Bnd_Box &theBox)
     Create primitive array with line segments for displaying a box.
    static void fillSegments (const occ::handle< Graphic3d_ArrayOfSegments > &theSegments, const gp_Pnt *theBox)
     Create primitive array with line segments for displaying a box.
    Static Public Member Functions inherited from Prs3d_Root
    called static instead occ::handle< Graphic3d_GroupCurrentGroup (const occ::handle< Prs3d_Presentation > &thePrs3d)
    static instead occ::handle< Graphic3d_GroupNewGroup (const occ::handle< Prs3d_Presentation > &thePrs3d)

    Detailed Description

    Tool for computing bounding box presentation.

    Member Function Documentation

    ◆ Add() [1/2]

    void Prs3d_BndBox::Add ( const occ::handle< Prs3d_Presentation > & thePresentation,
    const Bnd_Box & theBndBox,
    const occ::handle< Prs3d_Drawer > & theDrawer )
    static

    Computes presentation of a bounding box.

    Parameters
    [in]thePresentationthe presentation.
    [in]theBndBoxthe bounding box.
    [in]theDrawerthe drawer.

    ◆ Add() [2/2]

    void Prs3d_BndBox::Add ( const occ::handle< Prs3d_Presentation > & thePresentation,
    const Bnd_OBB & theBndBox,
    const occ::handle< Prs3d_Drawer > & theDrawer )
    static

    Computes presentation of a bounding box.

    Parameters
    [in]thePresentationthe presentation.
    [in]theBndBoxthe bounding box.
    [in]theDrawerthe drawer.

    ◆ FillSegments() [1/4]

    occ::handle< Graphic3d_ArrayOfSegments > Prs3d_BndBox::FillSegments ( const Bnd_Box & theBox)
    inlinestatic

    Create primitive array with line segments for displaying a box.

    Parameters
    [in]theBoxthe box to add

    ◆ FillSegments() [2/4]

    occ::handle< Graphic3d_ArrayOfSegments > Prs3d_BndBox::FillSegments ( const Bnd_OBB & theBox)
    inlinestatic

    Create primitive array with line segments for displaying a box.

    Parameters
    [in]theBoxthe box to add

    ◆ FillSegments() [3/4]

    void Prs3d_BndBox::FillSegments ( const occ::handle< Graphic3d_ArrayOfSegments > & theSegments,
    const Bnd_Box & theBox )
    inlinestatic

    Create primitive array with line segments for displaying a box.

    Parameters
    [in]

    out] theSegments primitive array to be filled; should be at least 8 nodes and 24 edges in size

    Parameters
    [in]theBoxthe box to add

    ◆ FillSegments() [4/4]

    void Prs3d_BndBox::FillSegments ( const occ::handle< Graphic3d_ArrayOfSegments > & theSegments,
    const Bnd_OBB & theBox )
    inlinestatic

    Create primitive array with line segments for displaying a box.

    Parameters
    [in]

    out] theSegments primitive array to be filled; should be at least 8 nodes and 24 edges in size

    Parameters
    [in]theBoxthe box to add

    ◆ fillSegments()

    void Prs3d_BndBox::fillSegments ( const occ::handle< Graphic3d_ArrayOfSegments > & theSegments,
    const gp_Pnt * theBox )
    inlinestatic

    Create primitive array with line segments for displaying a box.

    Parameters
    [in]

    out] theSegments primitive array to be filled; should be at least 8 nodes and 24 edges in size

    Parameters
    [in]theBoxthe box to add

    The documentation for this class was generated from the following file: