Open CASCADE Technology  6.9.0
Static Public Member Functions

HLRAlgo Class Reference

In order to have the precision required in industrial design, drawings need to offer the possibility of removing lines, which are hidden in a given projection. To do this, the Hidden Line Removal component provides two algorithms: HLRBRep_Algo and HLRBRep_PolyAlgo. These algorithms remove or indicate lines hidden by surfaces. For a given projection, they calculate a set of lines characteristic of the object being represented. They are also used in conjunction with extraction utilities, which reconstruct a new, simplified shape from a selection of calculation results. This new shape is made up of edges, which represent the lines of the visualized shape in a plane. This plane is the projection plane. HLRBRep_Algo takes into account the shape itself. HLRBRep_PolyAlgo works with a polyhedral simplification of the shape. When you use HLRBRep_Algo, you obtain an exact result, whereas, when you use HLRBRep_PolyAlgo, you reduce computation time but obtain polygonal segments. More...

#include <HLRAlgo.hxx>

Static Public Member Functions

static void UpdateMinMax (const Standard_Real x, const Standard_Real y, const Standard_Real z, const Standard_Address Min, const Standard_Address Max)
 Iterator on the visible or hidden parts of an EdgeStatus. More...
 
static void EnlargeMinMax (const Standard_Real tol, const Standard_Address Min, const Standard_Address Max)
 
static void InitMinMax (const Standard_Real Big, const Standard_Address Min, const Standard_Address Max)
 
static void EncodeMinMax (const Standard_Address Min, const Standard_Address Max, const Standard_Address MinMax)
 
static Standard_Real SizeBox (const Standard_Address Min, const Standard_Address Max)
 
static void DecodeMinMax (const Standard_Address MinMax, const Standard_Address Min, const Standard_Address Max)
 
static void CopyMinMax (const Standard_Address IMin, const Standard_Address IMax, const Standard_Address OMin, const Standard_Address OMax)
 
static void AddMinMax (const Standard_Address IMin, const Standard_Address IMax, const Standard_Address OMin, const Standard_Address OMax)
 

Detailed Description

In order to have the precision required in industrial design, drawings need to offer the possibility of removing lines, which are hidden in a given projection. To do this, the Hidden Line Removal component provides two algorithms: HLRBRep_Algo and HLRBRep_PolyAlgo. These algorithms remove or indicate lines hidden by surfaces. For a given projection, they calculate a set of lines characteristic of the object being represented. They are also used in conjunction with extraction utilities, which reconstruct a new, simplified shape from a selection of calculation results. This new shape is made up of edges, which represent the lines of the visualized shape in a plane. This plane is the projection plane. HLRBRep_Algo takes into account the shape itself. HLRBRep_PolyAlgo works with a polyhedral simplification of the shape. When you use HLRBRep_Algo, you obtain an exact result, whereas, when you use HLRBRep_PolyAlgo, you reduce computation time but obtain polygonal segments.

Member Function Documentation

static void HLRAlgo::AddMinMax ( const Standard_Address  IMin,
const Standard_Address  IMax,
const Standard_Address  OMin,
const Standard_Address  OMax 
)
static
static void HLRAlgo::CopyMinMax ( const Standard_Address  IMin,
const Standard_Address  IMax,
const Standard_Address  OMin,
const Standard_Address  OMax 
)
static
static void HLRAlgo::DecodeMinMax ( const Standard_Address  MinMax,
const Standard_Address  Min,
const Standard_Address  Max 
)
static
static void HLRAlgo::EncodeMinMax ( const Standard_Address  Min,
const Standard_Address  Max,
const Standard_Address  MinMax 
)
static
static void HLRAlgo::EnlargeMinMax ( const Standard_Real  tol,
const Standard_Address  Min,
const Standard_Address  Max 
)
static
static void HLRAlgo::InitMinMax ( const Standard_Real  Big,
const Standard_Address  Min,
const Standard_Address  Max 
)
static
static Standard_Real HLRAlgo::SizeBox ( const Standard_Address  Min,
const Standard_Address  Max 
)
static
static void HLRAlgo::UpdateMinMax ( const Standard_Real  x,
const Standard_Real  y,
const Standard_Real  z,
const Standard_Address  Min,
const Standard_Address  Max 
)
static

Iterator on the visible or hidden parts of an EdgeStatus.


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