OCC.HLRBRep module

class HLRBRep_Algo(*args)

Bases: OCC.HLRBRep.HLRBRep_InternalAlgo

  • Constructs an empty framework for the calculation of visible and hidden lines of a shape in a projection. Use the function: - Projector to define the point of view - Add to select the shape or shapes to be visualized - Update to compute the outlines of the shape, and - Hide to compute the visible and hidden lines of the shape.
Return type:None
Parameters:A (Handle_HLRBRep_Algo &) –
Return type:None
Add()
  • add the Shape <S>.
Parameters:
  • S (TopoDS_Shape &) –
  • SData (Handle_MMgt_TShared &) –
  • nbIso (int) – default value is 0
Return type:

None

  • Adds the shape S to this framework, and specifies the number of isoparameters nbiso desired in visualizing S. You may add as many shapes as you wish. Use the function Add once for each shape.
Parameters:
  • S (TopoDS_Shape &) –
  • nbIso (int) – default value is 0
Return type:

None

GetHandle()
Index()
  • return the index of the Shape <S> and return 0 if the Shape <S> is not found.
Parameters:S (TopoDS_Shape &) –
Return type:int
OutLinedShapeNullify()
  • nullify all the results of OutLiner from HLRTopoBRep.
Return type:None
thisown

The membership flag

class HLRBRep_AreaLimit(*args)

Bases: OCC.MMgt.MMgt_TShared

  • The previous and next field are set to NULL.
Parameters:
  • V (HLRAlgo_Intersection &) –
  • Boundary (bool) –
  • Interference (bool) –
  • StateBefore (TopAbs_State) –
  • StateAfter (TopAbs_State) –
  • EdgeBefore (TopAbs_State) –
  • EdgeAfter (TopAbs_State) –
Return type:

None

Clear()
Return type:None
EdgeAfter()
Parameters:St (TopAbs_State) –
Return type:None
Return type:TopAbs_State
EdgeBefore()
Parameters:St (TopAbs_State) –
Return type:None
Return type:TopAbs_State
GetHandle()
IsBoundary()
Return type:bool
IsInterference()
Return type:bool
Next()
Parameters:N (Handle_HLRBRep_AreaLimit &) –
Return type:None
Return type:Handle_HLRBRep_AreaLimit
Previous()
Parameters:P (Handle_HLRBRep_AreaLimit &) –
Return type:None
Return type:Handle_HLRBRep_AreaLimit
StateAfter()
Parameters:St (TopAbs_State) –
Return type:None
Return type:TopAbs_State
StateBefore()
Parameters:St (TopAbs_State) –
Return type:None
Return type:TopAbs_State
Vertex()
Return type:HLRAlgo_Intersection
thisown

The membership flag

class HLRBRep_Array1OfEData(*args)

Bases: object

Parameters:
  • Low (int) –
  • Up (int) –
  • Item (HLRBRep_EdgeData &) –
  • Low
  • Up
Return type:

None

Return type:

None

Assign()
Parameters:Other (HLRBRep_Array1OfEData &) –
Return type:HLRBRep_Array1OfEData
ChangeValue()
Parameters:Index (int) –
Return type:HLRBRep_EdgeData
Destroy()
Return type:None
Init()
Parameters:V (HLRBRep_EdgeData &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (HLRBRep_Array1OfEData &) –
Return type:HLRBRep_Array1OfEData
SetValue()
Parameters:
  • Index (int) –
  • Value (HLRBRep_EdgeData &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (int) –
Return type:HLRBRep_EdgeData
thisown

The membership flag

class HLRBRep_Array1OfFData(*args)

Bases: object

Parameters:
  • Low (int) –
  • Up (int) –
  • Item (HLRBRep_FaceData &) –
  • Low
  • Up
Return type:

None

Return type:

None

Assign()
Parameters:Other (HLRBRep_Array1OfFData &) –
Return type:HLRBRep_Array1OfFData
ChangeValue()
Parameters:Index (int) –
Return type:HLRBRep_FaceData
Destroy()
Return type:None
Init()
Parameters:V (HLRBRep_FaceData &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (HLRBRep_Array1OfFData &) –
Return type:HLRBRep_Array1OfFData
SetValue()
Parameters:
  • Index (int) –
  • Value (HLRBRep_FaceData &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (int) –
Return type:HLRBRep_FaceData
thisown

The membership flag

class HLRBRep_BCurveTool

Bases: object

static BSpline(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:Handle_Geom_BSplineCurve
static Bezier(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:Handle_Geom_BezierCurve
static Circle(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Circ
static Continuity(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:GeomAbs_Shape
static D0(*args)
  • Computes the point of parameter U on the curve.
Parameters:
  • C (BRepAdaptor_Curve &) –
  • U (float) –
  • P (gp_Pnt) –
Return type:

void

static D1(*args)
  • Computes the point of parameter U on the curve with its first derivative. Raised if the continuity of the current interval is not C1.
Parameters:
Return type:

void

static D2(*args)
  • Returns the point P of parameter U, the first and second derivatives V1 and V2. Raised if the continuity of the current interval is not C2.
Parameters:
Return type:

void

static D3(*args)
  • Returns the point P of parameter U, the first, the second and the third derivative. Raised if the continuity of the current interval is not C3.
Parameters:
Return type:

void

static DN(*args)
  • The returned vector gives the value of the derivative for the order of derivation N. Raised if the continuity of the current interval is not CN. Raised if N < 1.
Parameters:
  • C (BRepAdaptor_Curve &) –
  • U (float) –
  • N (int) –
Return type:

gp_Vec

static Degree(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:int
static Ellipse(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Elips
static FirstParameter(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:float
static GetType(*args)
  • Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
Parameters:C (BRepAdaptor_Curve &) –
Return type:GeomAbs_CurveType
static Hyperbola(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Hypr
static Intervals(*args)
  • Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()
Parameters:
  • C (BRepAdaptor_Curve &) –
  • T (TColStd_Array1OfReal &) –
  • S (GeomAbs_Shape) –
Return type:

void

static IsClosed(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:bool
static IsPeriodic(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:bool
static IsRational(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:bool
static LastParameter(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:float
static Line(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Lin
static NbIntervals(*args)
  • Returns the number of intervals for continuity <S>. May be one if Continuity(myclass) >= <S>
Parameters:
  • C (BRepAdaptor_Curve &) –
  • S (GeomAbs_Shape) –
Return type:

int

static NbKnots(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:int
static NbPoles(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:int
static NbSamples(*args)
Parameters:
  • C (BRepAdaptor_Curve &) –
  • U0 (float) –
  • U1 (float) –
Return type:

int

static Parabola(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Parab
static Period(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:float
static Poles(*args)
Parameters:
Return type:

void

static PolesAndWeights(*args)
Parameters:
Return type:

void

static Resolution(*args)
  • Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters:
  • C (BRepAdaptor_Curve &) –
  • R3d (float) –
Return type:

float

static Value(*args)
  • Computes the point of parameter U on the curve.
Parameters:
  • C (BRepAdaptor_Curve &) –
  • U (float) –
Return type:

gp_Pnt

thisown

The membership flag

HLRBRep_BCurveTool_BSpline(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:Handle_Geom_BSplineCurve
HLRBRep_BCurveTool_Bezier(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:Handle_Geom_BezierCurve
HLRBRep_BCurveTool_Circle(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Circ
HLRBRep_BCurveTool_Continuity(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:GeomAbs_Shape
HLRBRep_BCurveTool_D0(*args)
  • Computes the point of parameter U on the curve.
Parameters:
  • C (BRepAdaptor_Curve &) –
  • U (float) –
  • P (gp_Pnt) –
Return type:

void

HLRBRep_BCurveTool_D1(*args)
  • Computes the point of parameter U on the curve with its first derivative. Raised if the continuity of the current interval is not C1.
Parameters:
Return type:

void

HLRBRep_BCurveTool_D2(*args)
  • Returns the point P of parameter U, the first and second derivatives V1 and V2. Raised if the continuity of the current interval is not C2.
Parameters:
Return type:

void

HLRBRep_BCurveTool_D3(*args)
  • Returns the point P of parameter U, the first, the second and the third derivative. Raised if the continuity of the current interval is not C3.
Parameters:
Return type:

void

HLRBRep_BCurveTool_DN(*args)
  • The returned vector gives the value of the derivative for the order of derivation N. Raised if the continuity of the current interval is not CN. Raised if N < 1.
Parameters:
  • C (BRepAdaptor_Curve &) –
  • U (float) –
  • N (int) –
Return type:

gp_Vec

HLRBRep_BCurveTool_Degree(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:int
HLRBRep_BCurveTool_Ellipse(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Elips
HLRBRep_BCurveTool_FirstParameter(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:float
HLRBRep_BCurveTool_GetType(*args)
  • Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
Parameters:C (BRepAdaptor_Curve &) –
Return type:GeomAbs_CurveType
HLRBRep_BCurveTool_Hyperbola(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Hypr
HLRBRep_BCurveTool_Intervals(*args)
  • Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()
Parameters:
  • C (BRepAdaptor_Curve &) –
  • T (TColStd_Array1OfReal &) –
  • S (GeomAbs_Shape) –
Return type:

void

HLRBRep_BCurveTool_IsClosed(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:bool
HLRBRep_BCurveTool_IsPeriodic(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:bool
HLRBRep_BCurveTool_IsRational(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:bool
HLRBRep_BCurveTool_LastParameter(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:float
HLRBRep_BCurveTool_Line(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Lin
HLRBRep_BCurveTool_NbIntervals(*args)
  • Returns the number of intervals for continuity <S>. May be one if Continuity(myclass) >= <S>
Parameters:
  • C (BRepAdaptor_Curve &) –
  • S (GeomAbs_Shape) –
Return type:

int

HLRBRep_BCurveTool_NbKnots(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:int
HLRBRep_BCurveTool_NbPoles(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:int
HLRBRep_BCurveTool_NbSamples(*args)
Parameters:
  • C (BRepAdaptor_Curve &) –
  • U0 (float) –
  • U1 (float) –
Return type:

int

HLRBRep_BCurveTool_Parabola(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Parab
HLRBRep_BCurveTool_Period(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:float
HLRBRep_BCurveTool_Poles(*args)
Parameters:
Return type:

void

HLRBRep_BCurveTool_PolesAndWeights(*args)
Parameters:
Return type:

void

HLRBRep_BCurveTool_Resolution(*args)
  • Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters:
  • C (BRepAdaptor_Curve &) –
  • R3d (float) –
Return type:

float

HLRBRep_BCurveTool_Value(*args)
  • Computes the point of parameter U on the curve.
Parameters:
  • C (BRepAdaptor_Curve &) –
  • U (float) –
Return type:

gp_Pnt

class HLRBRep_BiPnt2D(*args)

Bases: object

Return type:

None

Parameters:
Return type:

None

IntLine()
Return type:bool
Parameters:B (bool) –
Return type:None
OutLine()
Return type:bool
Parameters:B (bool) –
Return type:None
P1()
Return type:gp_Pnt2d
P2()
Return type:gp_Pnt2d
Rg1Line()
Return type:bool
Parameters:B (bool) –
Return type:None
RgNLine()
Return type:bool
Parameters:B (bool) –
Return type:None
Shape()
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:None
thisown

The membership flag

class HLRBRep_BiPoint(*args)

Bases: object

Return type:

None

Parameters:
Return type:

None

IntLine()
Return type:bool
Parameters:B (bool) –
Return type:None
OutLine()
Return type:bool
Parameters:B (bool) –
Return type:None
P1()
Return type:gp_Pnt
P2()
Return type:gp_Pnt
Rg1Line()
Return type:bool
Parameters:B (bool) –
Return type:None
RgNLine()
Return type:bool
Parameters:B (bool) –
Return type:None
Shape()
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:None
thisown

The membership flag

class HLRBRep_CInter(*args)

Bases: OCC.IntRes2d.IntRes2d_Intersection

Return type:

None

Parameters:
  • C (Standard_Address &) –
  • TolConf (float) –
  • Tol (float) –
  • C
  • D (IntRes2d_Domain &) –
  • TolConf
  • Tol
  • C1 (Standard_Address &) –
  • C2 (Standard_Address &) –
  • TolConf
  • Tol
  • C1
  • D1 (IntRes2d_Domain &) –
  • C2
  • TolConf
  • Tol
  • C1
  • C2
  • D2 (IntRes2d_Domain &) –
  • TolConf
  • Tol
  • C1
  • D1
  • C2
  • D2
  • TolConf
  • Tol
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

ComputeDomain()
Parameters:
  • C1 (Standard_Address &) –
  • TolDomain (float) –
Return type:

IntRes2d_Domain

Perform()
Parameters:
  • C1 (Standard_Address &) –
  • D1 (IntRes2d_Domain &) –
  • C2 (Standard_Address &) –
  • D2 (IntRes2d_Domain &) –
  • TolConf (float) –
  • Tol (float) –
  • C1
  • C2
  • TolConf
  • Tol
  • C1
  • D1
  • TolConf
  • Tol
  • C1
  • TolConf
  • Tol
  • C1
  • D1
  • C2
  • TolConf
  • Tol
  • C1
  • C2
  • D2
  • TolConf
  • Tol
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

thisown

The membership flag

class HLRBRep_CLProps(*args)

Bases: object

Parameters:
  • C (Standard_Address &) –
  • N (int) –
  • Resolution (float) –
  • C
  • U (float) –
  • N
  • Resolution
  • N
  • Resolution
Return type:

None

Return type:

None

Return type:

None

CentreOfCurvature()
Parameters:P (gp_Pnt2d) –
Return type:None
Curvature()
Return type:float
D1()
Return type:gp_Vec2d
D2()
Return type:gp_Vec2d
D3()
Return type:gp_Vec2d
IsTangentDefined()
Return type:bool
Normal()
Parameters:N (gp_Dir2d) –
Return type:None
SetCurve()
Parameters:C (Standard_Address &) –
Return type:None
SetParameter()
Parameters:U (float) –
Return type:None
Tangent()
Parameters:D (gp_Dir2d) –
Return type:None
Value()
Return type:gp_Pnt2d
thisown

The membership flag

class HLRBRep_CLPropsATool

Bases: object

static Continuity(*args)
  • returns the order of continuity of the curve <C>. returns 1 : first derivative only is computable returns 2 : first and second derivative only are computable. returns 3 : first, second and third are computable.
Parameters:A (Standard_Address) –
Return type:int
static D1(*args)
  • Computes the point <P> and first derivative <V1> of parameter <U> on the curve <C>.
Parameters:
Return type:

void

static D2(*args)
  • Computes the point <P>, the first derivative <V1> and second derivative <V2> of parameter <U> on the curve <C>.
Parameters:
Return type:

void

static D3(*args)
  • Computes the point <P>, the first derivative <V1>, the second derivative <V2> and third derivative <V3> of parameter <U> on the curve <C>.
Parameters:
Return type:

void

static FirstParameter(*args)
  • returns the first parameter bound of the curve.
Parameters:A (Standard_Address) –
Return type:float
static LastParameter(*args)
  • returns the last parameter bound of the curve. FirstParameter must be less than LastParamenter.
Parameters:A (Standard_Address) –
Return type:float
static Value(*args)
  • Computes the point <P> of parameter <U> on the Curve from HLRBRep <C>.
Parameters:
Return type:

void

thisown

The membership flag

HLRBRep_CLPropsATool_Continuity(*args)
  • returns the order of continuity of the curve <C>. returns 1 : first derivative only is computable returns 2 : first and second derivative only are computable. returns 3 : first, second and third are computable.
Parameters:A (Standard_Address) –
Return type:int
HLRBRep_CLPropsATool_D1(*args)
  • Computes the point <P> and first derivative <V1> of parameter <U> on the curve <C>.
Parameters:
Return type:

void

HLRBRep_CLPropsATool_D2(*args)
  • Computes the point <P>, the first derivative <V1> and second derivative <V2> of parameter <U> on the curve <C>.
Parameters:
Return type:

void

HLRBRep_CLPropsATool_D3(*args)
  • Computes the point <P>, the first derivative <V1>, the second derivative <V2> and third derivative <V3> of parameter <U> on the curve <C>.
Parameters:
Return type:

void

HLRBRep_CLPropsATool_FirstParameter(*args)
  • returns the first parameter bound of the curve.
Parameters:A (Standard_Address) –
Return type:float
HLRBRep_CLPropsATool_LastParameter(*args)
  • returns the last parameter bound of the curve. FirstParameter must be less than LastParamenter.
Parameters:A (Standard_Address) –
Return type:float
HLRBRep_CLPropsATool_Value(*args)
  • Computes the point <P> of parameter <U> on the Curve from HLRBRep <C>.
Parameters:
Return type:

void

class HLRBRep_Curve(*args)

Bases: object

  • Creates an undefined Curve.
Return type:None
Circle()
Return type:gp_Circ2d
Continuity()
Return type:GeomAbs_Shape
Curve()
  • Returns the 3D curve.
Return type:BRepAdaptor_Curve
  • Sets the 3D curve to be projected.
Parameters:E (TopoDS_Edge &) –
Return type:None
D0()
  • Computes the 3D point of parameter U on the curve.
Parameters:
Return type:

None

  • Computes the point of parameter U on the curve.
Parameters:
Return type:

None

D1()
  • Computes the point of parameter U on the curve with its first derivative.
Parameters:
Return type:

None

  • Computes the point of parameter U on the curve with its first derivative. Raised if the continuity of the current interval is not C1.
Parameters:
Return type:

None

D2()
  • Raised if the continuity of the current interval is not C2.
Parameters:
Return type:

None

D3()
  • Returns the point P of parameter U, the first, the second and the third derivative. Raised if the continuity of the current interval is not C3.
Parameters:
Return type:

None

DN()
  • The returned vector gives the value of the derivative for the order of derivation N. Raised if the continuity of the current interval is not CN. Raised if N < 1.
Parameters:
Return type:

gp_Vec2d

Degree()
Return type:int
Ellipse()
Return type:gp_Elips2d
FirstParameter()
Return type:float
GetCurve()
  • Returns the 3D curve.
Return type:BRepAdaptor_Curve
GetType()
  • Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
Return type:GeomAbs_CurveType
Hyperbola()
Return type:gp_Hypr2d
Intervals()
  • Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()
Parameters:
  • T (TColStd_Array1OfReal &) –
  • S (GeomAbs_Shape) –
Return type:

None

IsClosed()
Return type:bool
IsPeriodic()
Return type:bool
IsRational()
Return type:bool
Knots()
Parameters:kn (TColStd_Array1OfReal &) –
Return type:None
LastParameter()
Return type:float
Line()
Return type:gp_Lin2d
Multiplicities()
Parameters:mu (TColStd_Array1OfInteger &) –
Return type:None
NbIntervals()
  • If necessary, breaks the curve in intervals of continuity <S>. And returns the number of intervals.
Parameters:S (GeomAbs_Shape) –
Return type:int
NbKnots()
Return type:int
NbPoles()
Return type:int
Parabola()
Return type:gp_Parab2d
Parameter2d()
  • Returns the parameter on the 2d curve from the parameter on the 3d curve.
Parameters:P3d (float) –
Return type:float
Parameter3d()
  • Returns the parameter on the 3d curve from the parameter on the 2d curve.
Parameters:P2d (float) –
Return type:float
Period()
Return type:float
Poles()
Parameters:
Return type:

None

Return type:

None

PolesAndWeights()
Parameters:
  • TP (TColgp_Array1OfPnt2d) –
  • TW (TColStd_Array1OfReal &) –
  • aCurve (Handle_Geom_BSplineCurve &) –
  • TP
  • TW
Return type:

None

Return type:

None

Projector()
Parameters:Proj (Standard_Address) –
Return type:None
Resolution()
  • Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters:R3d (float) –
Return type:float
Tangent()
  • Depending on <AtStart> computes the 2D point and tangent on the curve at sart (or at end). If the first derivative is null look after at start (or before at end) with the second derivative.
Parameters:
Return type:

None

Update()
  • Update the minmax and the internal data
Parameters:
  • TotMin (Standard_Address) –
  • TotMax (Standard_Address) –
Return type:

float

UpdateMinMax()
  • Update the minmax returns tol for enlarge;
Parameters:
  • TotMin (Standard_Address) –
  • TotMax (Standard_Address) –
Return type:

float

Value()
  • Computes the point of parameter U on the curve.
Parameters:U (float) –
Return type:gp_Pnt2d
Value3D()
  • Computes the 3D point of parameter U on the curve.
Parameters:U (float) –
Return type:gp_Pnt
Z()
  • Computes the Z coordinate of the point of parameter U on the curve in the viewing coordinate system
Parameters:U (float) –
Return type:float
thisown

The membership flag

class HLRBRep_CurveTool

Bases: object

static BSpline(*args)
Parameters:C (Standard_Address) –
Return type:Handle_Geom2d_BSplineCurve
static Bezier(*args)
Parameters:C (Standard_Address) –
Return type:Handle_Geom2d_BezierCurve
static Circle(*args)
Parameters:C (Standard_Address) –
Return type:gp_Circ2d
static Continuity(*args)
Parameters:C (Standard_Address) –
Return type:GeomAbs_Shape
static D0(*args)
  • Computes the point of parameter U on the curve.
Parameters:
Return type:

void

static D1(*args)
  • Computes the point of parameter U on the curve with its first derivative. Raised if the continuity of the current interval is not C1.
Parameters:
Return type:

void

static D2(*args)
  • Returns the point P of parameter U, the first and second derivatives V1 and V2. Raised if the continuity of the current interval is not C2.
Parameters:
Return type:

void

static D3(*args)
  • Returns the point P of parameter U, the first, the second and the third derivative. Raised if the continuity of the current interval is not C3.
Parameters:
Return type:

void

static DN(*args)
  • The returned vector gives the value of the derivative for the order of derivation N. Raised if the continuity of the current interval is not CN. Raised if N < 1.
Parameters:
  • C (Standard_Address) –
  • U (float) –
  • N (int) –
Return type:

gp_Vec2d

static Degree(*args)
Parameters:C (Standard_Address) –
Return type:int
static Ellipse(*args)
Parameters:C (Standard_Address) –
Return type:gp_Elips2d
static EpsX(*args)
Parameters:C (Standard_Address) –
Return type:float
static FirstParameter(*args)
Parameters:C (Standard_Address) –
Return type:float
static GetInterval(*args)
  • output the bounds of interval of index <Index> used if Type == Composite.
Parameters:
  • C (Standard_Address) –
  • Index (int) –
  • Tab (TColStd_Array1OfReal &) –
  • U1 (float &) –
  • U2 (float &) –
Return type:

void

static GetType(*args)
  • Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
Parameters:C (Standard_Address) –
Return type:GeomAbs_CurveType
static Hyperbola(*args)
Parameters:C (Standard_Address) –
Return type:gp_Hypr2d
static Intervals(*args)
  • Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()
Parameters:
  • C (Standard_Address) –
  • T (TColStd_Array1OfReal &) –
Return type:

void

static IsClosed(*args)
Parameters:C (Standard_Address) –
Return type:bool
static IsPeriodic(*args)
Parameters:C (Standard_Address) –
Return type:bool
static LastParameter(*args)
Parameters:C (Standard_Address) –
Return type:float
static Line(*args)
Parameters:C (Standard_Address) –
Return type:gp_Lin2d
static NbIntervals(*args)
  • Returns the number of intervals for continuity <S>. May be one if Continuity(myclass) >= <S>
Parameters:C (Standard_Address) –
Return type:int
static NbSamples(*args)
Parameters:
  • C (Standard_Address) –
  • U0 (float) –
  • U1 (float) –
  • C
Return type:

int

Return type:

int

static Parabola(*args)
Parameters:C (Standard_Address) –
Return type:gp_Parab2d
static Period(*args)
Parameters:C (Standard_Address) –
Return type:float
static Resolution(*args)
  • Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters:
  • C (Standard_Address) –
  • R3d (float) –
Return type:

float

static TheType(*args)
  • Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
Parameters:C (Standard_Address) –
Return type:GeomAbs_CurveType
static Value(*args)
  • Computes the point of parameter U on the curve.
Parameters:
  • C (Standard_Address) –
  • U (float) –
Return type:

gp_Pnt2d

thisown

The membership flag

HLRBRep_CurveTool_BSpline(*args)
Parameters:C (Standard_Address) –
Return type:Handle_Geom2d_BSplineCurve
HLRBRep_CurveTool_Bezier(*args)
Parameters:C (Standard_Address) –
Return type:Handle_Geom2d_BezierCurve
HLRBRep_CurveTool_Circle(*args)
Parameters:C (Standard_Address) –
Return type:gp_Circ2d
HLRBRep_CurveTool_Continuity(*args)
Parameters:C (Standard_Address) –
Return type:GeomAbs_Shape
HLRBRep_CurveTool_D0(*args)
  • Computes the point of parameter U on the curve.
Parameters:
Return type:

void

HLRBRep_CurveTool_D1(*args)
  • Computes the point of parameter U on the curve with its first derivative. Raised if the continuity of the current interval is not C1.
Parameters:
Return type:

void

HLRBRep_CurveTool_D2(*args)
  • Returns the point P of parameter U, the first and second derivatives V1 and V2. Raised if the continuity of the current interval is not C2.
Parameters:
Return type:

void

HLRBRep_CurveTool_D3(*args)
  • Returns the point P of parameter U, the first, the second and the third derivative. Raised if the continuity of the current interval is not C3.
Parameters:
Return type:

void

HLRBRep_CurveTool_DN(*args)
  • The returned vector gives the value of the derivative for the order of derivation N. Raised if the continuity of the current interval is not CN. Raised if N < 1.
Parameters:
  • C (Standard_Address) –
  • U (float) –
  • N (int) –
Return type:

gp_Vec2d

HLRBRep_CurveTool_Degree(*args)
Parameters:C (Standard_Address) –
Return type:int
HLRBRep_CurveTool_Ellipse(*args)
Parameters:C (Standard_Address) –
Return type:gp_Elips2d
HLRBRep_CurveTool_EpsX(*args)
Parameters:C (Standard_Address) –
Return type:float
HLRBRep_CurveTool_FirstParameter(*args)
Parameters:C (Standard_Address) –
Return type:float
HLRBRep_CurveTool_GetInterval(*args)
  • output the bounds of interval of index <Index> used if Type == Composite.
Parameters:
  • C (Standard_Address) –
  • Index (int) –
  • Tab (TColStd_Array1OfReal &) –
  • U1 (float &) –
  • U2 (float &) –
Return type:

void

HLRBRep_CurveTool_GetType(*args)
  • Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
Parameters:C (Standard_Address) –
Return type:GeomAbs_CurveType
HLRBRep_CurveTool_Hyperbola(*args)
Parameters:C (Standard_Address) –
Return type:gp_Hypr2d
HLRBRep_CurveTool_Intervals(*args)
  • Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()
Parameters:
  • C (Standard_Address) –
  • T (TColStd_Array1OfReal &) –
Return type:

void

HLRBRep_CurveTool_IsClosed(*args)
Parameters:C (Standard_Address) –
Return type:bool
HLRBRep_CurveTool_IsPeriodic(*args)
Parameters:C (Standard_Address) –
Return type:bool
HLRBRep_CurveTool_LastParameter(*args)
Parameters:C (Standard_Address) –
Return type:float
HLRBRep_CurveTool_Line(*args)
Parameters:C (Standard_Address) –
Return type:gp_Lin2d
HLRBRep_CurveTool_NbIntervals(*args)
  • Returns the number of intervals for continuity <S>. May be one if Continuity(myclass) >= <S>
Parameters:C (Standard_Address) –
Return type:int
HLRBRep_CurveTool_NbSamples(*args)
Parameters:
  • C (Standard_Address) –
  • U0 (float) –
  • U1 (float) –
  • C
Return type:

int

Return type:

int

HLRBRep_CurveTool_Parabola(*args)
Parameters:C (Standard_Address) –
Return type:gp_Parab2d
HLRBRep_CurveTool_Period(*args)
Parameters:C (Standard_Address) –
Return type:float
HLRBRep_CurveTool_Resolution(*args)
  • Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters:
  • C (Standard_Address) –
  • R3d (float) –
Return type:

float

HLRBRep_CurveTool_TheType(*args)
  • Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
Parameters:C (Standard_Address) –
Return type:GeomAbs_CurveType
HLRBRep_CurveTool_Value(*args)
  • Computes the point of parameter U on the curve.
Parameters:
  • C (Standard_Address) –
  • U (float) –
Return type:

gp_Pnt2d

class HLRBRep_Data(*args)

Bases: OCC.MMgt.MMgt_TShared

  • Create an empty data structure of <NV> vertices, <NE> edges and <NF> faces.
Parameters:
Return type:

None

AboveInterference()
  • Returns True if the rejected interference is above the face.
Return type:bool
Classify()
  • Classification of an edge.
Parameters:
  • E (int) –
  • EData (HLRBRep_EdgeData &) –
  • LevelFlag (bool) –
  • Level (int &) –
  • param (float) –
Return type:

TopAbs_State

Compare()
  • Returns the state of the Edge <EData> after classification.
Parameters:
  • E (int) –
  • EData (HLRBRep_EdgeData &) –
Return type:

TopAbs_State

Destroy()
Return type:None
EDataArray()
Return type:HLRBRep_Array1OfEData
Edge()
  • Returns the current Edge
Return type:int
EdgeMap()
Return type:TopTools_IndexedMapOfShape
EdgeOfTheHidingFace()
  • Returns the true if the Edge <EData> belongs to the Hiding Face.
Parameters:
  • E (int) –
  • EData (HLRBRep_EdgeData &) –
Return type:

bool

EdgeState()
  • Returns the local 3D state of the intersection between the current edge and the current face at the <p1> and <p2> parameters.
Parameters:
  • p1 (float) –
  • p2 (float) –
  • stbef (TopAbs_State &) –
  • staf (TopAbs_State &) –
Return type:

None

FDataArray()
Return type:HLRBRep_Array1OfFData
FaceMap()
Return type:TopTools_IndexedMapOfShape
GetHandle()
HidingStartLevel()
  • Returns the number of levels of hiding face above the first point of the edge <EData>. The InterferenceList is given to compute far away of the Interferences and then come back.
Parameters:
  • E (int) –
  • EData (HLRBRep_EdgeData &) –
  • IL (HLRAlgo_InterferenceList &) –
Return type:

int

HidingTheFace()
  • Returns true if the current edge to be hidden belongs to the hiding face.
Return type:bool
InitBoundSort()
  • to compare with only non rejected edges.
Parameters:
  • MinMaxTot (Standard_Address) –
  • e1 (int) –
  • e2 (int) –
Return type:

None

InitEdge()
  • Begin an iteration only on visible Edges crossing the face number <FI>.
Parameters:
  • FI (int) –
  • MST (BRepTopAdaptor_MapOfShapeTool &) –
Return type:

None

InitInterference()
  • Intersect the current Edge with the boundary of the hiding face. The interferences are given by the More, Next, and Value methods.
Return type:None
Interference()
Return type:HLRAlgo_Interference
LocalFEGeometry2D()
  • Returns the local description of the projection of the current FEdge at parameter <Param>.
Parameters:
Return type:

None

LocalLEGeometry2D()
  • Returns the local description of the projection of the current LEdge at parameter <Param>.
Parameters:
Return type:

None

MoreEdge()
Return type:bool
MoreInterference()
Return type:bool
NbEdges()
Return type:int
NbFaces()
Return type:int
NbVertices()
Return type:int
NextEdge()
Parameters:skip (bool) – default value is Standard_True
Return type:None
NextInterference()
Return type:None
Projector()
Return type:HLRAlgo_Projector
RejectedInterference()
  • Returns True if the interference is rejected.
Return type:bool
SimplClassify()
  • Simple classification of part of edge [p1, p2] returns OUT if at least 1 of Nbp points of edge is out othewise returns IN It is used to check ‘suspision’ hided part of edge.
Parameters:
  • E (int) –
  • EData (HLRBRep_EdgeData &) –
  • Nbp (int) –
  • p1 (float) –
  • p2 (float) –
Return type:

TopAbs_State

SimpleHidingFace()
  • Returns true if the current hiding face is not an auto-intersected one.
Return type:bool
Tolerance()
  • Set the tolerance for the rejections during the exploration
Parameters:tol (Standard_ShortReal) –
Return type:None
  • returns the tolerance for the rejections during the exploration
Return type:Standard_ShortReal
Update()
  • end of building of the Data and updating all the informations linked to the projection.
Parameters:P (HLRAlgo_Projector &) –
Return type:None
Write()
  • Write <DS> in me with a translation of <dv>,<de>,<df>.
Parameters:
  • DS (Handle_HLRBRep_Data &) –
  • dv (int) –
  • de (int) –
  • df (int) –
Return type:

None

thisown

The membership flag

class HLRBRep_EdgeBuilder(*args)

Bases: object

  • Creates an EdgeBuilder algorithm. <VList> describes the edge and the interferences. AreaLimits are created from the vertices. Builds(IN) is automatically called.
Parameters:VList (HLRBRep_VertexList &) –
Return type:None
AreaEdgeState()
  • Returns the edge state of the current area.
Return type:TopAbs_State
AreaState()
  • Returns the state of the current area.
Return type:TopAbs_State
Builds()
  • Reinitialize the results iteration to the parts with State <ToBuild>. If this method is not called after construction the default is <ToBuild> = IN.
Parameters:ToBuild (TopAbs_State) –
Return type:None
Current()
  • Returns the current vertex of the current edge.
Return type:HLRAlgo_Intersection
Destroy()
Return type:None
HasArea()
  • Returns True if there is a current area.
Return type:bool
InitAreas()
  • Initialize an iteration on the areas.
Return type:None
IsBoundary()
  • Returns True if the current vertex comes from the boundary of the edge.
Return type:bool
IsInterference()
  • Returns True if the current vertex was an interference.
Return type:bool
LeftLimit()
  • Returns the AreaLimit beginning the current area. This is a NULL handle when the area is infinite on the left.
Return type:Handle_HLRBRep_AreaLimit
MoreEdges()
  • Returns True if there are more new edges to build.
Return type:bool
MoreVertices()
  • True if there are more vertices in the current new edge.
Return type:bool
NextArea()
  • Set the current area to the next area.
Return type:None
NextEdge()
  • Proceeds to the next edge to build. Skip all remaining vertices on the current edge.
Return type:None
NextVertex()
  • Proceeds to the next vertex of the current edge.
Return type:None
Orientation()
  • Returns the new orientation of the current vertex.
Return type:TopAbs_Orientation
PreviousArea()
  • Set the current area to the previous area.
Return type:None
RightLimit()
  • Returns the AreaLimit ending the current area. This is a NULL handle when the area is infinite on the right.
Return type:Handle_HLRBRep_AreaLimit
thisown

The membership flag

class HLRBRep_EdgeData(*args)

Bases: object

Return type:None
AutoIntersectionDone()
Return type:bool
Parameters:B (bool) –
Return type:None
ChangeGeometry()
Return type:HLRBRep_Curve
Curve()
Return type:Standard_Address
CutAtEnd()
Return type:bool
Parameters:B (bool) –
Return type:None
CutAtSta()
Return type:bool
Parameters:B (bool) –
Return type:None
Geometry()
Return type:HLRBRep_Curve
HideCount()
Return type:int
Parameters:I (int) –
Return type:None
MinMax()
Return type:Standard_Address
OutLVEnd()
Return type:bool
Parameters:B (bool) –
Return type:None
OutLVSta()
Return type:bool
Parameters:B (bool) –
Return type:None
Rg1Line()
Return type:bool
Parameters:B (bool) –
Return type:None
RgNLine()
Return type:bool
Parameters:B (bool) –
Return type:None
Selected()
Return type:bool
Parameters:B (bool) –
Return type:None
Set()
Parameters:
  • Reg1 (bool) –
  • RegN (bool) –
  • EG (TopoDS_Edge &) –
  • V1 (int) –
  • V2 (int) –
  • Out1 (bool) –
  • Out2 (bool) –
  • Cut1 (bool) –
  • Cut2 (bool) –
  • Start (float) –
  • TolStart (Standard_ShortReal) –
  • End (float) –
  • TolEnd (Standard_ShortReal) –
Return type:

None

Simple()
Return type:bool
Parameters:B (bool) –
Return type:None
Status()
Return type:HLRAlgo_EdgeStatus
Tolerance()
Return type:Standard_ShortReal
UpdateMinMax()
Parameters:TotMinMax (Standard_Address) –
Return type:None
Used()
Return type:bool
Parameters:B (bool) –
Return type:None
VEnd()
Return type:int
Parameters:I (int) –
Return type:None
VSta()
Return type:int
Parameters:I (int) –
Return type:None
VerAtEnd()
Return type:bool
Parameters:B (bool) –
Return type:None
VerAtSta()
Return type:bool
Parameters:B (bool) –
Return type:None
Vertical()
Return type:bool
Parameters:B (bool) –
Return type:None
thisown

The membership flag

class HLRBRep_EdgeFaceTool

Bases: object

static CurvatureValue(*args)
Parameters:
Return type:

float

static UVPoint(*args)
  • return True if U and V are found.
Parameters:
  • Par (float) –
  • E (Standard_Address) –
  • F (Standard_Address) –
  • U (float &) –
  • V (float &) –
Return type:

bool

thisown

The membership flag

HLRBRep_EdgeFaceTool_CurvatureValue(*args)
Parameters:
Return type:

float

HLRBRep_EdgeFaceTool_UVPoint(*args)
  • return True if U and V are found.
Parameters:
  • Par (float) –
  • E (Standard_Address) –
  • F (Standard_Address) –
  • U (float &) –
  • V (float &) –
Return type:

bool

class HLRBRep_EdgeIList

Bases: object

static AddInterference(*args)
  • Add the interference <I> to the list <IL>.
Parameters:
  • IL (HLRAlgo_InterferenceList &) –
  • I (HLRAlgo_Interference &) –
  • T (HLRBRep_EdgeInterferenceTool &) –
Return type:

void

static ProcessComplex(*args)
  • Process complex transitions on the list IL.
Parameters:
  • IL (HLRAlgo_InterferenceList &) –
  • T (HLRBRep_EdgeInterferenceTool &) –
Return type:

void

thisown

The membership flag

HLRBRep_EdgeIList_AddInterference(*args)
  • Add the interference <I> to the list <IL>.
Parameters:
  • IL (HLRAlgo_InterferenceList &) –
  • I (HLRAlgo_Interference &) –
  • T (HLRBRep_EdgeInterferenceTool &) –
Return type:

void

HLRBRep_EdgeIList_ProcessComplex(*args)
  • Process complex transitions on the list IL.
Parameters:
  • IL (HLRAlgo_InterferenceList &) –
  • T (HLRBRep_EdgeInterferenceTool &) –
Return type:

void

class HLRBRep_EdgeInterferenceTool(*args)

Bases: object

Parameters:DS (Handle_HLRBRep_Data &) –
Return type:None
CurrentOrientation()
Return type:TopAbs_Orientation
CurrentParameter()
Return type:float
CurrentVertex()
Return type:HLRAlgo_Intersection
EdgeGeometry()
  • Returns local geometric description of the Edge at parameter <Para>. See method Reset of class EdgeFaceTransition from TopCnx for other arguments.
Parameters:
Return type:

None

InitVertices()
Return type:None
InterferenceBoundaryGeometry()
  • Returns the geometry of the boundary at the interference <I>. See the AddInterference method of the class EdgeFaceTransition from TopCnx for the other arguments.
Parameters:
  • I (HLRAlgo_Interference &) –
  • Tang (gp_Dir) –
  • Norm (gp_Dir) –
  • Curv (float &) –
Return type:

None

IsPeriodic()
Return type:bool
LoadEdge()
Return type:None
MoreVertices()
Return type:bool
NextVertex()
Return type:None
ParameterOfInterference()
Parameters:I (HLRAlgo_Interference &) –
Return type:float
SameInterferences()
  • True if the two interferences are on the same geometric locus.
Parameters:
  • I1 (HLRAlgo_Interference &) –
  • I2 (HLRAlgo_Interference &) –
Return type:

bool

SameVertexAndInterference()
  • True if the Interference and the current Vertex are on the same geometric locus.
Parameters:I (HLRAlgo_Interference &) –
Return type:bool
thisown

The membership flag

class HLRBRep_ExactIntersectionPointOfTheIntPCurvePCurveOfCInter(*args)

Bases: object

Parameters:
  • C1 (Standard_Address &) –
  • C2 (Standard_Address &) –
  • Tol (float) –
Return type:

None

AnErrorOccurred()
Return type:bool
NbRoots()
Return type:int
Perform()
Parameters:
  • Poly1 (HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter &) –
  • Poly2 (HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter &) –
  • NumSegOn1 (int &) –
  • NumSegOn2 (int &) –
  • ParamOnSeg1 (float &) –
  • ParamOnSeg2 (float &) –
  • Uo (float) –
  • Vo (float) –
  • UInf (float) –
  • VInf (float) –
  • USup (float) –
  • VSup (float) –
Return type:

None

Return type:

None

Roots()
Parameters:
  • U (float &) –
  • V (float &) –
Return type:

None

thisown

The membership flag

class HLRBRep_FaceData(*args)

Bases: object

Return type:None
Back()
Return type:bool
Parameters:B (bool) –
Return type:None
Closed()
Return type:bool
Parameters:B (bool) –
Return type:None
Cone()
Return type:bool
Parameters:B (bool) –
Return type:None
Cut()
Return type:bool
Parameters:B (bool) –
Return type:None
Cylinder()
Return type:bool
Parameters:B (bool) –
Return type:None
Geometry()
Return type:HLRBRep_Surface
Hiding()
Return type:bool
Parameters:B (bool) –
Return type:None
Orientation()
Return type:TopAbs_Orientation
Parameters:O (TopAbs_Orientation) –
Return type:None
Plane()
Return type:bool
Parameters:B (bool) –
Return type:None
Selected()
Return type:bool
Parameters:B (bool) –
Return type:None
Set()
  • <Or> is the orientation of the face. <Cl> is true if the face belongs to a closed volume. <NW> is the number of wires ( or block of edges ) of the face.
Parameters:
  • FG (TopoDS_Face &) –
  • Or (TopAbs_Orientation) –
  • Cl (bool) –
  • NW (int) –
Return type:

None

SetWEdge()
  • Set the edge number <EWI> of the wire <WI>.
Parameters:
  • WI (int) –
  • EWI (int) –
  • EI (int) –
  • Or (TopAbs_Orientation) –
  • OutL (bool) –
  • Inte (bool) –
  • Dble (bool) –
  • IsoL (bool) –
Return type:

None

SetWire()
  • Set <NE> the number of edges of the wire number <WI>.
Parameters:
Return type:

None

Side()
Return type:bool
Parameters:B (bool) –
Return type:None
Simple()
Return type:bool
Parameters:B (bool) –
Return type:None
Size()
Return type:float
Parameters:S (float) –
Return type:None
Sphere()
Return type:bool
Parameters:B (bool) –
Return type:None
Tolerance()
Return type:Standard_ShortReal
Torus()
Return type:bool
Parameters:B (bool) –
Return type:None
Wires()
Return type:Handle_HLRAlgo_WiresBlock
WithOutL()
Return type:bool
Parameters:B (bool) –
Return type:None
thisown

The membership flag

class HLRBRep_FaceIterator(*args)

Bases: object

Return type:None
BeginningOfWire()
  • Returns True if the current edge is the first of a wire.
Return type:bool
Double()
Return type:bool
Edge()
Return type:int
EndOfWire()
  • Returns True if the current edge is the last of a wire.
Return type:bool
InitEdge()
  • Begin an exploration of the edges of the face <fd>
Parameters:fd (HLRBRep_FaceData &) –
Return type:None
Internal()
Return type:bool
IsoLine()
Return type:bool
MoreEdge()
Return type:bool
NextEdge()
Return type:None
Orientation()
Return type:TopAbs_Orientation
OutLine()
Return type:bool
SkipWire()
  • Skip the current wire in the exploration.
Return type:None
Wire()
  • Returns the edges of the current wire.
Return type:Handle_HLRAlgo_EdgesBlock
thisown

The membership flag

class HLRBRep_HLRToShape(*args)

Bases: object

  • Constructs a framework for filtering the results of the HLRBRep_Algo algorithm, A. Use the extraction filters to obtain the results you want for A.
Parameters:A (Handle_HLRBRep_Algo &) –
Return type:None
HCompound()
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
IsoLineHCompound()
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
IsoLineVCompound()
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
OutLineHCompound()
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
OutLineVCompound()
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
OutLineVCompound3d()
Return type:TopoDS_Shape
Rg1LineHCompound()
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
Rg1LineVCompound()
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
RgNLineHCompound()
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
RgNLineVCompound()
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
VCompound()
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
thisown

The membership flag

class HLRBRep_Hider(*args)

Bases: object

  • Creates a Hider processing the set of Edges and hiding faces described by <DS>. Stores the hidden parts in <DS>.
Parameters:DS (Handle_HLRBRep_Data &) –
Return type:None
Hide()
  • Removes from the edges, the parts hidden by the hiding face number <FI>.
Parameters:
  • FI (int) –
  • MST (BRepTopAdaptor_MapOfShapeTool &) –
Return type:

None

OwnHiding()
  • own hiding the side face number <FI>.
Parameters:FI (int) –
Return type:None
thisown

The membership flag

class HLRBRep_IntConicCurveOfCInter(*args)

Bases: OCC.IntRes2d.IntRes2d_Intersection

Return type:

None

Parameters:
  • L (gp_Lin2d) –
  • D1 (IntRes2d_Domain &) –
  • PCurve (Standard_Address &) –
  • D2 (IntRes2d_Domain &) –
  • TolConf (float) –
  • Tol (float) –
  • C (gp_Circ2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
  • E (gp_Elips2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
  • Prb (gp_Parab2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
  • H (gp_Hypr2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Perform()
Parameters:
  • L (gp_Lin2d) –
  • D1 (IntRes2d_Domain &) –
  • PCurve (Standard_Address &) –
  • D2 (IntRes2d_Domain &) –
  • TolConf (float) –
  • Tol (float) –
  • C (gp_Circ2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
  • E (gp_Elips2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
  • Prb (gp_Parab2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
  • H (gp_Hypr2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

thisown

The membership flag

class HLRBRep_InterCSurf(*args)

Bases: OCC.IntCurveSurface.IntCurveSurface_Intersection

Return type:None
Perform()
Parameters:
  • Curve (gp_Lin) –
  • Surface (Standard_Address &) –
  • Curve
  • Polygon (HLRBRep_ThePolygonOfInterCSurf &) –
  • Surface
  • Curve
  • ThePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
  • Surface
  • Polyhedron (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • Curve
  • ThePolygon
  • Surface
  • Polyhedron
  • BndBSB (Bnd_BoundSortBox &) –
  • Curve
  • Surface
  • Polyhedron
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

thisown

The membership flag

class HLRBRep_InternalAlgo(*args)

Bases: OCC.MMgt.MMgt_TShared

Return type:None
Parameters:A (Handle_HLRBRep_InternalAlgo &) –
Return type:None
DataStructure()
Return type:Handle_HLRBRep_Data
Debug()
Parameters:deb (bool) –
Return type:None
Return type:bool
GetHandle()
Hide()
  • hide all the DataStructure.
Return type:None
  • hide the Shape <S> by itself.
Parameters:I (int) –
Return type:None
  • hide the Shape <S1> by the shape <S2>.
Parameters:
Return type:

None

HideAll()
  • set to hide all the edges.
Return type:None
  • set to hide all the edges of the Shape <S>.
Parameters:I (int) –
Return type:None
Index()
  • return the index of the Shape <S> and return 0 if the Shape <S> is not found.
Parameters:S (Handle_HLRTopoBRep_OutLiner &) –
Return type:int
InitEdgeStatus()
  • init the status of the selected edges depending of the back faces of a closed shell.
Return type:None
Load()
  • add the shape <S>.
Parameters:
  • S (Handle_HLRTopoBRep_OutLiner &) –
  • SData (Handle_MMgt_TShared &) –
  • nbIso (int) – default value is 0
Return type:

None

  • add the shape <S>.
Parameters:
  • S (Handle_HLRTopoBRep_OutLiner &) –
  • nbIso (int) – default value is 0
Return type:

None

NbShapes()
Return type:int
PartialHide()
  • own hiding of all the shapes of the DataStructure without hiding by each other.
Return type:None
Projector()
  • set the projector.
Parameters:P (HLRAlgo_Projector &) –
Return type:None
  • set the projector.
Return type:HLRAlgo_Projector
Remove()
  • remove the Shape of Index <I>.
Parameters:I (int) –
Return type:None
Select()
  • select all the DataStructure.
Return type:None
  • select only the Shape of index <I>.
Parameters:I (int) –
Return type:None
SelectEdge()
  • select only the edges of the Shape <S>.
Parameters:I (int) –
Return type:None
SelectFace()
  • select only the faces of the Shape <S>.
Parameters:I (int) –
Return type:None
SeqOfShapeBounds()
Return type:HLRBRep_SeqOfShapeBounds
ShapeBounds()
Parameters:I (int) –
Return type:HLRBRep_ShapeBounds
ShapeData()
  • Change the Shape Data of the Shape of index <I>.
Parameters:
  • I (int) –
  • SData (Handle_MMgt_TShared &) –
Return type:

None

ShowAll()
  • set to visible all the edges.
Return type:None
  • set to visible all the edges of the Shape <S>.
Parameters:I (int) –
Return type:None
Update()
  • update the DataStructure.
Return type:None
thisown

The membership flag

class HLRBRep_Intersector(*args)

Bases: object

Return type:None
CSPoint()
Parameters:N (int) –
Return type:IntCurveSurface_IntersectionPoint
CSSegment()
Parameters:N (int) –
Return type:IntCurveSurface_IntersectionSegment
Destroy()
Return type:None
IsDone()
Return type:bool
Load()
Parameters:A (Standard_Address &) –
Return type:None
NbPoints()
Return type:int
NbSegments()
Return type:int
Perform()
  • Performs the auto intersection of an edge. The edge domain is cutted at start with da1*(b-a) and at end with db1*(b-a).
Parameters:
  • A1 (Standard_Address) –
  • da1 (float) –
  • db1 (float) –
Return type:

None

  • Performs the intersection between the two edges. The edges domains are cutted at start with da*(b-a) and at end with db*(b-a).
Parameters:
Return type:

None

Return type:

None

Point()
Parameters:N (int) –
Return type:IntRes2d_IntersectionPoint
Segment()
Parameters:N (int) –
Return type:IntRes2d_IntersectionSegment
SimulateOnePoint()
  • Create a single IntersectionPoint (U on A1) (V on A2) The point is middle on both curves.
Parameters:
  • A1 (Standard_Address) –
  • U (float) –
  • A2 (Standard_Address) –
  • V (float) –
Return type:

None

thisown

The membership flag

class HLRBRep_LineTool

Bases: object

static BSpline(*args)
Parameters:C (gp_Lin) –
Return type:Handle_Geom_BSplineCurve
static Bezier(*args)
Parameters:C (gp_Lin) –
Return type:Handle_Geom_BezierCurve
static Circle(*args)
Parameters:C (gp_Lin) –
Return type:gp_Circ
static Continuity(*args)
Parameters:C (gp_Lin) –
Return type:GeomAbs_Shape
static D0(*args)
  • Computes the point of parameter U on the line.
Parameters:
Return type:

void

static D1(*args)
  • Computes the point of parameter U on the line with its first derivative. Raised if the continuity of the current interval is not C1.
Parameters:
Return type:

void

static D2(*args)
  • Returns the point P of parameter U, the first and second derivatives V1 and V2. Raised if the continuity of the current interval is not C2.
Parameters:
Return type:

void

static D3(*args)
  • Returns the point P of parameter U, the first, the second and the third derivative. Raised if the continuity of the current interval is not C3.
Parameters:
Return type:

void

static DN(*args)
  • The returned vector gives the value of the derivative for the order of derivation N. Raised if the continuity of the current interval is not CN. Raised if N < 1.
Parameters:
Return type:

gp_Vec

static Degree(*args)
Parameters:C (gp_Lin) –
Return type:int
static Ellipse(*args)
Parameters:C (gp_Lin) –
Return type:gp_Elips
static FirstParameter(*args)
Parameters:C (gp_Lin) –
Return type:float
static GetType(*args)
  • Returns the type of the line in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
Parameters:C (gp_Lin) –
Return type:GeomAbs_CurveType
static Hyperbola(*args)
Parameters:C (gp_Lin) –
Return type:gp_Hypr
static IntervalContinuity(*args)
Parameters:C (gp_Lin) –
Return type:GeomAbs_Shape
static IntervalFirst(*args)
  • Returns the first parameter of the current interval.
Parameters:C (gp_Lin) –
Return type:float
static IntervalLast(*args)
  • Returns the last parameter of the current interval.
Parameters:C (gp_Lin) –
Return type:float
static Intervals(*args)
  • Sets the current working interval.
Parameters:
  • C (gp_Lin) –
  • T (TColStd_Array1OfReal &) –
  • Sh (GeomAbs_Shape) –
Return type:

void

static IsClosed(*args)
Parameters:C (gp_Lin) –
Return type:bool
static IsPeriodic(*args)
Parameters:C (gp_Lin) –
Return type:bool
static IsRational(*args)
Parameters:C (gp_Lin) –
Return type:bool
static KnotsAndMultiplicities(*args)
Parameters:
  • C (gp_Lin) –
  • TK (TColStd_Array1OfReal &) –
  • TM (TColStd_Array1OfInteger &) –
Return type:

void

static LastParameter(*args)
Parameters:C (gp_Lin) –
Return type:float
static Line(*args)
Parameters:C (gp_Lin) –
Return type:gp_Lin
static NbIntervals(*args)
  • If necessary, breaks the line in intervals of continuity <S>. And returns the number of intervals.
Parameters:
  • C (gp_Lin) –
  • S (GeomAbs_Shape) –
Return type:

int

static NbKnots(*args)
Parameters:C (gp_Lin) –
Return type:int
static NbPoles(*args)
Parameters:C (gp_Lin) –
Return type:int
static NbSamples(*args)
Parameters:
Return type:

int

static Parabola(*args)
Parameters:C (gp_Lin) –
Return type:gp_Parab
static Period(*args)
Parameters:C (gp_Lin) –
Return type:float
static Poles(*args)
Parameters:
Return type:

void

static PolesAndWeights(*args)
Parameters:
Return type:

void

static Resolution(*args)
  • Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters:
Return type:

float

static SamplePars(*args)
Parameters:
  • C (gp_Lin) –
  • U0 (float) –
  • U1 (float) –
  • Defl (float) –
  • NbMin (int) –
  • Pars (Handle_TColStd_HArray1OfReal &) –
Return type:

void

static Value(*args)
  • Computes the point of parameter U on the line.
Parameters:
Return type:

gp_Pnt

thisown

The membership flag

HLRBRep_LineTool_BSpline(*args)
Parameters:C (gp_Lin) –
Return type:Handle_Geom_BSplineCurve
HLRBRep_LineTool_Bezier(*args)
Parameters:C (gp_Lin) –
Return type:Handle_Geom_BezierCurve
HLRBRep_LineTool_Circle(*args)
Parameters:C (gp_Lin) –
Return type:gp_Circ
HLRBRep_LineTool_Continuity(*args)
Parameters:C (gp_Lin) –
Return type:GeomAbs_Shape
HLRBRep_LineTool_D0(*args)
  • Computes the point of parameter U on the line.
Parameters:
Return type:

void

HLRBRep_LineTool_D1(*args)
  • Computes the point of parameter U on the line with its first derivative. Raised if the continuity of the current interval is not C1.
Parameters:
Return type:

void

HLRBRep_LineTool_D2(*args)
  • Returns the point P of parameter U, the first and second derivatives V1 and V2. Raised if the continuity of the current interval is not C2.
Parameters:
Return type:

void

HLRBRep_LineTool_D3(*args)
  • Returns the point P of parameter U, the first, the second and the third derivative. Raised if the continuity of the current interval is not C3.
Parameters:
Return type:

void

HLRBRep_LineTool_DN(*args)
  • The returned vector gives the value of the derivative for the order of derivation N. Raised if the continuity of the current interval is not CN. Raised if N < 1.
Parameters:
Return type:

gp_Vec

HLRBRep_LineTool_Degree(*args)
Parameters:C (gp_Lin) –
Return type:int
HLRBRep_LineTool_Ellipse(*args)
Parameters:C (gp_Lin) –
Return type:gp_Elips
HLRBRep_LineTool_FirstParameter(*args)
Parameters:C (gp_Lin) –
Return type:float
HLRBRep_LineTool_GetType(*args)
  • Returns the type of the line in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
Parameters:C (gp_Lin) –
Return type:GeomAbs_CurveType
HLRBRep_LineTool_Hyperbola(*args)
Parameters:C (gp_Lin) –
Return type:gp_Hypr
HLRBRep_LineTool_IntervalContinuity(*args)
Parameters:C (gp_Lin) –
Return type:GeomAbs_Shape
HLRBRep_LineTool_IntervalFirst(*args)
  • Returns the first parameter of the current interval.
Parameters:C (gp_Lin) –
Return type:float
HLRBRep_LineTool_IntervalLast(*args)
  • Returns the last parameter of the current interval.
Parameters:C (gp_Lin) –
Return type:float
HLRBRep_LineTool_Intervals(*args)
  • Sets the current working interval.
Parameters:
  • C (gp_Lin) –
  • T (TColStd_Array1OfReal &) –
  • Sh (GeomAbs_Shape) –
Return type:

void

HLRBRep_LineTool_IsClosed(*args)
Parameters:C (gp_Lin) –
Return type:bool
HLRBRep_LineTool_IsPeriodic(*args)
Parameters:C (gp_Lin) –
Return type:bool
HLRBRep_LineTool_IsRational(*args)
Parameters:C (gp_Lin) –
Return type:bool
HLRBRep_LineTool_KnotsAndMultiplicities(*args)
Parameters:
  • C (gp_Lin) –
  • TK (TColStd_Array1OfReal &) –
  • TM (TColStd_Array1OfInteger &) –
Return type:

void

HLRBRep_LineTool_LastParameter(*args)
Parameters:C (gp_Lin) –
Return type:float
HLRBRep_LineTool_Line(*args)
Parameters:C (gp_Lin) –
Return type:gp_Lin
HLRBRep_LineTool_NbIntervals(*args)
  • If necessary, breaks the line in intervals of continuity <S>. And returns the number of intervals.
Parameters:
  • C (gp_Lin) –
  • S (GeomAbs_Shape) –
Return type:

int

HLRBRep_LineTool_NbKnots(*args)
Parameters:C (gp_Lin) –
Return type:int
HLRBRep_LineTool_NbPoles(*args)
Parameters:C (gp_Lin) –
Return type:int
HLRBRep_LineTool_NbSamples(*args)
Parameters:
Return type:

int

HLRBRep_LineTool_Parabola(*args)
Parameters:C (gp_Lin) –
Return type:gp_Parab
HLRBRep_LineTool_Period(*args)
Parameters:C (gp_Lin) –
Return type:float
HLRBRep_LineTool_Poles(*args)
Parameters:
Return type:

void

HLRBRep_LineTool_PolesAndWeights(*args)
Parameters:
Return type:

void

HLRBRep_LineTool_Resolution(*args)
  • Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters:
Return type:

float

HLRBRep_LineTool_SamplePars(*args)
Parameters:
  • C (gp_Lin) –
  • U0 (float) –
  • U1 (float) –
  • Defl (float) –
  • NbMin (int) –
  • Pars (Handle_TColStd_HArray1OfReal &) –
Return type:

void

HLRBRep_LineTool_Value(*args)
  • Computes the point of parameter U on the line.
Parameters:
Return type:

gp_Pnt

class HLRBRep_ListIteratorOfListOfBPnt2D(*args)

Bases: object

Return type:None
Parameters:L (HLRBRep_ListOfBPnt2D &) –
Return type:None
Initialize()
Parameters:L (HLRBRep_ListOfBPnt2D &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:HLRBRep_BiPnt2D
thisown

The membership flag

class HLRBRep_ListIteratorOfListOfBPoint(*args)

Bases: object

Return type:None
Parameters:L (HLRBRep_ListOfBPoint &) –
Return type:None
Initialize()
Parameters:L (HLRBRep_ListOfBPoint &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:HLRBRep_BiPoint
thisown

The membership flag

class HLRBRep_ListNodeOfListOfBPnt2D(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • I (HLRBRep_BiPnt2D &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:HLRBRep_BiPnt2D
thisown

The membership flag

class HLRBRep_ListNodeOfListOfBPoint(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • I (HLRBRep_BiPoint &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:HLRBRep_BiPoint
thisown

The membership flag

class HLRBRep_ListOfBPnt2D(*args)

Bases: object

Return type:None
Parameters:Other (HLRBRep_ListOfBPnt2D &) –
Return type:None
Append()
Parameters:
  • I (HLRBRep_BiPnt2D &) –
  • I
  • theIt (HLRBRep_ListIteratorOfListOfBPnt2D &) –
  • Other (HLRBRep_ListOfBPnt2D &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (HLRBRep_ListOfBPnt2D &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:HLRBRep_BiPnt2D
InsertAfter()
Parameters:
  • I (HLRBRep_BiPnt2D &) –
  • It (HLRBRep_ListIteratorOfListOfBPnt2D &) –
  • Other (HLRBRep_ListOfBPnt2D &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (HLRBRep_BiPnt2D &) –
  • It (HLRBRep_ListIteratorOfListOfBPnt2D &) –
  • Other (HLRBRep_ListOfBPnt2D &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:HLRBRep_BiPnt2D
Prepend()
Parameters:
  • I (HLRBRep_BiPnt2D &) –
  • I
  • theIt (HLRBRep_ListIteratorOfListOfBPnt2D &) –
  • Other (HLRBRep_ListOfBPnt2D &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (HLRBRep_ListIteratorOfListOfBPnt2D &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (HLRBRep_ListOfBPnt2D &) –
Return type:None
thisown

The membership flag

class HLRBRep_ListOfBPoint(*args)

Bases: object

Return type:None
Parameters:Other (HLRBRep_ListOfBPoint &) –
Return type:None
Append()
Parameters:
  • I (HLRBRep_BiPoint &) –
  • I
  • theIt (HLRBRep_ListIteratorOfListOfBPoint &) –
  • Other (HLRBRep_ListOfBPoint &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (HLRBRep_ListOfBPoint &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:HLRBRep_BiPoint
InsertAfter()
Parameters:
  • I (HLRBRep_BiPoint &) –
  • It (HLRBRep_ListIteratorOfListOfBPoint &) –
  • Other (HLRBRep_ListOfBPoint &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (HLRBRep_BiPoint &) –
  • It (HLRBRep_ListIteratorOfListOfBPoint &) –
  • Other (HLRBRep_ListOfBPoint &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:HLRBRep_BiPoint
Prepend()
Parameters:
  • I (HLRBRep_BiPoint &) –
  • I
  • theIt (HLRBRep_ListIteratorOfListOfBPoint &) –
  • Other (HLRBRep_ListOfBPoint &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (HLRBRep_ListIteratorOfListOfBPoint &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (HLRBRep_ListOfBPoint &) –
Return type:None
thisown

The membership flag

class HLRBRep_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfCInter(*args)

Bases: OCC.math.math_FunctionWithDerivative

Parameters:
  • IT (IntCurve_IConicTool &) –
  • PC (Standard_Address &) –
Return type:

None

thisown

The membership flag

class HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter(*args)

Bases: OCC.math.math_FunctionWithDerivative

Return type:

None

Parameters:
  • P (gp_Pnt2d) –
  • C (Standard_Address &) –
Return type:

None

Initialize()
Parameters:C (Standard_Address &) –
Return type:None
IsMin()
Parameters:N (int) –
Return type:bool
NbExt()
Return type:int
Point()
Parameters:N (int) –
Return type:Extrema_POnCurv2d
SearchOfTolerance()
Return type:float
SetPoint()
Parameters:P (gp_Pnt2d) –
Return type:None
SquareDistance()
Parameters:N (int) –
Return type:float
SubIntervalInitialize()
Parameters:
Return type:

None

thisown

The membership flag

class HLRBRep_PolyAlgo(*args)

Bases: OCC.MMgt.MMgt_TShared

  • Constructs an empty framework for the calculation of the visible and hidden lines of a shape in a projection. Use the functions: - Projector to define the point of view - Load to select the shape or shapes to be visualized - Update to compute the visible and hidden lines of the shape. Warning The shape or shapes to be visualized must have already been triangulated.
Return type:

None

Parameters:
  • A (Handle_HLRBRep_PolyAlgo &) –
  • S (TopoDS_Shape &) –
Return type:

None

Return type:

None

Algo()
Return type:Handle_HLRAlgo_PolyAlgo
Angle()
Return type:float
Parameters:Ang (float) –
Return type:None
Debug()
Return type:bool
Parameters:B (bool) –
Return type:None
GetHandle()
Hide()
Parameters:
  • Coordinates (Standard_Address &) –
  • status (HLRAlgo_EdgeStatus &) –
  • S (TopoDS_Shape &) –
  • reg1 (bool) –
  • regn (bool) –
  • outl (bool) –
  • intl (bool) –
Return type:

None

Index()
  • return the index of the Shape <S> and return 0 if the Shape <S> is not found.
Parameters:S (TopoDS_Shape &) –
Return type:int
InitHide()
Return type:None
InitShow()
Return type:None
Load()
  • Loads the shape S into this framework. Warning S must have already been triangulated.
Parameters:S (TopoDS_Shape &) –
Return type:None
MoreHide()
Return type:bool
MoreShow()
Return type:bool
NbShapes()
Return type:int
NextHide()
Return type:None
NextShow()
Return type:None
OutLinedShape()
  • Make a shape with the internal outlines in each face.
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
Projector()
  • Sets the parameters of the view for this framework. These parameters are defined by an HLRAlgo_Projector object, which is returned by the Projector function on a Prs3d_Projector object.
Return type:HLRAlgo_Projector
Parameters:P (HLRAlgo_Projector &) –
Return type:None
Remove()
  • remove the Shape of Index <I>.
Parameters:I (int) –
Return type:None
Shape()
Parameters:I (int) –
Return type:TopoDS_Shape
Show()
Parameters:
  • Coordinates (Standard_Address &) –
  • S (TopoDS_Shape &) –
  • reg1 (bool) –
  • regn (bool) –
  • outl (bool) –
  • intl (bool) –
Return type:

None

TolAngular()
Return type:float
Parameters:Tol (float) –
Return type:None
TolCoef()
Return type:float
Parameters:Tol (float) –
Return type:None
Update()
  • Launches calculation of outlines of the shape visualized by this framework. Used after setting the point of view and defining the shape or shapes to be visualized.
Return type:None
thisown

The membership flag

class HLRBRep_PolyHLRToShape(*args)

Bases: object

  • Constructs a framework for filtering the results of the HLRBRep_Algo algorithm, A. Use the extraction filters to obtain the results you want for A.
Return type:None
HCompound()
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
Hide()
Return type:None
OutLineHCompound()
Return type:TopoDS_Shape
  • Sets the extraction filter for hidden outlines. Hidden outlines occur, for instance, in tori. In this case, the inner outlines of the torus seen on its side are hidden.
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
OutLineVCompound()
Return type:TopoDS_Shape
  • Sets the extraction filter for visible outlines.
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
Rg1LineHCompound()
Return type:TopoDS_Shape
  • Sets the extraction filter for hidden smooth edges.
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
Rg1LineVCompound()
  • Sets the extraction filter for visible smooth edges.
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
RgNLineHCompound()
Return type:TopoDS_Shape
  • Sets the extraction filter for hidden sewn edges.
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
RgNLineVCompound()
  • Sets the extraction filter for visible sewn edges.
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
Show()
Return type:None
Update()
Parameters:A (Handle_HLRBRep_PolyAlgo &) –
Return type:None
VCompound()
Return type:TopoDS_Shape
Parameters:S (TopoDS_Shape &) –
Return type:TopoDS_Shape
thisown

The membership flag

class HLRBRep_SLProps(*args)

Bases: object

Parameters:
  • S (Standard_Address &) –
  • U (float) –
  • V (float) –
  • N (int) –
  • Resolution (float) –
  • S
  • N
  • Resolution
  • N
  • Resolution
Return type:

None

Return type:

None

Return type:

None

CurvatureDirections()
Parameters:
Return type:

None

D1U()
Return type:gp_Vec
D1V()
Return type:gp_Vec
D2U()
Return type:gp_Vec
D2V()
Return type:gp_Vec
DUV()
Return type:gp_Vec
GaussianCurvature()
Return type:float
IsCurvatureDefined()
Return type:bool
IsNormalDefined()
Return type:bool
IsTangentUDefined()
Return type:bool
IsTangentVDefined()
Return type:bool
IsUmbilic()
Return type:bool
MaxCurvature()
Return type:float
MeanCurvature()
Return type:float
MinCurvature()
Return type:float
Normal()
Return type:gp_Dir
SetParameters()
Parameters:
Return type:

None

SetSurface()
Parameters:S (Standard_Address &) –
Return type:None
TangentU()
Parameters:D (gp_Dir) –
Return type:None
TangentV()
Parameters:D (gp_Dir) –
Return type:None
Value()
Return type:gp_Pnt
thisown

The membership flag

class HLRBRep_SLPropsATool

Bases: object

static Bounds(*args)
  • returns the bounds of the Surface.
Parameters:
  • A (Standard_Address) –
  • U1 (float &) –
  • V1 (float &) –
  • U2 (float &) –
  • V2 (float &) –
Return type:

void

static Continuity(*args)
  • returns the order of continuity of the Surface <A>. returns 1 : first derivative only is computable returns 2 : first and second derivative only are computable.
Parameters:A (Standard_Address) –
Return type:int
static D1(*args)
  • Computes the point <P> and first derivative <D1*> of parameter <U> and <V> on the Surface <A>.
Parameters:
Return type:

void

static D2(*args)
  • Computes the point <P>, the first derivative <D1*> and second derivative <D2*> of parameter <U> and <V> on the Surface <A>.
Parameters:
Return type:

void

static DN(*args)
Parameters:
  • A (Standard_Address) –
  • U (float) –
  • V (float) –
  • Nu (int) –
  • Nv (int) –
Return type:

gp_Vec

static Value(*args)
  • Computes the point <P> of parameter <U> and <V> on the Surface <A>.
Parameters:
Return type:

void

thisown

The membership flag

HLRBRep_SLPropsATool_Bounds(*args)
  • returns the bounds of the Surface.
Parameters:
  • A (Standard_Address) –
  • U1 (float &) –
  • V1 (float &) –
  • U2 (float &) –
  • V2 (float &) –
Return type:

void

HLRBRep_SLPropsATool_Continuity(*args)
  • returns the order of continuity of the Surface <A>. returns 1 : first derivative only is computable returns 2 : first and second derivative only are computable.
Parameters:A (Standard_Address) –
Return type:int
HLRBRep_SLPropsATool_D1(*args)
  • Computes the point <P> and first derivative <D1*> of parameter <U> and <V> on the Surface <A>.
Parameters:
Return type:

void

HLRBRep_SLPropsATool_D2(*args)
  • Computes the point <P>, the first derivative <D1*> and second derivative <D2*> of parameter <U> and <V> on the Surface <A>.
Parameters:
Return type:

void

HLRBRep_SLPropsATool_DN(*args)
Parameters:
  • A (Standard_Address) –
  • U (float) –
  • V (float) –
  • Nu (int) –
  • Nv (int) –
Return type:

gp_Vec

HLRBRep_SLPropsATool_Value(*args)
  • Computes the point <P> of parameter <U> and <V> on the Surface <A>.
Parameters:
Return type:

void

class HLRBRep_SeqOfShapeBounds(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (HLRBRep_SeqOfShapeBounds &) –
Return type:None
Append()
Parameters:
  • T (HLRBRep_ShapeBounds &) –
  • S (HLRBRep_SeqOfShapeBounds &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (HLRBRep_SeqOfShapeBounds &) –
Return type:HLRBRep_SeqOfShapeBounds
ChangeValue()
Parameters:Index (int) –
Return type:HLRBRep_ShapeBounds
Clear()
Return type:None
First()
Return type:HLRBRep_ShapeBounds
InsertAfter()
Parameters:
  • Index (int) –
  • T (HLRBRep_ShapeBounds &) –
  • Index
  • S (HLRBRep_SeqOfShapeBounds &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (HLRBRep_ShapeBounds &) –
  • Index
  • S (HLRBRep_SeqOfShapeBounds &) –
Return type:

None

Return type:

None

Last()
Return type:HLRBRep_ShapeBounds
Prepend()
Parameters:
  • T (HLRBRep_ShapeBounds &) –
  • S (HLRBRep_SeqOfShapeBounds &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (HLRBRep_SeqOfShapeBounds &) –
Return type:HLRBRep_SeqOfShapeBounds
SetValue()
Parameters:
  • Index (int) –
  • I (HLRBRep_ShapeBounds &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (HLRBRep_SeqOfShapeBounds &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:HLRBRep_ShapeBounds
thisown

The membership flag

class HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter &) –
Return type:None
Append()
Parameters:
  • T (Extrema_POnCurv2d &) –
  • S (HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter &) –
Return type:HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter
ChangeValue()
Parameters:Index (int) –
Return type:Extrema_POnCurv2d
Clear()
Return type:None
First()
Return type:Extrema_POnCurv2d
InsertAfter()
Parameters:
  • Index (int) –
  • T (Extrema_POnCurv2d &) –
  • Index
  • S (HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (Extrema_POnCurv2d &) –
  • Index
  • S (HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter &) –
Return type:

None

Return type:

None

Last()
Return type:Extrema_POnCurv2d
Prepend()
Parameters:
  • T (Extrema_POnCurv2d &) –
  • S (HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter &) –
Return type:HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter
SetValue()
Parameters:
  • Index (int) –
  • I (Extrema_POnCurv2d &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:Extrema_POnCurv2d
thisown

The membership flag

class HLRBRep_SequenceNodeOfSeqOfShapeBounds(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (HLRBRep_ShapeBounds &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:HLRBRep_ShapeBounds
thisown

The membership flag

class HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (Extrema_POnCurv2d &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:Extrema_POnCurv2d
thisown

The membership flag

class HLRBRep_ShapeBounds(*args)

Bases: object

Return type:

None

Parameters:
  • S (Handle_HLRTopoBRep_OutLiner &) –
  • SData (Handle_MMgt_TShared &) –
  • nbIso (int) –
  • V1 (int) –
  • V2 (int) –
  • E1 (int) –
  • E2 (int) –
  • F1 (int) –
  • F2 (int) –
  • S
  • nbIso
  • V1
  • V2
  • E1
  • E2
  • F1
  • F2
Return type:

None

Return type:

None

Bounds()
Parameters:
  • V1 (int &) –
  • V2 (int &) –
  • E1 (int &) –
  • E2 (int &) –
  • F1 (int &) –
  • F2 (int &) –
Return type:

None

MinMax()
Return type:Standard_Address
NbOfIso()
Parameters:nbIso (int) –
Return type:None
Return type:int
Shape()
Parameters:S (Handle_HLRTopoBRep_OutLiner &) –
Return type:None
Return type:Handle_HLRTopoBRep_OutLiner
ShapeData()
Parameters:SD (Handle_MMgt_TShared &) –
Return type:None
Return type:Handle_MMgt_TShared
Sizes()
Parameters:
  • NV (int &) –
  • NE (int &) –
  • NF (int &) –
Return type:

None

Translate()
Parameters:
Return type:

None

UpdateMinMax()
Parameters:TotMinMax (Standard_Address) –
Return type:None
thisown

The membership flag

class HLRBRep_ShapeToHLR

Bases: object

static Load(*args)
  • Creates a DataStructure containing the OutLiner <S> depending on the projector <P> and nbIso.
Parameters:
  • S (Handle_HLRTopoBRep_OutLiner &) –
  • P (HLRAlgo_Projector &) –
  • MST (BRepTopAdaptor_MapOfShapeTool &) –
  • nbIso (int) – default value is 0
Return type:

Handle_HLRBRep_Data

thisown

The membership flag

HLRBRep_ShapeToHLR_Load(*args)
  • Creates a DataStructure containing the OutLiner <S> depending on the projector <P> and nbIso.
Parameters:
  • S (Handle_HLRTopoBRep_OutLiner &) –
  • P (HLRAlgo_Projector &) –
  • MST (BRepTopAdaptor_MapOfShapeTool &) –
  • nbIso (int) – default value is 0
Return type:

Handle_HLRBRep_Data

class HLRBRep_SurfaceTool

Bases: object

static AxeOfRevolution(*args)
Parameters:S (Standard_Address) –
Return type:gp_Ax1
static BSpline(*args)
Parameters:S (Standard_Address) –
Return type:Handle_Geom_BSplineSurface
static BasisCurve(*args)
Parameters:S (Standard_Address) –
Return type:Handle_Adaptor3d_HCurve
static BasisSurface(*args)
Parameters:S (Standard_Address) –
Return type:Handle_Adaptor3d_HSurface
static Bezier(*args)
Parameters:S (Standard_Address) –
Return type:Handle_Geom_BezierSurface
static Cone(*args)
Parameters:S (Standard_Address) –
Return type:gp_Cone
static Cylinder(*args)
Parameters:S (Standard_Address) –
Return type:gp_Cylinder
static D0(*args)
Parameters:
Return type:

void

static D1(*args)
Parameters:
Return type:

void

static D2(*args)
Parameters:
Return type:

void

static D3(*args)
Parameters:
Return type:

void

static DN(*args)
Parameters:
  • S (Standard_Address) –
  • u (float) –
  • v (float) –
  • Nu (int) –
  • Nv (int) –
Return type:

gp_Vec

static Direction(*args)
Parameters:S (Standard_Address) –
Return type:gp_Dir
static FirstUParameter(*args)
Parameters:S (Standard_Address) –
Return type:float
static FirstVParameter(*args)
Parameters:S (Standard_Address) –
Return type:float
static GetType(*args)
Parameters:S (Standard_Address) –
Return type:GeomAbs_SurfaceType
static IsUClosed(*args)
Parameters:S (Standard_Address) –
Return type:bool
static IsUPeriodic(*args)
Parameters:S (Standard_Address) –
Return type:bool
static IsVClosed(*args)
Parameters:S (Standard_Address) –
Return type:bool
static IsVPeriodic(*args)
Parameters:S (Standard_Address) –
Return type:bool
static LastUParameter(*args)
Parameters:S (Standard_Address) –
Return type:float
static LastVParameter(*args)
Parameters:S (Standard_Address) –
Return type:float
static NbSamplesU(*args)
Parameters:
  • S (Standard_Address) –
  • S
  • u1 (float) –
  • u2 (float) –
Return type:

int

Return type:

int

static NbSamplesV(*args)
Parameters:
  • S (Standard_Address) –
  • S
  • v1 (float) –
  • v2 (float) –
Return type:

int

Return type:

int

static NbUIntervals(*args)
Parameters:
  • S (Standard_Address) –
  • Sh (GeomAbs_Shape) –
Return type:

int

static NbVIntervals(*args)
Parameters:
  • S (Standard_Address) –
  • Sh (GeomAbs_Shape) –
Return type:

int

static OffsetValue(*args)
Parameters:S (Standard_Address) –
Return type:float
static Plane(*args)
Parameters:S (Standard_Address) –
Return type:gp_Pln
static Sphere(*args)
Parameters:S (Standard_Address) –
Return type:gp_Sphere
static Torus(*args)
Parameters:S (Standard_Address) –
Return type:gp_Torus
static UIntervals(*args)
Parameters:
  • S (Standard_Address) –
  • T (TColStd_Array1OfReal &) –
  • Sh (GeomAbs_Shape) –
Return type:

void

static UPeriod(*args)
Parameters:S (Standard_Address) –
Return type:float
static UResolution(*args)
Parameters:
  • S (Standard_Address) –
  • R3d (float) –
Return type:

float

static UTrim(*args)
  • If <First> >= <Last>
Parameters:
  • S (Standard_Address) –
  • First (float) –
  • Last (float) –
  • Tol (float) –
Return type:

Handle_Adaptor3d_HSurface

static VIntervals(*args)
Parameters:
  • S (Standard_Address) –
  • T (TColStd_Array1OfReal &) –
  • Sh (GeomAbs_Shape) –
Return type:

void

static VPeriod(*args)
Parameters:S (Standard_Address) –
Return type:float
static VResolution(*args)
Parameters:
  • S (Standard_Address) –
  • R3d (float) –
Return type:

float

static VTrim(*args)
  • If <First> >= <Last>
Parameters:
  • S (Standard_Address) –
  • First (float) –
  • Last (float) –
  • Tol (float) –
Return type:

Handle_Adaptor3d_HSurface

static Value(*args)
Parameters:
  • S (Standard_Address) –
  • u (float) –
  • v (float) –
Return type:

gp_Pnt

thisown

The membership flag

HLRBRep_SurfaceTool_AxeOfRevolution(*args)
Parameters:S (Standard_Address) –
Return type:gp_Ax1
HLRBRep_SurfaceTool_BSpline(*args)
Parameters:S (Standard_Address) –
Return type:Handle_Geom_BSplineSurface
HLRBRep_SurfaceTool_BasisCurve(*args)
Parameters:S (Standard_Address) –
Return type:Handle_Adaptor3d_HCurve
HLRBRep_SurfaceTool_BasisSurface(*args)
Parameters:S (Standard_Address) –
Return type:Handle_Adaptor3d_HSurface
HLRBRep_SurfaceTool_Bezier(*args)
Parameters:S (Standard_Address) –
Return type:Handle_Geom_BezierSurface
HLRBRep_SurfaceTool_Cone(*args)
Parameters:S (Standard_Address) –
Return type:gp_Cone
HLRBRep_SurfaceTool_Cylinder(*args)
Parameters:S (Standard_Address) –
Return type:gp_Cylinder
HLRBRep_SurfaceTool_D0(*args)
Parameters:
Return type:

void

HLRBRep_SurfaceTool_D1(*args)
Parameters:
Return type:

void

HLRBRep_SurfaceTool_D2(*args)
Parameters:
Return type:

void

HLRBRep_SurfaceTool_D3(*args)
Parameters:
Return type:

void

HLRBRep_SurfaceTool_DN(*args)
Parameters:
  • S (Standard_Address) –
  • u (float) –
  • v (float) –
  • Nu (int) –
  • Nv (int) –
Return type:

gp_Vec

HLRBRep_SurfaceTool_Direction(*args)
Parameters:S (Standard_Address) –
Return type:gp_Dir
HLRBRep_SurfaceTool_FirstUParameter(*args)
Parameters:S (Standard_Address) –
Return type:float
HLRBRep_SurfaceTool_FirstVParameter(*args)
Parameters:S (Standard_Address) –
Return type:float
HLRBRep_SurfaceTool_GetType(*args)
Parameters:S (Standard_Address) –
Return type:GeomAbs_SurfaceType
HLRBRep_SurfaceTool_IsUClosed(*args)
Parameters:S (Standard_Address) –
Return type:bool
HLRBRep_SurfaceTool_IsUPeriodic(*args)
Parameters:S (Standard_Address) –
Return type:bool
HLRBRep_SurfaceTool_IsVClosed(*args)
Parameters:S (Standard_Address) –
Return type:bool
HLRBRep_SurfaceTool_IsVPeriodic(*args)
Parameters:S (Standard_Address) –
Return type:bool
HLRBRep_SurfaceTool_LastUParameter(*args)
Parameters:S (Standard_Address) –
Return type:float
HLRBRep_SurfaceTool_LastVParameter(*args)
Parameters:S (Standard_Address) –
Return type:float
HLRBRep_SurfaceTool_NbSamplesU(*args)
Parameters:
  • S (Standard_Address) –
  • S
  • u1 (float) –
  • u2 (float) –
Return type:

int

Return type:

int

HLRBRep_SurfaceTool_NbSamplesV(*args)
Parameters:
  • S (Standard_Address) –
  • S
  • v1 (float) –
  • v2 (float) –
Return type:

int

Return type:

int

HLRBRep_SurfaceTool_NbUIntervals(*args)
Parameters:
  • S (Standard_Address) –
  • Sh (GeomAbs_Shape) –
Return type:

int

HLRBRep_SurfaceTool_NbVIntervals(*args)
Parameters:
  • S (Standard_Address) –
  • Sh (GeomAbs_Shape) –
Return type:

int

HLRBRep_SurfaceTool_OffsetValue(*args)
Parameters:S (Standard_Address) –
Return type:float
HLRBRep_SurfaceTool_Plane(*args)
Parameters:S (Standard_Address) –
Return type:gp_Pln
HLRBRep_SurfaceTool_Sphere(*args)
Parameters:S (Standard_Address) –
Return type:gp_Sphere
HLRBRep_SurfaceTool_Torus(*args)
Parameters:S (Standard_Address) –
Return type:gp_Torus
HLRBRep_SurfaceTool_UIntervals(*args)
Parameters:
  • S (Standard_Address) –
  • T (TColStd_Array1OfReal &) –
  • Sh (GeomAbs_Shape) –
Return type:

void

HLRBRep_SurfaceTool_UPeriod(*args)
Parameters:S (Standard_Address) –
Return type:float
HLRBRep_SurfaceTool_UResolution(*args)
Parameters:
  • S (Standard_Address) –
  • R3d (float) –
Return type:

float

HLRBRep_SurfaceTool_UTrim(*args)
  • If <First> >= <Last>
Parameters:
  • S (Standard_Address) –
  • First (float) –
  • Last (float) –
  • Tol (float) –
Return type:

Handle_Adaptor3d_HSurface

HLRBRep_SurfaceTool_VIntervals(*args)
Parameters:
  • S (Standard_Address) –
  • T (TColStd_Array1OfReal &) –
  • Sh (GeomAbs_Shape) –
Return type:

void

HLRBRep_SurfaceTool_VPeriod(*args)
Parameters:S (Standard_Address) –
Return type:float
HLRBRep_SurfaceTool_VResolution(*args)
Parameters:
  • S (Standard_Address) –
  • R3d (float) –
Return type:

float

HLRBRep_SurfaceTool_VTrim(*args)
  • If <First> >= <Last>
Parameters:
  • S (Standard_Address) –
  • First (float) –
  • Last (float) –
  • Tol (float) –
Return type:

Handle_Adaptor3d_HSurface

HLRBRep_SurfaceTool_Value(*args)
Parameters:
  • S (Standard_Address) –
  • u (float) –
  • v (float) –
Return type:

gp_Pnt

class HLRBRep_TheCSFunctionOfInterCSurf(*args)

Bases: OCC.math.math_FunctionSetWithDerivatives

Parameters:
  • S (Standard_Address &) –
  • C (gp_Lin) –
Return type:

None

AuxillarCurve()
Return type:gp_Lin
AuxillarSurface()
Return type:Standard_Address
Point()
Return type:gp_Pnt
Root()
Return type:float
thisown

The membership flag

class HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter(*args)

Bases: OCC.math.math_FunctionSetWithDerivatives

Parameters:
  • curve1 (Standard_Address &) –
  • curve2 (Standard_Address &) –
Return type:

None

thisown

The membership flag

class HLRBRep_TheExactInterCSurf(*args)

Bases: object

Parameters:
  • U (float) –
  • V (float) –
  • W (float) –
  • F (HLRBRep_TheCSFunctionOfInterCSurf &) –
  • TolTangency (float) –
  • MarginCoef (float) – default value is 0.0
  • F
  • TolTangency
Return type:

None

Return type:

None

Function()
Return type:HLRBRep_TheCSFunctionOfInterCSurf
IsDone()
Return type:bool
IsEmpty()
Return type:bool
ParameterOnCurve()
Return type:float
ParameterOnSurface()
Parameters:
  • U (float &) –
  • V (float &) –
Return type:

None

Perform()
Parameters:
Return type:

None

Point()
Return type:gp_Pnt
thisown

The membership flag

class HLRBRep_TheIntConicCurveOfCInter(*args)

Bases: OCC.IntRes2d.IntRes2d_Intersection

Return type:

None

Parameters:
  • L (gp_Lin2d) –
  • D1 (IntRes2d_Domain &) –
  • PCurve (Standard_Address &) –
  • D2 (IntRes2d_Domain &) –
  • TolConf (float) –
  • Tol (float) –
  • C (gp_Circ2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
  • E (gp_Elips2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
  • Prb (gp_Parab2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
  • H (gp_Hypr2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Perform()
Parameters:
  • L (gp_Lin2d) –
  • D1 (IntRes2d_Domain &) –
  • PCurve (Standard_Address &) –
  • D2 (IntRes2d_Domain &) –
  • TolConf (float) –
  • Tol (float) –
  • C (gp_Circ2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
  • E (gp_Elips2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
  • Prb (gp_Parab2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
  • H (gp_Hypr2d) –
  • D1
  • PCurve
  • D2
  • TolConf
  • Tol
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

thisown

The membership flag

class HLRBRep_TheIntPCurvePCurveOfCInter(*args)

Bases: OCC.IntRes2d.IntRes2d_Intersection

Return type:None
Perform()
Parameters:
  • Curve1 (Standard_Address &) –
  • Domain1 (IntRes2d_Domain &) –
  • Curve2 (Standard_Address &) –
  • Domain2 (IntRes2d_Domain &) –
  • TolConf (float) –
  • Tol (float) –
  • Curve1
  • Domain1
  • TolConf
  • Tol
Return type:

None

Return type:

None

thisown

The membership flag

class HLRBRep_TheInterferenceOfInterCSurf(*args)

Bases: OCC.Intf.Intf_Interference

Return type:

None

Parameters:
  • thePolyg (HLRBRep_ThePolygonOfInterCSurf &) –
  • thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • theLin (gp_Lin) –
  • thePolyh
  • theLins (Intf_Array1OfLin &) –
  • thePolyh
  • thePolyg
  • thePolyh
  • theBoundSB (Bnd_BoundSortBox &) –
  • theLin
  • thePolyh
  • theBoundSB
  • theLins
  • thePolyh
  • theBoundSB
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Interference()
Parameters:
  • thePolyg (HLRBRep_ThePolygonOfInterCSurf &) –
  • thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • theBoundSB (Bnd_BoundSortBox &) –
  • thePolyg
  • thePolyh
Return type:

None

Return type:

None

Perform()
Parameters:
  • thePolyg (HLRBRep_ThePolygonOfInterCSurf &) –
  • thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • theLin (gp_Lin) –
  • thePolyh
  • theLins (Intf_Array1OfLin &) –
  • thePolyh
  • thePolyg
  • thePolyh
  • theBoundSB (Bnd_BoundSortBox &) –
  • theLin
  • thePolyh
  • theBoundSB
  • theLins
  • thePolyh
  • theBoundSB
Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

Return type:

None

thisown

The membership flag

class HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter(*args)

Bases: OCC.IntRes2d.IntRes2d_Intersection

Return type:

None

Parameters:
  • ITool (IntCurve_IConicTool &) –
  • Dom1 (IntRes2d_Domain &) –
  • PCurve (Standard_Address &) –
  • Dom2 (IntRes2d_Domain &) –
  • TolConf (float) –
  • Tol (float) –
Return type:

None

And_Domaine_Objet1_Intersections()
Parameters:
  • TheImpTool (IntCurve_IConicTool &) –
  • TheParCurve (Standard_Address &) –
  • TheImpCurveDomain (IntRes2d_Domain &) –
  • TheParCurveDomain (IntRes2d_Domain &) –
  • NbResultats (int &) –
  • Inter2_And_Domain2 (TColStd_Array1OfReal &) –
  • Inter1 (TColStd_Array1OfReal &) –
  • Resultat1 (TColStd_Array1OfReal &) –
  • Resultat2 (TColStd_Array1OfReal &) –
  • EpsNul (float) –
Return type:

None

FindU()
Parameters:
  • parameter (float) –
  • point (gp_Pnt2d) –
  • TheParCurev (Standard_Address &) –
  • TheImpTool (IntCurve_IConicTool &) –
Return type:

float

FindV()
Parameters:
  • parameter (float) –
  • point (gp_Pnt2d) –
  • TheImpTool (IntCurve_IConicTool &) –
  • ParCurve (Standard_Address &) –
  • TheParCurveDomain (IntRes2d_Domain &) –
  • V0 (float) –
  • V1 (float) –
  • Tolerance (float) –
Return type:

float

Perform()
Parameters:
  • ITool (IntCurve_IConicTool &) –
  • Dom1 (IntRes2d_Domain &) –
  • PCurve (Standard_Address &) –
  • Dom2 (IntRes2d_Domain &) –
  • TolConf (float) –
  • Tol (float) –
Return type:

None

thisown

The membership flag

class HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter(*args)

Bases: object

Return type:

None

Parameters:
Return type:

None

Return type:

None

Initialize()
Parameters:
  • C (Standard_Address &) –
  • Umin (float) –
  • Usup (float) –
  • TolU (float) –
Return type:

None

IsDone()
Return type:bool
IsMin()
Return type:bool
Perform()
Parameters:
Return type:

None

Point()
Return type:Extrema_POnCurv2d
SquareDistance()
Return type:float
thisown

The membership flag

class HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter(*args)

Bases: OCC.Intf.Intf_Polygon2d

Parameters:
  • Curve (Standard_Address &) –
  • NbPnt (int) –
  • Domain (IntRes2d_Domain &) –
  • Tol (float) –
  • Curve
  • NbPnt
  • Domain
  • Tol
  • OtherBox (Bnd_Box2d &) –
Return type:

None

Return type:

None

ApproxParamOnCurve()
Parameters:
  • Index (int) –
  • ParamOnLine (float) –
Return type:

float

AutoIntersectionIsPossible()
Return type:bool
CalculRegion()
Parameters:
Return type:

int

Closed()
Parameters:clos (bool) –
Return type:None
ComputeWithBox()
Parameters:
  • Curve (Standard_Address &) –
  • OtherBox (Bnd_Box2d &) –
Return type:

None

Dump()
Return type:None
InfParameter()
Return type:float
SetDeflectionOverEstimation()
Parameters:x (float) –
Return type:None
SupParameter()
Return type:float
thisown

The membership flag

class HLRBRep_ThePolygonOfInterCSurf(*args)

Bases: object

Parameters:
  • Curve (gp_Lin) –
  • NbPnt (int) –
  • Curve
  • U1 (float) –
  • U2 (float) –
  • NbPnt
  • Curve
  • Upars (TColStd_Array1OfReal &) –
Return type:

None

Return type:

None

Return type:

None

ApproxParamOnCurve()
Parameters:
  • Index (int) –
  • ParamOnLine (float) –
Return type:

float

BeginOfSeg()
Parameters:Index (int) –
Return type:gp_Pnt
Bounding()
Return type:Bnd_Box
Closed()
Parameters:clos (bool) –
Return type:None
Return type:bool
DeflectionOverEstimation()
Return type:float
Dump()
Return type:None
EndOfSeg()
Parameters:Index (int) –
Return type:gp_Pnt
InfParameter()
Return type:float
NbSegments()
Return type:int
SetDeflectionOverEstimation()
Parameters:x (float) –
Return type:None
SupParameter()
Return type:float
thisown

The membership flag

class HLRBRep_ThePolygonToolOfInterCSurf

Bases: object

static BeginOfSeg(*args)
Parameters:
  • thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
  • Index (int) –
Return type:

gp_Pnt

static Bounding(*args)
Parameters:thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
Return type:Bnd_Box
static Closed(*args)
Parameters:thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
Return type:bool
static DeflectionOverEstimation(*args)
Parameters:thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
Return type:float
static Dump(*args)
Parameters:thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
Return type:void
static EndOfSeg(*args)
Parameters:
  • thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
  • Index (int) –
Return type:

gp_Pnt

static NbSegments(*args)
Parameters:thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
Return type:int
thisown

The membership flag

HLRBRep_ThePolygonToolOfInterCSurf_BeginOfSeg(*args)
Parameters:
  • thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
  • Index (int) –
Return type:

gp_Pnt

HLRBRep_ThePolygonToolOfInterCSurf_Bounding(*args)
Parameters:thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
Return type:Bnd_Box
HLRBRep_ThePolygonToolOfInterCSurf_Closed(*args)
Parameters:thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
Return type:bool
HLRBRep_ThePolygonToolOfInterCSurf_DeflectionOverEstimation(*args)
Parameters:thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
Return type:float
HLRBRep_ThePolygonToolOfInterCSurf_Dump(*args)
Parameters:thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
Return type:void
HLRBRep_ThePolygonToolOfInterCSurf_EndOfSeg(*args)
Parameters:
  • thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
  • Index (int) –
Return type:

gp_Pnt

HLRBRep_ThePolygonToolOfInterCSurf_NbSegments(*args)
Parameters:thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
Return type:int
class HLRBRep_ThePolyhedronToolOfInterCSurf

Bases: object

static Bounding(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:Bnd_Box
ComponentsBounding()
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:Handle_Bnd_HArray1OfBox
static DeflectionOverEstimation(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:float
static Dump(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:void
static GetBorderDeflection(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:float
static IsOnBound(*args)
Parameters:
  • thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • Index1 (int) –
  • Index2 (int) –
Return type:

bool

static NbTriangles(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:int
static Point(*args)
Parameters:
  • thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • Index (int) –
Return type:

gp_Pnt

static TriConnex(*args)
Parameters:
  • thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • Triang (int) –
  • Pivot (int) –
  • Pedge (int) –
  • TriCon (int &) –
  • OtherP (int &) –
Return type:

int

static Triangle(*args)
Parameters:
  • thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • Index (int) –
  • P1 (int &) –
  • P2 (int &) –
  • P3 (int &) –
Return type:

void

thisown

The membership flag

HLRBRep_ThePolyhedronToolOfInterCSurf_Bounding(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:Bnd_Box
HLRBRep_ThePolyhedronToolOfInterCSurf_DeflectionOverEstimation(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:float
HLRBRep_ThePolyhedronToolOfInterCSurf_Dump(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:void
HLRBRep_ThePolyhedronToolOfInterCSurf_GetBorderDeflection(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:float
HLRBRep_ThePolyhedronToolOfInterCSurf_IsOnBound(*args)
Parameters:
  • thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • Index1 (int) –
  • Index2 (int) –
Return type:

bool

HLRBRep_ThePolyhedronToolOfInterCSurf_NbTriangles(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:int
HLRBRep_ThePolyhedronToolOfInterCSurf_Point(*args)
Parameters:
  • thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • Index (int) –
Return type:

gp_Pnt

HLRBRep_ThePolyhedronToolOfInterCSurf_TriConnex(*args)
Parameters:
  • thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • Triang (int) –
  • Pivot (int) –
  • Pedge (int) –
  • TriCon (int &) –
  • OtherP (int &) –
Return type:

int

HLRBRep_ThePolyhedronToolOfInterCSurf_Triangle(*args)
Parameters:
  • thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • Index (int) –
  • P1 (int &) –
  • P2 (int &) –
  • P3 (int &) –
Return type:

void

class HLRBRep_TheProjPCurOfCInter

Bases: object

static FindParameter(*args)
Parameters:
  • C (Standard_Address &) –
  • Pnt (gp_Pnt2d) –
  • Tol (float) –
  • C
  • Pnt
  • LowParameter (float) –
  • HighParameter (float) –
  • Tol
Return type:

float

Return type:

float

thisown

The membership flag

HLRBRep_TheProjPCurOfCInter_FindParameter(*args)
Parameters:
  • C (Standard_Address &) –
  • Pnt (gp_Pnt2d) –
  • Tol (float) –
  • C
  • Pnt
  • LowParameter (float) –
  • HighParameter (float) –
  • Tol
Return type:

float

Return type:

float

class HLRBRep_TheQuadCurvExactInterCSurf(*args)

Bases: object

Parameters:
  • S (Standard_Address &) –
  • C (gp_Lin) –
Return type:

None

Intervals()
Parameters:
  • Index (int) –
  • U1 (float &) –
  • U2 (float &) –
Return type:

None

IsDone()
Return type:bool
NbIntervals()
Return type:int
NbRoots()
Return type:int
Root()
Parameters:Index (int) –
Return type:float
thisown

The membership flag

class HLRBRep_TheQuadCurvFuncOfTheQuadCurvExactInterCSurf(*args)

Bases: OCC.math.math_FunctionWithDerivative

Parameters:
  • Q (IntSurf_Quadric &) –
  • C (gp_Lin) –
Return type:

None

thisown

The membership flag

class HLRBRep_VertexList(*args)

Bases: object

Parameters:
  • T (HLRBRep_EdgeInterferenceTool &) –
  • I (HLRAlgo_ListIteratorOfInterferenceList &) –
Return type:

None

BoundaryTransition()
  • Returns the transition of the current vertex relative to the boundary if it is an interference.
Return type:TopAbs_Orientation
Current()
  • Returns the current vertex
Return type:HLRAlgo_Intersection
IsBoundary()
  • Returns True if the current vertex is is on the boundary of the edge.
Return type:bool
IsInterference()
  • Returns True if the current vertex is an interference.
Return type:bool
IsPeriodic()
  • Returns True when the curve is periodic.
Return type:bool
More()
  • Returns True when there are more vertices.
Return type:bool
Next()
  • Proceeds to the next vertex.
Return type:None
Orientation()
  • Returns the orientation of the current vertex if it is on the boundary of the edge.
Return type:TopAbs_Orientation
Transition()
  • Returns the transition of the current vertex if it is an interference.
Return type:TopAbs_Orientation
thisown

The membership flag

class Handle_HLRBRep_Algo(*args)

Bases: OCC.HLRBRep.Handle_HLRBRep_InternalAlgo

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_HLRBRep_AreaLimit(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_HLRBRep_Data(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_HLRBRep_InternalAlgo(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_HLRBRep_ListNodeOfListOfBPnt2D(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_HLRBRep_ListNodeOfListOfBPoint(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_HLRBRep_PolyAlgo(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_HLRBRep_SequenceNodeOfSeqOfShapeBounds(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
thisown

The membership flag

value()
class hlrbrep

Bases: object

static MakeEdge(*args)
Parameters:
  • ec (HLRBRep_Curve &) –
  • U1 (float) –
  • U2 (float) –
Return type:

TopoDS_Edge

static MakeEdge3d(*args)
Parameters:
  • ec (HLRBRep_Curve &) –
  • U1 (float) –
  • U2 (float) –
Return type:

TopoDS_Edge

static PolyHLRAngleAndDeflection(*args)
Parameters:
  • InAngl (float) –
  • OutAngl (float &) –
  • OutDefl (float &) –
Return type:

void

thisown

The membership flag

hlrbrep_MakeEdge(*args)
Parameters:
  • ec (HLRBRep_Curve &) –
  • U1 (float) –
  • U2 (float) –
Return type:

TopoDS_Edge

hlrbrep_MakeEdge3d(*args)
Parameters:
  • ec (HLRBRep_Curve &) –
  • U1 (float) –
  • U2 (float) –
Return type:

TopoDS_Edge

hlrbrep_PolyHLRAngleAndDeflection(*args)
Parameters:
  • InAngl (float) –
  • OutAngl (float &) –
  • OutDefl (float &) –
Return type:

void

register_handle(handle, base_object)

Inserts the handle into the base object to prevent memory corruption in certain cases