Open CASCADE Technology  7.5.0
Static Public Member Functions
StdPrs_Plane Class Reference

A framework to display infinite planes. More...

#include <StdPrs_Plane.hxx>

Inheritance diagram for StdPrs_Plane:
Inheritance graph
[legend]

Static Public Member Functions

static void Add (const Handle< Prs3d_Presentation > &aPresentation, const Adaptor3d_Surface &aPlane, const Handle< Prs3d_Drawer > &aDrawer)
 Defines display of infinite planes. The infinite plane aPlane is added to the display aPresentation, and the attributes of the display are defined by the attribute manager aDrawer. More...
 
static Standard_Boolean Match (const Standard_Real X, const Standard_Real Y, const Standard_Real Z, const Standard_Real aDistance, const Adaptor3d_Surface &aPlane, const Handle< Prs3d_Drawer > &aDrawer)
 returns true if the distance between the point (X,Y,Z) and the plane is less than aDistance. More...
 
- Static Public Member Functions inherited from Prs3d_Root
static Handle< Graphic3d_GroupCurrentGroup (const Handle< Prs3d_Presentation > &thePrs3d)
 
static Handle< Graphic3d_GroupNewGroup (const Handle< Prs3d_Presentation > &thePrs3d)
 

Detailed Description

A framework to display infinite planes.

Member Function Documentation

◆ Add()

static void StdPrs_Plane::Add ( const Handle< Prs3d_Presentation > &  aPresentation,
const Adaptor3d_Surface aPlane,
const Handle< Prs3d_Drawer > &  aDrawer 
)
static

Defines display of infinite planes. The infinite plane aPlane is added to the display aPresentation, and the attributes of the display are defined by the attribute manager aDrawer.

◆ Match()

static Standard_Boolean StdPrs_Plane::Match ( const Standard_Real  X,
const Standard_Real  Y,
const Standard_Real  Z,
const Standard_Real  aDistance,
const Adaptor3d_Surface aPlane,
const Handle< Prs3d_Drawer > &  aDrawer 
)
static

returns true if the distance between the point (X,Y,Z) and the plane is less than aDistance.


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