OCC.HLRBRep module

class OCC.HLRBRep.HLRBRep_Algo(*args)

Bases: OCC.HLRBRep.HLRBRep_InternalAlgo

Add()
  • add the Shape <S>.
Parameters:
  • S (TopoDS_Shape &) –
  • SData (Handle_MMgt_TShared &) –
  • nbIso (Standard_Integer) – default value is 0
Return type:

None

  • add the Shape <S>.
Parameters:
  • S (TopoDS_Shape &) –
  • SData (Handle_MMgt_TShared &) –
  • nbIso (Standard_Integer) – 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 (Standard_Integer) – 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 (Standard_Integer) – default value is 0
Return type:

None

GetHandle()

HLRBRep_Algo_GetHandle(HLRBRep_Algo self) -> Handle_HLRBRep_Algo

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 OCC.HLRBRep.HLRBRep_AreaLimit(*args)

Bases: OCC.MMgt.MMgt_TShared

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()

HLRBRep_AreaLimit_GetHandle(HLRBRep_AreaLimit self) -> Handle_HLRBRep_AreaLimit

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 OCC.HLRBRep.HLRBRep_Array1OfEData(*args)

Bases: object

Assign()
Parameters:Other (HLRBRep_Array1OfEData &) –
Return type:HLRBRep_Array1OfEData
ChangeValue()
Parameters:Index (Standard_Integer) –
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 (Standard_Integer) –
  • Value (HLRBRep_EdgeData &) –
Return type:

None

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

The membership flag

class OCC.HLRBRep.HLRBRep_Array1OfFData(*args)

Bases: object

Assign()
Parameters:Other (HLRBRep_Array1OfFData &) –
Return type:HLRBRep_Array1OfFData
ChangeValue()
Parameters:Index (Standard_Integer) –
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 (Standard_Integer) –
  • Value (HLRBRep_FaceData &) –
Return type:

None

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

The membership flag

class OCC.HLRBRep.HLRBRep_BCurveTool(*args, **kwargs)

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:
  • C (BRepAdaptor_Curve &) –
  • U (float) –
  • P (gp_Pnt) –
  • V (gp_Vec) –
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:
  • C (BRepAdaptor_Curve &) –
  • U (float) –
  • P (gp_Pnt) –
  • V1 (gp_Vec) –
  • V2 (gp_Vec) –
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:
  • C (BRepAdaptor_Curve &) –
  • U (float) –
  • P (gp_Pnt) –
  • V1 (gp_Vec) –
  • V2 (gp_Vec) –
  • V3 (gp_Vec) –
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 (Standard_Integer) –
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:
  • C (BRepAdaptor_Curve &) –
  • T (TColgp_Array1OfPnt) –
Return type:

void

static PolesAndWeights(*args)
Parameters:
  • C (BRepAdaptor_Curve &) –
  • T (TColgp_Array1OfPnt) –
  • W (TColStd_Array1OfReal &) –
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

OCC.HLRBRep.HLRBRep_BCurveTool_BSpline(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:Handle_Geom_BSplineCurve
OCC.HLRBRep.HLRBRep_BCurveTool_Bezier(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:Handle_Geom_BezierCurve
OCC.HLRBRep.HLRBRep_BCurveTool_Circle(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Circ
OCC.HLRBRep.HLRBRep_BCurveTool_Continuity(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:GeomAbs_Shape
OCC.HLRBRep.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

OCC.HLRBRep.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:
  • C (BRepAdaptor_Curve &) –
  • U (float) –
  • P (gp_Pnt) –
  • V (gp_Vec) –
Return type:

void

OCC.HLRBRep.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:
  • C (BRepAdaptor_Curve &) –
  • U (float) –
  • P (gp_Pnt) –
  • V1 (gp_Vec) –
  • V2 (gp_Vec) –
Return type:

void

OCC.HLRBRep.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:
  • C (BRepAdaptor_Curve &) –
  • U (float) –
  • P (gp_Pnt) –
  • V1 (gp_Vec) –
  • V2 (gp_Vec) –
  • V3 (gp_Vec) –
Return type:

void

OCC.HLRBRep.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 (Standard_Integer) –
Return type:

gp_Vec

OCC.HLRBRep.HLRBRep_BCurveTool_Degree(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:int
OCC.HLRBRep.HLRBRep_BCurveTool_Ellipse(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Elips
OCC.HLRBRep.HLRBRep_BCurveTool_FirstParameter(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:float
OCC.HLRBRep.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
OCC.HLRBRep.HLRBRep_BCurveTool_Hyperbola(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Hypr
OCC.HLRBRep.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

OCC.HLRBRep.HLRBRep_BCurveTool_IsClosed(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:bool
OCC.HLRBRep.HLRBRep_BCurveTool_IsPeriodic(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:bool
OCC.HLRBRep.HLRBRep_BCurveTool_IsRational(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:bool
OCC.HLRBRep.HLRBRep_BCurveTool_LastParameter(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:float
OCC.HLRBRep.HLRBRep_BCurveTool_Line(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Lin
OCC.HLRBRep.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

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

int

OCC.HLRBRep.HLRBRep_BCurveTool_Parabola(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:gp_Parab
OCC.HLRBRep.HLRBRep_BCurveTool_Period(*args)
Parameters:C (BRepAdaptor_Curve &) –
Return type:float
OCC.HLRBRep.HLRBRep_BCurveTool_Poles(*args)
Parameters:
  • C (BRepAdaptor_Curve &) –
  • T (TColgp_Array1OfPnt) –
Return type:

void

OCC.HLRBRep.HLRBRep_BCurveTool_PolesAndWeights(*args)
Parameters:
  • C (BRepAdaptor_Curve &) –
  • T (TColgp_Array1OfPnt) –
  • W (TColStd_Array1OfReal &) –
Return type:

void

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

float

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

gp_Pnt

class OCC.HLRBRep.HLRBRep_BiPnt2D(*args)

Bases: object

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 OCC.HLRBRep.HLRBRep_BiPoint(*args)

Bases: object

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 OCC.HLRBRep.HLRBRep_CInter(*args)

Bases: OCC.IntRes2d.IntRes2d_Intersection

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 OCC.HLRBRep.HLRBRep_CLProps(*args)

Bases: object

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 OCC.HLRBRep.HLRBRep_CLPropsATool(*args, **kwargs)

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:
  • A (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
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:
  • A (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
  • V2 (gp_Vec2d) –
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:
  • A (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
  • V2 (gp_Vec2d) –
  • V3 (gp_Vec2d) –
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:
  • A (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
Return type:

void

thisown

The membership flag

OCC.HLRBRep.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
OCC.HLRBRep.HLRBRep_CLPropsATool_D1(*args)
  • Computes the point <P> and first derivative <V1> of parameter <U> on the curve <C>.
Parameters:
  • A (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
Return type:

void

OCC.HLRBRep.HLRBRep_CLPropsATool_D2(*args)
  • Computes the point <P>, the first derivative <V1> and second derivative <V2> of parameter <U> on the curve <C>.
Parameters:
  • A (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
  • V2 (gp_Vec2d) –
Return type:

void

OCC.HLRBRep.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:
  • A (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
  • V2 (gp_Vec2d) –
  • V3 (gp_Vec2d) –
Return type:

void

OCC.HLRBRep.HLRBRep_CLPropsATool_FirstParameter(*args)
  • returns the first parameter bound of the curve.
Parameters:A (Standard_Address) –
Return type:float
OCC.HLRBRep.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
OCC.HLRBRep.HLRBRep_CLPropsATool_Value(*args)
  • Computes the point <P> of parameter <U> on the Curve from HLRBRep <C>.
Parameters:
  • A (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
Return type:

void

class OCC.HLRBRep.HLRBRep_Curve

Bases: object

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:
  • U (float) –
  • P (gp_Pnt) –
Return type:

None

  • Computes the point of parameter U on the curve.
Parameters:
  • U (float) –
  • P (gp_Pnt2d) –
Return type:

None

D1()
  • Computes the point of parameter U on the curve with its first derivative.
Parameters:
  • U (float) –
  • P (gp_Pnt) –
  • V (gp_Vec) –
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:
  • U (float) –
  • P (gp_Pnt2d) –
  • V (gp_Vec2d) –
Return type:

None

D2()
  • Raised if the continuity of the current interval is not C2.
Parameters:
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
  • V2 (gp_Vec2d) –
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:
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
  • V2 (gp_Vec2d) –
  • V3 (gp_Vec2d) –
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:
  • U (float) –
  • N (Standard_Integer) –
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:
  • TP (TColgp_Array1OfPnt2d) –
  • aCurve (Handle_Geom_BSplineCurve &) –
  • TP
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:
  • AtStart (bool) –
  • P (gp_Pnt2d) –
  • D (gp_Dir2d) –
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 OCC.HLRBRep.HLRBRep_CurveTool(*args, **kwargs)

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:
  • C (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
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:
  • C (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V (gp_Vec2d) –
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:
  • C (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
  • V2 (gp_Vec2d) –
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:
  • C (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
  • V2 (gp_Vec2d) –
  • V3 (gp_Vec2d) –
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 (Standard_Integer) –
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 (Standard_Integer) –
  • 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

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

void

OCC.HLRBRep.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:
  • C (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V (gp_Vec2d) –
Return type:

void

OCC.HLRBRep.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:
  • C (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
  • V2 (gp_Vec2d) –
Return type:

void

OCC.HLRBRep.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:
  • C (Standard_Address) –
  • U (float) –
  • P (gp_Pnt2d) –
  • V1 (gp_Vec2d) –
  • V2 (gp_Vec2d) –
  • V3 (gp_Vec2d) –
Return type:

void

OCC.HLRBRep.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 (Standard_Integer) –
Return type:

gp_Vec2d

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

void

OCC.HLRBRep.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
OCC.HLRBRep.HLRBRep_CurveTool_Hyperbola(*args)
Parameters:C (Standard_Address) –
Return type:gp_Hypr2d
OCC.HLRBRep.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

OCC.HLRBRep.HLRBRep_CurveTool_IsClosed(*args)
Parameters:C (Standard_Address) –
Return type:bool
OCC.HLRBRep.HLRBRep_CurveTool_IsPeriodic(*args)
Parameters:C (Standard_Address) –
Return type:bool
OCC.HLRBRep.HLRBRep_CurveTool_LastParameter(*args)
Parameters:C (Standard_Address) –
Return type:float
OCC.HLRBRep.HLRBRep_CurveTool_Line(*args)
Parameters:C (Standard_Address) –
Return type:gp_Lin2d
OCC.HLRBRep.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
OCC.HLRBRep.HLRBRep_CurveTool_NbSamples(*args)
Parameters:
  • C (Standard_Address) –
  • U0 (float) –
  • U1 (float) –
  • C
Return type:

int

Return type:

int

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

float

OCC.HLRBRep.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
OCC.HLRBRep.HLRBRep_CurveTool_Value(*args)
  • Computes the point of parameter U on the curve.
Parameters:
  • C (Standard_Address) –
  • U (float) –
Return type:

gp_Pnt2d

class OCC.HLRBRep.HLRBRep_Data(*args)

Bases: OCC.MMgt.MMgt_TShared

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

TopAbs_State

Compare()
  • Returns the state of the Edge <EData> after classification.
Parameters:
  • E (Standard_Integer) –
  • 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 (Standard_Integer) –
  • 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()

HLRBRep_Data_GetHandle(HLRBRep_Data self) -> Handle_HLRBRep_Data

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 (Standard_Integer) –
  • 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 (Standard_Integer) –
  • e2 (Standard_Integer) –
Return type:

None

InitEdge()
  • Begin an iteration only on visible Edges crossing the face number <FI>.
Parameters:
  • FI (Standard_Integer) –
  • 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:
  • FE (Standard_Integer) –
  • Param (float) –
  • Tg (gp_Dir2d) –
  • Nm (gp_Dir2d) –
  • Cu (float &) –
Return type:

None

LocalLEGeometry2D()
  • Returns the local description of the projection of the current LEdge at parameter <Param>.
Parameters:
  • Param (float) –
  • Tg (gp_Dir2d) –
  • Nm (gp_Dir2d) –
  • Cu (float &) –
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
  • skip – default value is Standard_True
Return type:

None

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 (Standard_Integer) –
  • EData (HLRBRep_EdgeData &) –
  • Nbp (Standard_Integer) –
  • 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 (Standard_Integer) –
  • de (Standard_Integer) –
  • df (Standard_Integer) –
Return type:

None

thisown

The membership flag

class OCC.HLRBRep.HLRBRep_EdgeBuilder(*args)

Bases: object

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 OCC.HLRBRep.HLRBRep_EdgeData

Bases: object

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 (Standard_Integer) –
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 (Standard_Integer) –
  • V2 (Standard_Integer) –
  • 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 (Standard_Integer) –
Return type:None
VSta()
Return type:int
Parameters:I (Standard_Integer) –
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 OCC.HLRBRep.HLRBRep_EdgeFaceTool(*args, **kwargs)

Bases: object

static CurvatureValue(*args)
Parameters:
  • F (Standard_Address) –
  • U (float) –
  • V (float) –
  • Tg (gp_Dir) –
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

OCC.HLRBRep.HLRBRep_EdgeFaceTool_CurvatureValue(*args)
Parameters:
  • F (Standard_Address) –
  • U (float) –
  • V (float) –
  • Tg (gp_Dir) –
Return type:

float

OCC.HLRBRep.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 OCC.HLRBRep.HLRBRep_EdgeIList(*args, **kwargs)

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

OCC.HLRBRep.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

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

void

class OCC.HLRBRep.HLRBRep_EdgeInterferenceTool(*args)

Bases: object

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:
  • Param (float) –
  • Tgt (gp_Dir) –
  • Nrm (gp_Dir) –
  • Curv (float &) –
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 OCC.HLRBRep.HLRBRep_ExactIntersectionPointOfTheIntPCurvePCurveOfCInter(*args)

Bases: object

AnErrorOccurred()
Return type:bool
NbRoots()
Return type:int
Perform()
Parameters:
  • Poly1 (HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter &) –
  • Poly2 (HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter &) –
  • NumSegOn1 (Standard_Integer &) –
  • NumSegOn2 (Standard_Integer &) –
  • 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 OCC.HLRBRep.HLRBRep_FaceData

Bases: object

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 (Standard_Integer) –
Return type:

None

SetWEdge()
  • Set the edge number <EWI> of the wire <WI>.
Parameters:
  • WI (Standard_Integer) –
  • EWI (Standard_Integer) –
  • EI (Standard_Integer) –
  • 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:
  • WI (Standard_Integer) –
  • NE (Standard_Integer) –
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 OCC.HLRBRep.HLRBRep_FaceIterator

Bases: object

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 OCC.HLRBRep.HLRBRep_HLRToShape(*args)

Bases: object

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 OCC.HLRBRep.HLRBRep_Hider(*args)

Bases: object

Hide()
  • Removes from the edges, the parts hidden by the hiding face number <FI>.
Parameters:
  • FI (Standard_Integer) –
  • MST (BRepTopAdaptor_MapOfShapeTool &) –
Return type:

None

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

The membership flag

class OCC.HLRBRep.HLRBRep_IntConicCurveOfCInter(*args)

Bases: OCC.IntRes2d.IntRes2d_Intersection

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 OCC.HLRBRep.HLRBRep_InterCSurf

Bases: OCC.IntCurveSurface.IntCurveSurface_Intersection

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 OCC.HLRBRep.HLRBRep_InternalAlgo(*args)

Bases: OCC.MMgt.MMgt_TShared

DataStructure()
Return type:Handle_HLRBRep_Data
Debug()
Parameters:deb (bool) –
Return type:None
Return type:bool
GetHandle()

HLRBRep_InternalAlgo_GetHandle(HLRBRep_InternalAlgo self) -> Handle_HLRBRep_InternalAlgo

Hide()
  • hide all the DataStructure.
Return type:None
  • hide the Shape <S> by itself.
Parameters:I (Standard_Integer) –
Return type:None
  • hide the Shape <S1> by the shape <S2>.
Parameters:
  • I (Standard_Integer) –
  • J (Standard_Integer) –
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 (Standard_Integer) –
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 (Standard_Integer) – default value is 0
Return type:

None

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

None

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

None

  • add the shape <S>.
Parameters:
  • S (Handle_HLRTopoBRep_OutLiner &) –
  • nbIso (Standard_Integer) – 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 (Standard_Integer) –
Return type:None
Select()
  • select all the DataStructure.
Return type:None
  • select only the Shape of index <I>.
Parameters:I (Standard_Integer) –
Return type:None
SelectEdge()
  • select only the edges of the Shape <S>.
Parameters:I (Standard_Integer) –
Return type:None
SelectFace()
  • select only the faces of the Shape <S>.
Parameters:I (Standard_Integer) –
Return type:None
SeqOfShapeBounds()
Return type:HLRBRep_SeqOfShapeBounds
ShapeBounds()
Parameters:I (Standard_Integer) –
Return type:HLRBRep_ShapeBounds
ShapeData()
  • Change the Shape Data of the Shape of index <I>.
Parameters:
  • I (Standard_Integer) –
  • 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 (Standard_Integer) –
Return type:None
Update()
  • update the DataStructure.
Return type:None
thisown

The membership flag

class OCC.HLRBRep.HLRBRep_Intersector

Bases: object

CSPoint()
Parameters:N (Standard_Integer) –
Return type:IntCurveSurface_IntersectionPoint
CSSegment()
Parameters:N (Standard_Integer) –
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:
  • nA (Standard_Integer) –
  • A1 (Standard_Address) –
  • da1 (float) –
  • db1 (float) –
  • nB (Standard_Integer) –
  • A2 (Standard_Address) –
  • da2 (float) –
  • db2 (float) –
  • NoBound (bool) –
  • L (gp_Lin) –
  • P (float) –
Return type:

None

Return type:

None

Point()
Parameters:N (Standard_Integer) –
Return type:IntRes2d_IntersectionPoint
Segment()
Parameters:N (Standard_Integer) –
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 OCC.HLRBRep.HLRBRep_LineTool(*args, **kwargs)

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:
  • C (gp_Lin) –
  • U (float) –
  • P (gp_Pnt) –
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:
  • C (gp_Lin) –
  • U (float) –
  • P (gp_Pnt) –
  • V (gp_Vec) –
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:
  • C (gp_Lin) –
  • U (float) –
  • P (gp_Pnt) –
  • V1 (gp_Vec) –
  • V2 (gp_Vec) –
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:
  • C (gp_Lin) –
  • U (float) –
  • P (gp_Pnt) –
  • V1 (gp_Vec) –
  • V2 (gp_Vec) –
  • V3 (gp_Vec) –
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 (gp_Lin) –
  • U (float) –
  • N (Standard_Integer) –
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:
  • C (gp_Lin) –
  • U0 (float) –
  • U1 (float) –
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:
  • C (gp_Lin) –
  • TP (TColgp_Array1OfPnt) –
Return type:

void

static PolesAndWeights(*args)
Parameters:
  • C (gp_Lin) –
  • TP (TColgp_Array1OfPnt) –
  • TW (TColStd_Array1OfReal &) –
Return type:

void

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

float

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

void

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

gp_Pnt

thisown

The membership flag

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

void

OCC.HLRBRep.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:
  • C (gp_Lin) –
  • U (float) –
  • P (gp_Pnt) –
  • V (gp_Vec) –
Return type:

void

OCC.HLRBRep.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:
  • C (gp_Lin) –
  • U (float) –
  • P (gp_Pnt) –
  • V1 (gp_Vec) –
  • V2 (gp_Vec) –
Return type:

void

OCC.HLRBRep.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:
  • C (gp_Lin) –
  • U (float) –
  • P (gp_Pnt) –
  • V1 (gp_Vec) –
  • V2 (gp_Vec) –
  • V3 (gp_Vec) –
Return type:

void

OCC.HLRBRep.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:
  • C (gp_Lin) –
  • U (float) –
  • N (Standard_Integer) –
Return type:

gp_Vec

OCC.HLRBRep.HLRBRep_LineTool_Degree(*args)
Parameters:C (gp_Lin) –
Return type:int
OCC.HLRBRep.HLRBRep_LineTool_Ellipse(*args)
Parameters:C (gp_Lin) –
Return type:gp_Elips
OCC.HLRBRep.HLRBRep_LineTool_FirstParameter(*args)
Parameters:C (gp_Lin) –
Return type:float
OCC.HLRBRep.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
OCC.HLRBRep.HLRBRep_LineTool_Hyperbola(*args)
Parameters:C (gp_Lin) –
Return type:gp_Hypr
OCC.HLRBRep.HLRBRep_LineTool_IntervalContinuity(*args)
Parameters:C (gp_Lin) –
Return type:GeomAbs_Shape
OCC.HLRBRep.HLRBRep_LineTool_IntervalFirst(*args)
  • Returns the first parameter of the current interval.
Parameters:C (gp_Lin) –
Return type:float
OCC.HLRBRep.HLRBRep_LineTool_IntervalLast(*args)
  • Returns the last parameter of the current interval.
Parameters:C (gp_Lin) –
Return type:float
OCC.HLRBRep.HLRBRep_LineTool_Intervals(*args)
  • Sets the current working interval.
Parameters:
  • C (gp_Lin) –
  • T (TColStd_Array1OfReal &) –
  • Sh (GeomAbs_Shape) –
Return type:

void

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

void

OCC.HLRBRep.HLRBRep_LineTool_LastParameter(*args)
Parameters:C (gp_Lin) –
Return type:float
OCC.HLRBRep.HLRBRep_LineTool_Line(*args)
Parameters:C (gp_Lin) –
Return type:gp_Lin
OCC.HLRBRep.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

OCC.HLRBRep.HLRBRep_LineTool_NbKnots(*args)
Parameters:C (gp_Lin) –
Return type:int
OCC.HLRBRep.HLRBRep_LineTool_NbPoles(*args)
Parameters:C (gp_Lin) –
Return type:int
OCC.HLRBRep.HLRBRep_LineTool_NbSamples(*args)
Parameters:
  • C (gp_Lin) –
  • U0 (float) –
  • U1 (float) –
Return type:

int

OCC.HLRBRep.HLRBRep_LineTool_Parabola(*args)
Parameters:C (gp_Lin) –
Return type:gp_Parab
OCC.HLRBRep.HLRBRep_LineTool_Period(*args)
Parameters:C (gp_Lin) –
Return type:float
OCC.HLRBRep.HLRBRep_LineTool_Poles(*args)
Parameters:
  • C (gp_Lin) –
  • TP (TColgp_Array1OfPnt) –
Return type:

void

OCC.HLRBRep.HLRBRep_LineTool_PolesAndWeights(*args)
Parameters:
  • C (gp_Lin) –
  • TP (TColgp_Array1OfPnt) –
  • TW (TColStd_Array1OfReal &) –
Return type:

void

OCC.HLRBRep.HLRBRep_LineTool_Resolution(*args)
  • Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters:
  • C (gp_Lin) –
  • R3d (float) –
Return type:

float

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

void

OCC.HLRBRep.HLRBRep_LineTool_Value(*args)
  • Computes the point of parameter U on the line.
Parameters:
  • C (gp_Lin) –
  • U (float) –
Return type:

gp_Pnt

class OCC.HLRBRep.HLRBRep_ListIteratorOfListOfBPnt2D(*args)

Bases: object

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 OCC.HLRBRep.HLRBRep_ListIteratorOfListOfBPoint(*args)

Bases: object

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 OCC.HLRBRep.HLRBRep_ListNodeOfListOfBPnt2D(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

HLRBRep_ListNodeOfListOfBPnt2D_GetHandle(HLRBRep_ListNodeOfListOfBPnt2D self) -> Handle_HLRBRep_ListNodeOfListOfBPnt2D

Value()
Return type:HLRBRep_BiPnt2D
thisown

The membership flag

class OCC.HLRBRep.HLRBRep_ListNodeOfListOfBPoint(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

HLRBRep_ListNodeOfListOfBPoint_GetHandle(HLRBRep_ListNodeOfListOfBPoint self) -> Handle_HLRBRep_ListNodeOfListOfBPoint

Value()
Return type:HLRBRep_BiPoint
thisown

The membership flag

class OCC.HLRBRep.HLRBRep_ListOfBPnt2D

Bases: object

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 OCC.HLRBRep.HLRBRep_ListOfBPoint

Bases: object

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 OCC.HLRBRep.HLRBRep_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfCInter(*args)

Bases: object

Derivative()
Parameters:
  • Param (float) –
  • D (float &) –
Return type:

bool

Value()
Parameters:
  • Param (float) –
  • F (float &) –
Return type:

bool

Values()
Parameters:
  • Param (float) –
  • F (float &) –
  • D (float &) –
Return type:

bool

thisown

The membership flag

class OCC.HLRBRep.HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter(*args)

Bases: object

Derivative()
Parameters:
  • U (float) –
  • DF (float &) –
Return type:

bool

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

None

Value()
Parameters:
  • U (float) –
  • F (float &) –
Return type:

bool

Values()
Parameters:
  • U (float) –
  • F (float &) –
  • DF (float &) –
Return type:

bool

thisown

The membership flag

class OCC.HLRBRep.HLRBRep_PolyAlgo(*args)

Bases: OCC.MMgt.MMgt_TShared

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()

HLRBRep_PolyAlgo_GetHandle(HLRBRep_PolyAlgo self) -> Handle_HLRBRep_PolyAlgo

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 (Standard_Integer) –
Return type:None
Shape()
Parameters:I (Standard_Integer) –
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 OCC.HLRBRep.HLRBRep_PolyHLRToShape

Bases: object

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 OCC.HLRBRep.HLRBRep_SLProps(*args)

Bases: object

CurvatureDirections()
Parameters:
  • MaxD (gp_Dir) –
  • MinD (gp_Dir) –
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:
  • U (float) –
  • V (float) –
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 OCC.HLRBRep.HLRBRep_SLPropsATool(*args, **kwargs)

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:
  • A (Standard_Address) –
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
  • D1U (gp_Vec) –
  • D1V (gp_Vec) –
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:
  • A (Standard_Address) –
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
  • D1U (gp_Vec) –
  • D1V (gp_Vec) –
  • D2U (gp_Vec) –
  • D2V (gp_Vec) –
  • DUV (gp_Vec) –
Return type:

void

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

gp_Vec

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

void

thisown

The membership flag

OCC.HLRBRep.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

OCC.HLRBRep.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
OCC.HLRBRep.HLRBRep_SLPropsATool_D1(*args)
  • Computes the point <P> and first derivative <D1*> of parameter <U> and <V> on the Surface <A>.
Parameters:
  • A (Standard_Address) –
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
  • D1U (gp_Vec) –
  • D1V (gp_Vec) –
Return type:

void

OCC.HLRBRep.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:
  • A (Standard_Address) –
  • U (float) –
  • V (float) –
  • P (gp_Pnt) –
  • D1U (gp_Vec) –
  • D1V (gp_Vec) –
  • D2U (gp_Vec) –
  • D2V (gp_Vec) –
  • DUV (gp_Vec) –
Return type:

void

OCC.HLRBRep.HLRBRep_SLPropsATool_DN(*args)
Parameters:
  • A (Standard_Address) –
  • U (float) –
  • V (float) –
  • Nu (Standard_Integer) –
  • Nv (Standard_Integer) –
Return type:

gp_Vec

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

void

class OCC.HLRBRep.HLRBRep_SeqOfShapeBounds

Bases: OCC.TCollection.TCollection_BaseSequence

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 (Standard_Integer) –
Return type:HLRBRep_ShapeBounds
Clear()
Return type:None
First()
Return type:HLRBRep_ShapeBounds
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (HLRBRep_ShapeBounds &) –
  • Index
  • S (HLRBRep_SeqOfShapeBounds &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • 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 (Standard_Integer) –
  • FromIndex (Standard_Integer) –
  • ToIndex (Standard_Integer) –
Return type:

None

Return type:

None

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

None

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

None

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

The membership flag

class OCC.HLRBRep.HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter

Bases: OCC.TCollection.TCollection_BaseSequence

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 (Standard_Integer) –
Return type:Extrema_POnCurv2d
Clear()
Return type:None
First()
Return type:Extrema_POnCurv2d
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (Extrema_POnCurv2d &) –
  • Index
  • S (HLRBRep_SeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • 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 (Standard_Integer) –
  • FromIndex (Standard_Integer) –
  • ToIndex (Standard_Integer) –
Return type:

None

Return type:

None

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

None

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

None

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

The membership flag

class OCC.HLRBRep.HLRBRep_SequenceNodeOfSeqOfShapeBounds(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

HLRBRep_SequenceNodeOfSeqOfShapeBounds_GetHandle(HLRBRep_SequenceNodeOfSeqOfShapeBounds self) -> Handle_HLRBRep_SequenceNodeOfSeqOfShapeBounds

Value()
Return type:HLRBRep_ShapeBounds
thisown

The membership flag

class OCC.HLRBRep.HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter_GetHandle(HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter self) -> Handle_HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter

Value()
Return type:Extrema_POnCurv2d
thisown

The membership flag

class OCC.HLRBRep.HLRBRep_ShapeBounds(*args)

Bases: object

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

None

MinMax()
Return type:Standard_Address
NbOfIso()
Parameters:nbIso (Standard_Integer) –
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 (Standard_Integer &) –
  • NE (Standard_Integer &) –
  • NF (Standard_Integer &) –
Return type:

None

Translate()
Parameters:
  • NV (Standard_Integer) –
  • NE (Standard_Integer) –
  • NF (Standard_Integer) –
Return type:

None

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

The membership flag

class OCC.HLRBRep.HLRBRep_ShapeToHLR(*args, **kwargs)

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 (Standard_Integer) – default value is 0
Return type:

Handle_HLRBRep_Data

  • 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 (Standard_Integer) – default value is 0
Return type:

Handle_HLRBRep_Data

thisown

The membership flag

OCC.HLRBRep.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 (Standard_Integer) – default value is 0
Return type:

Handle_HLRBRep_Data

  • 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 (Standard_Integer) – default value is 0
Return type:

Handle_HLRBRep_Data

class OCC.HLRBRep.HLRBRep_SurfaceTool(*args, **kwargs)

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:
  • S (Standard_Address) –
  • u (float) –
  • v (float) –
  • P (gp_Pnt) –
Return type:

void

static D1(*args)
Parameters:
  • S (Standard_Address) –
  • u (float) –
  • v (float) –
  • P (gp_Pnt) –
  • D1u (gp_Vec) –
  • D1v (gp_Vec) –
Return type:

void

static D2(*args)
Parameters:
  • S (Standard_Address) –
  • u (float) –
  • v (float) –
  • P (gp_Pnt) –
  • D1U (gp_Vec) –
  • D1V (gp_Vec) –
  • D2U (gp_Vec) –
  • D2V (gp_Vec) –
  • D2UV (gp_Vec) –
Return type:

void

static D3(*args)
Parameters:
  • S (Standard_Address) –
  • u (float) –
  • v (float) –
  • P (gp_Pnt) –
  • D1U (gp_Vec) –
  • D1V (gp_Vec) –
  • D2U (gp_Vec) –
  • D2V (gp_Vec) –
  • D2UV (gp_Vec) –
  • D3U (gp_Vec) –
  • D3V (gp_Vec) –
  • D3UUV (gp_Vec) –
  • D3UVV (gp_Vec) –
Return type:

void

static DN(*args)
Parameters:
  • S (Standard_Address) –
  • u (float) –
  • v (float) –
  • Nu (Standard_Integer) –
  • Nv (Standard_Integer) –
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

OCC.HLRBRep.HLRBRep_SurfaceTool_AxeOfRevolution(*args)
Parameters:S (Standard_Address) –
Return type:gp_Ax1
OCC.HLRBRep.HLRBRep_SurfaceTool_BSpline(*args)
Parameters:S (Standard_Address) –
Return type:Handle_Geom_BSplineSurface
OCC.HLRBRep.HLRBRep_SurfaceTool_BasisCurve(*args)
Parameters:S (Standard_Address) –
Return type:Handle_Adaptor3d_HCurve
OCC.HLRBRep.HLRBRep_SurfaceTool_BasisSurface(*args)
Parameters:S (Standard_Address) –
Return type:Handle_Adaptor3d_HSurface
OCC.HLRBRep.HLRBRep_SurfaceTool_Bezier(*args)
Parameters:S (Standard_Address) –
Return type:Handle_Geom_BezierSurface
OCC.HLRBRep.HLRBRep_SurfaceTool_Cone(*args)
Parameters:S (Standard_Address) –
Return type:gp_Cone
OCC.HLRBRep.HLRBRep_SurfaceTool_Cylinder(*args)
Parameters:S (Standard_Address) –
Return type:gp_Cylinder
OCC.HLRBRep.HLRBRep_SurfaceTool_D0(*args)
Parameters:
  • S (Standard_Address) –
  • u (float) –
  • v (float) –
  • P (gp_Pnt) –
Return type:

void

OCC.HLRBRep.HLRBRep_SurfaceTool_D1(*args)
Parameters:
  • S (Standard_Address) –
  • u (float) –
  • v (float) –
  • P (gp_Pnt) –
  • D1u (gp_Vec) –
  • D1v (gp_Vec) –
Return type:

void

OCC.HLRBRep.HLRBRep_SurfaceTool_D2(*args)
Parameters:
  • S (Standard_Address) –
  • u (float) –
  • v (float) –
  • P (gp_Pnt) –
  • D1U (gp_Vec) –
  • D1V (gp_Vec) –
  • D2U (gp_Vec) –
  • D2V (gp_Vec) –
  • D2UV (gp_Vec) –
Return type:

void

OCC.HLRBRep.HLRBRep_SurfaceTool_D3(*args)
Parameters:
  • S (Standard_Address) –
  • u (float) –
  • v (float) –
  • P (gp_Pnt) –
  • D1U (gp_Vec) –
  • D1V (gp_Vec) –
  • D2U (gp_Vec) –
  • D2V (gp_Vec) –
  • D2UV (gp_Vec) –
  • D3U (gp_Vec) –
  • D3V (gp_Vec) –
  • D3UUV (gp_Vec) –
  • D3UVV (gp_Vec) –
Return type:

void

OCC.HLRBRep.HLRBRep_SurfaceTool_DN(*args)
Parameters:
  • S (Standard_Address) –
  • u (float) –
  • v (float) –
  • Nu (Standard_Integer) –
  • Nv (Standard_Integer) –
Return type:

gp_Vec

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

int

Return type:

int

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

int

Return type:

int

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

int

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

int

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

void

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

float

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

Handle_Adaptor3d_HSurface

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

void

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

float

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

Handle_Adaptor3d_HSurface

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

gp_Pnt

class OCC.HLRBRep.HLRBRep_TheCSFunctionOfInterCSurf(*args)

Bases: object

AuxillarCurve()
Return type:gp_Lin
AuxillarSurface()
Return type:Standard_Address
Derivatives()
Parameters:
  • X (math_Vector &) –
  • D (math_Matrix &) –
Return type:

bool

NbEquations()
Return type:int
NbVariables()
Return type:int
Point()
Return type:gp_Pnt
Root()
Return type:float
Value()
Parameters:
  • X (math_Vector &) –
  • F (math_Vector &) –
Return type:

bool

Values()
Parameters:
  • X (math_Vector &) –
  • F (math_Vector &) –
  • D (math_Matrix &) –
Return type:

bool

thisown

The membership flag

class OCC.HLRBRep.HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter(*args)

Bases: object

Derivatives()
Parameters:
  • X (math_Vector &) –
  • D (math_Matrix &) –
Return type:

bool

NbEquations()
Return type:int
NbVariables()
Return type:int
Value()
Parameters:
  • X (math_Vector &) –
  • F (math_Vector &) –
Return type:

bool

Values()
Parameters:
  • X (math_Vector &) –
  • F (math_Vector &) –
  • D (math_Matrix &) –
Return type:

bool

thisown

The membership flag

class OCC.HLRBRep.HLRBRep_TheExactInterCSurf(*args)

Bases: object

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:
  • U (float) –
  • V (float) –
  • W (float) –
  • Rsnld (math_FunctionSetRoot &) –
  • u0 (float) –
  • v0 (float) –
  • u1 (float) –
  • v1 (float) –
  • w0 (float) –
  • w1 (float) –
Return type:

None

Point()
Return type:gp_Pnt
thisown

The membership flag

class OCC.HLRBRep.HLRBRep_TheIntConicCurveOfCInter(*args)

Bases: OCC.IntRes2d.IntRes2d_Intersection

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 OCC.HLRBRep.HLRBRep_TheIntPCurvePCurveOfCInter

Bases: OCC.IntRes2d.IntRes2d_Intersection

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 OCC.HLRBRep.HLRBRep_TheInterferenceOfInterCSurf(*args)

Bases: OCC.Intf.Intf_Interference

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 OCC.HLRBRep.HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter(*args)

Bases: OCC.IntRes2d.IntRes2d_Intersection

And_Domaine_Objet1_Intersections()
Parameters:
  • TheImpTool (IntCurve_IConicTool &) –
  • TheParCurve (Standard_Address &) –
  • TheImpCurveDomain (IntRes2d_Domain &) –
  • TheParCurveDomain (IntRes2d_Domain &) –
  • NbResultats (Standard_Integer &) –
  • 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 OCC.HLRBRep.HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter(*args)

Bases: object

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

None

IsDone()
Return type:bool
IsMin()
Return type:bool
Perform()
Parameters:
  • P (gp_Pnt2d) –
  • U0 (float) –
Return type:

None

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

The membership flag

class OCC.HLRBRep.HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter(*args)

Bases: OCC.Intf.Intf_Polygon2d

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

float

AutoIntersectionIsPossible()
Return type:bool
CalculRegion()
Parameters:
  • x (float) –
  • y (float) –
  • x1 (float) –
  • x2 (float) –
  • y1 (float) –
  • y2 (float) –
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 OCC.HLRBRep.HLRBRep_ThePolygonOfInterCSurf(*args)

Bases: object

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

float

BeginOfSeg()
Parameters:Index (Standard_Integer) –
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 (Standard_Integer) –
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 OCC.HLRBRep.HLRBRep_ThePolygonToolOfInterCSurf(*args, **kwargs)

Bases: object

static BeginOfSeg(*args)
Parameters:
  • thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
  • Index (Standard_Integer) –
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 (Standard_Integer) –
Return type:

gp_Pnt

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

The membership flag

OCC.HLRBRep.HLRBRep_ThePolygonToolOfInterCSurf_BeginOfSeg(*args)
Parameters:
  • thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
  • Index (Standard_Integer) –
Return type:

gp_Pnt

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

gp_Pnt

OCC.HLRBRep.HLRBRep_ThePolygonToolOfInterCSurf_NbSegments(*args)
Parameters:thePolygon (HLRBRep_ThePolygonOfInterCSurf &) –
Return type:int
class OCC.HLRBRep.HLRBRep_ThePolyhedronToolOfInterCSurf(*args, **kwargs)

Bases: object

static Bounding(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:Bnd_Box
static ComponentsBounding(*args)
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 (Standard_Integer) –
  • Index2 (Standard_Integer) –
Return type:

bool

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

gp_Pnt

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

int

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

void

thisown

The membership flag

OCC.HLRBRep.HLRBRep_ThePolyhedronToolOfInterCSurf_Bounding(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:Bnd_Box
OCC.HLRBRep.HLRBRep_ThePolyhedronToolOfInterCSurf_ComponentsBounding(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:Handle_Bnd_HArray1OfBox
OCC.HLRBRep.HLRBRep_ThePolyhedronToolOfInterCSurf_DeflectionOverEstimation(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:float
OCC.HLRBRep.HLRBRep_ThePolyhedronToolOfInterCSurf_Dump(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:void
OCC.HLRBRep.HLRBRep_ThePolyhedronToolOfInterCSurf_GetBorderDeflection(*args)
Parameters:thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
Return type:float
OCC.HLRBRep.HLRBRep_ThePolyhedronToolOfInterCSurf_IsOnBound(*args)
Parameters:
  • thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • Index1 (Standard_Integer) –
  • Index2 (Standard_Integer) –
Return type:

bool

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

gp_Pnt

OCC.HLRBRep.HLRBRep_ThePolyhedronToolOfInterCSurf_TriConnex(*args)
Parameters:
  • thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • Triang (Standard_Integer) –
  • Pivot (Standard_Integer) –
  • Pedge (Standard_Integer) –
  • TriCon (Standard_Integer &) –
  • OtherP (Standard_Integer &) –
Return type:

int

OCC.HLRBRep.HLRBRep_ThePolyhedronToolOfInterCSurf_Triangle(*args)
Parameters:
  • thePolyh (HLRBRep_ThePolyhedronOfInterCSurf &) –
  • Index (Standard_Integer) –
  • P1 (Standard_Integer &) –
  • P2 (Standard_Integer &) –
  • P3 (Standard_Integer &) –
Return type:

void

class OCC.HLRBRep.HLRBRep_TheProjPCurOfCInter(*args, **kwargs)

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

OCC.HLRBRep.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 OCC.HLRBRep.HLRBRep_TheQuadCurvExactInterCSurf(*args)

Bases: object

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

None

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

The membership flag

class OCC.HLRBRep.HLRBRep_TheQuadCurvFuncOfTheQuadCurvExactInterCSurf(*args)

Bases: object

Derivative()
Parameters:
  • Param (float) –
  • D (float &) –
Return type:

bool

Value()
Parameters:
  • Param (float) –
  • F (float &) –
Return type:

bool

Values()
Parameters:
  • Param (float) –
  • F (float &) –
  • D (float &) –
Return type:

bool

thisown

The membership flag

class OCC.HLRBRep.HLRBRep_VertexList(*args)

Bases: object

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 OCC.HLRBRep.Handle_HLRBRep_Algo(*args)

Bases: OCC.HLRBRep.Handle_HLRBRep_InternalAlgo

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

The membership flag

class OCC.HLRBRep.Handle_HLRBRep_AreaLimit(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.HLRBRep.Handle_HLRBRep_Data(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.HLRBRep.Handle_HLRBRep_InternalAlgo(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.HLRBRep.Handle_HLRBRep_ListNodeOfListOfBPnt2D(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.HLRBRep.Handle_HLRBRep_ListNodeOfListOfBPoint(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.HLRBRep.Handle_HLRBRep_PolyAlgo(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.HLRBRep.Handle_HLRBRep_SequenceNodeOfSeqOfShapeBounds(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.HLRBRep.Handle_HLRBRep_SequenceNodeOfSeqPCOfPCLocFOfTheLocateExtPCOfTheProjPCurOfCInter(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.HLRBRep.SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class OCC.HLRBRep.hlrbrep(*args, **kwargs)

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

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

TopoDS_Edge

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

TopoDS_Edge

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

void