Open CASCADE Technology
6.9.0
|
This class provides auxiliary methods to create differents aspects. More...
#include <MeshVS_Tool.hxx>
Static Public Member Functions | |
static Handle < Graphic3d_AspectFillArea3d > | CreateAspectFillArea3d (const Handle< MeshVS_Drawer > &theDr, const Standard_Boolean UseDefaults=Standard_True) |
Creates fill area aspect with values from Drawer according to keys from DrawerAttribute. More... | |
static Handle < Graphic3d_AspectFillArea3d > | CreateAspectFillArea3d (const Handle< MeshVS_Drawer > &theDr, const Graphic3d_MaterialAspect &Mat, const Standard_Boolean UseDefaults=Standard_True) |
Creates fill aspect with values from Drawer according to keys from DrawerAttribute and specific material aspect. More... | |
static Handle < Graphic3d_AspectLine3d > | CreateAspectLine3d (const Handle< MeshVS_Drawer > &theDr, const Standard_Boolean UseDefaults=Standard_True) |
Creates line aspect with values from Drawer according to keys from DrawerAttribute. More... | |
static Handle < Graphic3d_AspectMarker3d > | CreateAspectMarker3d (const Handle< MeshVS_Drawer > &theDr, const Standard_Boolean UseDefaults=Standard_True) |
Creates marker aspect with values from Drawer according to keys from DrawerAttribute. More... | |
static Handle < Graphic3d_AspectText3d > | CreateAspectText3d (const Handle< MeshVS_Drawer > &theDr, const Standard_Boolean UseDefaults=Standard_True) |
Creates text aspect with values from Drawer according to keys from DrawerAttribute. More... | |
static Standard_Boolean | GetNormal (const TColStd_Array1OfReal &Nodes, gp_Vec &Norm) |
Get one of normals to polygon described by these points. If the polygon isn't planar, function returns false. More... | |
static Standard_Boolean | GetAverageNormal (const TColStd_Array1OfReal &Nodes, gp_Vec &Norm) |
Get an average of normals to non-planar polygon described by these points or compute normal of planar polygon. If the polygon isn't planar, function returns false. More... | |
This class provides auxiliary methods to create differents aspects.
|
static |
Creates fill area aspect with values from Drawer according to keys from DrawerAttribute.
|
static |
Creates fill aspect with values from Drawer according to keys from DrawerAttribute and specific material aspect.
|
static |
Creates line aspect with values from Drawer according to keys from DrawerAttribute.
|
static |
Creates marker aspect with values from Drawer according to keys from DrawerAttribute.
|
static |
Creates text aspect with values from Drawer according to keys from DrawerAttribute.
|
static |
Get an average of normals to non-planar polygon described by these points or compute normal of planar polygon. If the polygon isn't planar, function returns false.
|
static |
Get one of normals to polygon described by these points. If the polygon isn't planar, function returns false.