OCC.Core.HLRBRep module¶
HLRBRep module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_hlrbrep.html
-
class
HLRBRep_Algo
(*args)¶ Bases:
OCC.Core.HLRBRep.HLRBRep_InternalAlgo
- Constructs an empty framework for the calculation of visible and hidden lines of a shape in a projection. Use the function: - Projector to define the point of view - Add to select the shape or shapes to be visualized - Update to compute the outlines of the shape, and - Hide to compute the visible and hidden lines of the shape.
- rtype
None:param A:
- type A
HLRBRep_Algo
- rtype
None
-
Add
()¶ - add the Shape <S>.
- param S
- type S
TopoDS_Shape
- param SData
- type SData
Standard_Transient
- param nbIso
default value is 0
- type nbIso
int
- rtype
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.
- param S
- type S
TopoDS_Shape
- param nbIso
default value is 0
- type nbIso
int
- rtype
None
-
static
DownCast
(t)¶
-
Index
()¶ - return the index of the Shape <S> and return 0 if the Shape <S> is not found.
- param S
- type S
TopoDS_Shape
- rtype
int
-
OutLinedShapeNullify
()¶ - nullify all the results of OutLiner from HLRTopoBRep.
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_AreaLimit
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- The previous and next field are set to NULL.
- param V
- type V
HLRAlgo_Intersection
- param Boundary
- type Boundary
bool
- param Interference
- type Interference
bool
- param StateBefore
- type StateBefore
TopAbs_State
- param StateAfter
- type StateAfter
TopAbs_State
- param EdgeBefore
- type EdgeBefore
TopAbs_State
- param EdgeAfter
- type EdgeAfter
TopAbs_State
- rtype
None
-
static
DownCast
(t)¶
-
EdgeAfter
()¶ - Parameters
St –
- type St
TopAbs_State
- rtype
None:rtype: TopAbs_State
-
EdgeBefore
()¶ - Parameters
St –
- type St
TopAbs_State
- rtype
None:rtype: TopAbs_State
-
Next
()¶ - Parameters
N –
- type N
HLRBRep_AreaLimit
- rtype
None:rtype: opencascade::handle<HLRBRep_AreaLimit>
-
Previous
()¶ - Parameters
P –
- type P
HLRBRep_AreaLimit
- rtype
None:rtype: opencascade::handle<HLRBRep_AreaLimit>
-
StateAfter
()¶ - Parameters
St –
- type St
TopAbs_State
- rtype
None:rtype: TopAbs_State
-
StateBefore
()¶ - Parameters
St –
- type St
TopAbs_State
- rtype
None:rtype: TopAbs_State
-
Vertex
()¶ - Return type
-
property
thisown
¶ The membership flag
-
class
HLRBRep_Array1OfEData
(*args)¶ Bases:
object
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
Init
()¶
-
IsAllocated
()¶
-
IsDeletable
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Move
()¶
-
Resize
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
next
()¶
-
property
thisown
¶ The membership flag
-
-
class
HLRBRep_Array1OfFData
(*args)¶ Bases:
object
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
First
()¶
-
Init
()¶
-
IsAllocated
()¶
-
IsDeletable
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Move
()¶
-
Resize
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
next
()¶
-
property
thisown
¶ The membership flag
-
-
class
HLRBRep_BCurveTool
¶ Bases:
object
-
static
BSpline
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
opencascade::handle<Geom_BSplineCurve>
-
static
Bezier
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
opencascade::handle<Geom_BezierCurve>
-
static
Circle
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
gp_Circ
-
static
Continuity
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
GeomAbs_Shape
-
static
D0
()¶ - Computes the point of parameter U on the curve.
- param C
- type C
BRepAdaptor_Curve
- param U
- type U
float
- param P
- type P
gp_Pnt
- rtype
None
-
static
D1
()¶ - Computes the point of parameter U on the curve with its first derivative. Raised if the continuity of the current interval is not C1.
- param C
- type C
BRepAdaptor_Curve
- param U
- type U
float
- param P
- type P
gp_Pnt
- param V
- type V
gp_Vec
- rtype
None
-
static
D2
()¶ - 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.
- param C
- type C
BRepAdaptor_Curve
- param U
- type U
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- rtype
None
-
static
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.
- param C
- type C
BRepAdaptor_Curve
- param U
- type U
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- param V3
- type V3
gp_Vec
- rtype
None
-
static
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.
- param C
- type C
BRepAdaptor_Curve
- param U
- type U
float
- param N
- type N
int
- rtype
gp_Vec
-
static
Degree
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
int
-
static
Ellipse
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
gp_Elips
-
static
FirstParameter
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
float
-
static
GetType
()¶ - Returns the type of the curve in the current intervalLine, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
- param C
- type C
BRepAdaptor_Curve
- rtype
GeomAbs_CurveType
-
static
Hyperbola
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
gp_Hypr
-
static
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()
- param C
- type C
BRepAdaptor_Curve
- param T
- type T
TColStd_Array1OfReal
- param S
- type S
GeomAbs_Shape
- rtype
None
-
static
IsClosed
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
bool
-
static
IsPeriodic
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
bool
-
static
IsRational
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
bool
-
static
LastParameter
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
float
-
static
Line
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
gp_Lin
-
static
NbIntervals
()¶ - Returns the number of intervals for continuity <S>. May be one if Continuity(myclass) >= <S>
- param C
- type C
BRepAdaptor_Curve
- param S
- type S
GeomAbs_Shape
- rtype
int
-
static
NbKnots
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
int
-
static
NbPoles
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
int
-
static
NbSamples
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- param U0
- type U0
float
- param U1
- type U1
float
- rtype
int
-
static
Parabola
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
gp_Parab
-
static
Period
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- rtype
float
-
static
Poles
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- param T
- type T
TColgp_Array1OfPnt
- rtype
void
-
static
PolesAndWeights
()¶ - Parameters
C –
- type C
BRepAdaptor_Curve
- param T
- type T
TColgp_Array1OfPnt
- param W
- type W
TColStd_Array1OfReal
- rtype
void
-
static
Resolution
()¶ - Returns the parametric resolution corresponding to the real space resolution <R3d>.
- param C
- type C
BRepAdaptor_Curve
- param R3d
- type R3d
float
- rtype
float
-
static
Value
()¶ - Computes the point of parameter U on the curve.
- param C
- type C
BRepAdaptor_Curve
- param U
- type U
float
- rtype
gp_Pnt
-
property
thisown
¶ The membership flag
-
static
-
class
HLRBRep_BiPnt2D
(*args)¶ Bases:
object
- Return type
None:param x1: :type x1: float :param y1: :type y1: float :param x2: :type x2: float :param y2: :type y2: float :param S: :type S: TopoDS_Shape :param reg1: :type reg1: bool :param regn: :type regn: bool :param outl: :type outl: bool :param intl: :type intl: bool :rtype: None:param thePoint1: :type thePoint1: gp_XY :param thePoint2: :type thePoint2: gp_XY :param S: :type S: TopoDS_Shape :param reg1: :type reg1: bool :param regn: :type regn: bool :param outl: :type outl: bool :param intl: :type intl: bool :rtype: None
-
IntLine
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
OutLine
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Rg1Line
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
RgNLine
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Shape
()¶ - Return type
TopoDS_Shape:param S: :type S: TopoDS_Shape :rtype: None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_BiPoint
(*args)¶ Bases:
object
- Return type
None:param x1: :type x1: float :param y1: :type y1: float :param z1: :type z1: float :param x2: :type x2: float :param y2: :type y2: float :param z2: :type z2: float :param S: :type S: TopoDS_Shape :param reg1: :type reg1: bool :param regn: :type regn: bool :param outl: :type outl: bool :param intl: :type intl: bool :rtype: None
-
IntLine
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
OutLine
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Rg1Line
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
RgNLine
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Shape
()¶ - Return type
TopoDS_Shape:param S: :type S: TopoDS_Shape :rtype: None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_CInter
(*args)¶ Bases:
OCC.Core.IntRes2d.IntRes2d_Intersection
- Empty constructor.
- rtype
None* Self Intersection of a curve
- param C
- type C
Standard_Address
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Self Intersection of a curve with a domain.
- param C
- type C
Standard_Address
- param D
- type D
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between 2 curves.
- param C1
- type C1
Standard_Address
- param C2
- type C2
Standard_Address
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between 2 curves.
- param C1
- type C1
Standard_Address
- param D1
- type D1
IntRes2d_Domain
- param C2
- type C2
Standard_Address
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between 2 curves.
- param C1
- type C1
Standard_Address
- param C2
- type C2
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between 2 curves.
- param C1
- type C1
Standard_Address
- param D1
- type D1
IntRes2d_Domain
- param C2
- type C2
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None
-
ComputeDomain
()¶ - Create a domain from a curve
- param C1
- type C1
Standard_Address
- param TolDomain
- type TolDomain
float
- rtype
IntRes2d_Domain
-
Perform
()¶ - Intersection between 2 curves.
- param C1
- type C1
Standard_Address
- param D1
- type D1
IntRes2d_Domain
- param C2
- type C2
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between 2 curves.
- param C1
- type C1
Standard_Address
- param C2
- type C2
Standard_Address
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between 2 curves.
- param C1
- type C1
Standard_Address
- param D1
- type D1
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between 2 curves.
- param C1
- type C1
Standard_Address
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between 2 curves.
- param C1
- type C1
Standard_Address
- param D1
- type D1
IntRes2d_Domain
- param C2
- type C2
Standard_Address
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between 2 curves.
- param C1
- type C1
Standard_Address
- param C2
- type C2
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None
-
SetMinNbSamples
()¶ - Set / get minimum number of points in polygon intersection.
- param theMinNbSamples
- type theMinNbSamples
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_CLProps
(*args)¶ Bases:
object
- Initializes the local properties of the curve <C> The current point and the derivatives are computed at the same time, which allows an optimization of the computation time. <N> indicates the maximum number of derivations to be done (0, 1, 2 or 3). For example, to compute only the tangent, N should be equal to 1. <Resolution> is the linear tolerance (it is used to test if a vector is null).
- param C
- type C
HLRBRep_Curve *
- param N
- type N
int
- param Resolution
- type Resolution
float
- rtype
None* Same as previous constructor but here the parameter is set to the value <U>. All the computations done will be related to <C> and <U>.
- param C
- type C
HLRBRep_Curve *
- param U
- type U
float
- param N
- type N
int
- param Resolution
- type Resolution
float
- rtype
None* Same as previous constructor but here the parameter is set to the value <U> and the curve is set with SetCurve. the curve can have a empty constructor All the computations done will be related to <C> and <U> when the functions ‘set’ will be done.
- param N
- type N
int
- param Resolution
- type Resolution
float
- rtype
None
-
CentreOfCurvature
()¶ - Returns the centre of curvature <P>.
- param P
- type P
gp_Pnt2d
- rtype
None
-
Curvature
()¶ - Returns the curvature.
- rtype
float
-
D1
()¶ - Returns the first derivative. The derivative is computed if it has not been yet.
- rtype
gp_Vec2d
-
D2
()¶ - Returns the second derivative. The derivative is computed if it has not been yet.
- rtype
gp_Vec2d
-
D3
()¶ - Returns the third derivative. The derivative is computed if it has not been yet.
- rtype
gp_Vec2d
-
IsTangentDefined
()¶ - Returns True if the tangent is defined. For example, the tangent is not defined if the three first derivatives are all null.
- rtype
bool
-
Normal
()¶ - Returns the normal direction <N>.
- param N
- type N
gp_Dir2d
- rtype
None
-
SetCurve
()¶ - Initializes the local properties of the curve for the new curve.
- param C
- type C
HLRBRep_Curve *
- rtype
None
-
SetParameter
()¶ - Initializes the local properties of the curve for the parameter value <U>.
- param U
- type U
float
- rtype
None
-
Tangent
()¶ - output the tangent direction <D>
- param D
- type D
gp_Dir2d
- rtype
None
-
Value
()¶ - Returns the Point.
- rtype
gp_Pnt2d
-
property
thisown
¶ The membership flag
-
class
HLRBRep_CLPropsATool
¶ Bases:
object
-
static
Continuity
()¶ - returns the order of continuity of the curve <C>. returns 1first derivative only is computable returns 2first and second derivative only are computable. returns 3first, second and third are computable.
- param A
- type A
HLRBRep_Curve *
- rtype
int
-
static
D1
()¶ - Computes the point <P> and first derivative <V1> of parameter <U> on the curve <C>.
- param A
- type A
HLRBRep_Curve *
- param U
- type U
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- rtype
None
-
static
D2
()¶ - Computes the point <P>, the first derivative <V1> and second derivative <V2> of parameter <U> on the curve <C>.
- param A
- type A
HLRBRep_Curve *
- param U
- type U
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- rtype
None
-
static
D3
()¶ - Computes the point <P>, the first derivative <V1>, the second derivative <V2> and third derivative <V3> of parameter <U> on the curve <C>.
- param A
- type A
HLRBRep_Curve *
- param U
- type U
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- param V3
- type V3
gp_Vec2d
- rtype
None
-
static
FirstParameter
()¶ - returns the first parameter bound of the curve.
- param A
- type A
HLRBRep_Curve *
- rtype
float
-
static
LastParameter
()¶ - returns the last parameter bound of the curve. FirstParameter must be less than LastParamenter.
- param A
- type A
HLRBRep_Curve *
- rtype
float
-
static
Value
()¶ - Computes the point <P> of parameter <U> on the Curve from HLRBRep <C>.
- param A
- type A
HLRBRep_Curve *
- param U
- type U
float
- param P
- type P
gp_Pnt2d
- rtype
void
-
property
thisown
¶ The membership flag
-
static
-
class
HLRBRep_Curve
(*args)¶ Bases:
object
- Creates an undefined Curve.
- rtype
None
-
Continuity
()¶ - Return type
GeomAbs_Shape
-
Curve
()¶ - Returns the 3D curve.
- rtype
BRepAdaptor_Curve* Sets the 3D curve to be projected.
- param E
- type E
TopoDS_Edge
- rtype
None
-
D0
()¶ - Computes the 3D point of parameter U on the curve.
- param U
- type U
float
- param P
- type P
gp_Pnt
- rtype
None* Computes the point of parameter U on the curve.
- param U
- type U
float
- param P
- type P
gp_Pnt2d
- rtype
None
-
D1
()¶ - Computes the point of parameter U on the curve with its first derivative.
- param U
- type U
float
- param P
- type P
gp_Pnt
- param V
- type V
gp_Vec
- rtype
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.
- param U
- type U
float
- param P
- type P
gp_Pnt2d
- param V
- type V
gp_Vec2d
- rtype
None
-
D2
()¶ - Raised if the continuity of the current interval is not C2.
- param U
- type U
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- rtype
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.
- param U
- type U
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- param V3
- type V3
gp_Vec2d
- rtype
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.
- param U
- type U
float
- param N
- type N
int
- rtype
gp_Vec2d
-
Ellipse
()¶ - Return type
-
GetCurve
()¶ - Returns the 3D curve.
- rtype
BRepAdaptor_Curve
-
GetType
()¶ - Returns the type of the curve in the current intervalLine, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
- rtype
GeomAbs_CurveType
-
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()
- param T
- type T
TColStd_Array1OfReal
- param S
- type S
GeomAbs_Shape
- rtype
None
-
Knots
()¶ - Parameters
kn –
- type kn
TColStd_Array1OfReal
- rtype
None
-
Multiplicities
()¶ - Parameters
mu –
- type mu
TColStd_Array1OfInteger
- rtype
None
-
NbIntervals
()¶ - If necessary, breaks the curve in intervals of continuity <S>. And returns the number of intervals.
- param S
- type S
GeomAbs_Shape
- rtype
int
-
Parabola
()¶ - Return type
-
Parameter2d
()¶ - Returns the parameter on the 2d curve from the parameter on the 3d curve.
- param P3d
- type P3d
float
- rtype
float
-
Parameter3d
()¶ - Returns the parameter on the 3d curve from the parameter on the 2d curve.
- param P2d
- type P2d
float
- rtype
float
-
Poles
()¶ - Parameters
TP –
- type TP
TColgp_Array1OfPnt2d
- rtype
None:param aCurve:
- type aCurve
Geom_BSplineCurve
- param TP
- type TP
TColgp_Array1OfPnt2d
- rtype
None
-
PolesAndWeights
()¶ - Parameters
TP –
- type TP
TColgp_Array1OfPnt2d
- param TW
- type TW
TColStd_Array1OfReal
- rtype
None:param aCurve:
- type aCurve
Geom_BSplineCurve
- param TP
- type TP
TColgp_Array1OfPnt2d
- param TW
- type TW
TColStd_Array1OfReal
- rtype
None
-
Projector
()¶ - Parameters
Proj –
- type Proj
HLRAlgo_Projector *
- rtype
None
-
Resolution
()¶ - Returns the parametric resolution corresponding to the real space resolution <R3d>.
- param R3d
- type R3d
float
- rtype
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.
- param AtStart
- type AtStart
bool
- param P
- type P
gp_Pnt2d
- param D
- type D
gp_Dir2d
- rtype
None
-
Update
()¶ - Update the minmax and the internal data
- param TotMin
- type TotMin
float
- param TotMax
- type TotMax
float
- rtype
float
-
UpdateMinMax
()¶ - Update the minmax returns tol for enlarge;
- param TotMin
- type TotMin
float
- param TotMax
- type TotMax
float
- rtype
float
-
Value
()¶ - Computes the point of parameter U on the curve.
- param U
- type U
float
- rtype
gp_Pnt2d
-
Value3D
()¶ - Computes the 3D point of parameter U on the curve.
- param U
- type U
float
- rtype
gp_Pnt
-
Z
()¶ - Computes the Z coordinate of the point of parameter U on the curve in the viewing coordinate system
- param U
- type U
float
- rtype
float
-
property
thisown
¶ The membership flag
-
class
HLRBRep_CurveTool
¶ Bases:
object
-
static
BSpline
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
opencascade::handle<Geom2d_BSplineCurve>
-
static
Bezier
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
opencascade::handle<Geom2d_BezierCurve>
-
static
Circle
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
gp_Circ2d
-
static
Continuity
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
GeomAbs_Shape
-
static
D0
()¶ - Computes the point of parameter U on the curve.
- param C
- type C
Standard_Address
- param U
- type U
float
- param P
- type P
gp_Pnt2d
- rtype
None
-
static
D1
()¶ - Computes the point of parameter U on the curve with its first derivative. Raised if the continuity of the current interval is not C1.
- param C
- type C
Standard_Address
- param U
- type U
float
- param P
- type P
gp_Pnt2d
- param V
- type V
gp_Vec2d
- rtype
None
-
static
D2
()¶ - 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.
- param C
- type C
Standard_Address
- param U
- type U
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- rtype
None
-
static
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.
- param C
- type C
Standard_Address
- param U
- type U
float
- param P
- type P
gp_Pnt2d
- param V1
- type V1
gp_Vec2d
- param V2
- type V2
gp_Vec2d
- param V3
- type V3
gp_Vec2d
- rtype
None
-
static
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.
- param C
- type C
Standard_Address
- param U
- type U
float
- param N
- type N
int
- rtype
gp_Vec2d
-
static
Degree
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
int
-
static
Ellipse
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
gp_Elips2d
-
static
EpsX
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
float
-
static
FirstParameter
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
float
-
static
GetInterval
()¶ - output the bounds of interval of index <Index> used if Type == Composite.
- param C
- type C
Standard_Address
- param Index
- type Index
int
- param Tab
- type Tab
TColStd_Array1OfReal
- param U1
- type U1
float
- param U2
- type U2
float
- rtype
None
-
static
GetType
()¶ - Returns the type of the curve in the current intervalLine, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
- param C
- type C
Standard_Address
- rtype
GeomAbs_CurveType
-
static
Hyperbola
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
gp_Hypr2d
-
static
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()
- param C
- type C
Standard_Address
- param T
- type T
TColStd_Array1OfReal
- rtype
None
-
static
IsClosed
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
bool
-
static
IsPeriodic
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
bool
-
static
LastParameter
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
float
-
static
Line
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
gp_Lin2d
-
static
NbIntervals
()¶ - Returns the number of intervals for continuity <S>. May be one if Continuity(myclass) >= <S>
- param C
- type C
Standard_Address
- rtype
int
-
static
NbSamples
()¶ - Parameters
C –
- type C
Standard_Address
- param U0
- type U0
float
- param U1
- type U1
float
- rtype
int:param C:
- type C
Standard_Address
- rtype
int
-
static
Parabola
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
gp_Parab2d
-
static
Period
()¶ - Parameters
C –
- type C
Standard_Address
- rtype
float
-
static
Resolution
()¶ - Returns the parametric resolution corresponding to the real space resolution <R3d>.
- param C
- type C
Standard_Address
- param R3d
- type R3d
float
- rtype
float
-
static
TheType
()¶ - Returns the type of the curve in the current intervalLine, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
- param C
- type C
Standard_Address
- rtype
GeomAbs_CurveType
-
static
Value
()¶ - Computes the point of parameter U on the curve.
- param C
- type C
Standard_Address
- param U
- type U
float
- rtype
gp_Pnt2d
-
property
thisown
¶ The membership flag
-
static
-
class
HLRBRep_Data
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- Create an empty data structure of <NV> vertices, <NE> edges and <NF> faces.
- param NV
- type NV
int
- param NE
- type NE
int
- param NF
- type NF
int
- rtype
None
-
AboveInterference
()¶ - Returns True if the rejected interference is above the face.
- rtype
bool
-
Classify
()¶ - Classification of an edge.
- param E
- type E
int
- param ED
- type ED
HLRBRep_EdgeData
- param LevelFlag
- type LevelFlag
bool
- param Level
- type Level
int
- param param
- type param
float
- rtype
TopAbs_State
-
Compare
()¶ - Returns the state of the Edge <ED> after classification.
- param E
- type E
int
- param ED
- type ED
HLRBRep_EdgeData
- rtype
TopAbs_State
-
static
DownCast
(t)¶
-
EDataArray
()¶ - Return type
-
Edge
()¶ - Returns the current Edge
- rtype
int
-
EdgeMap
()¶ - Return type
-
EdgeOfTheHidingFace
()¶ - Returns the true if the Edge <ED> belongs to the Hiding Face.
- param E
- type E
int
- param ED
- type ED
HLRBRep_EdgeData
- rtype
bool
-
EdgeState
()¶ - Returns the local 3D state of the intersection between the current edge and the current face at the <p1> and <p2> parameters.
- param p1
- type p1
float
- param p2
- type p2
float
- param stbef
- type stbef
TopAbs_State
- param staf
- type staf
TopAbs_State
- rtype
None
-
FDataArray
()¶ - Return type
-
FaceMap
()¶ - Return type
-
HidingStartLevel
()¶ - Returns the number of levels of hiding face above the first point of the edge <ED>. The InterferenceList is given to compute far away of the Interferences and then come back.
- param E
- type E
int
- param ED
- type ED
HLRBRep_EdgeData
- param IL
- type IL
HLRAlgo_InterferenceList
- rtype
int
-
HidingTheFace
()¶ - Returns true if the current edge to be hidden belongs to the hiding face.
- rtype
bool
-
InitBoundSort
()¶ - to compare with only non rejected edges.
- param MinMaxTot
- type MinMaxTot
HLRAlgo_EdgesBlock::MinMaxIndices
- param e1
- type e1
int
- param e2
- type e2
int
- rtype
None
-
InitEdge
()¶ - Begin an iteration only on visible Edges crossing the face number <FI>.
- param FI
- type FI
int
- param MST
- type MST
BRepTopAdaptor_MapOfShapeTool
- rtype
None
-
InitInterference
()¶ - Intersect the current Edge with the boundary of the hiding face. The interferences are given by the More, Next, and Value methods.
- rtype
None
-
Interference
()¶ - Return type
-
IsBadFace
()¶ - Returns true if the current face is bad.
- rtype
bool
-
LocalFEGeometry2D
()¶ - Returns the local description of the projection of the current FEdge at parameter <Param>.
- param FE
- type FE
int
- param Param
- type Param
float
- param Tg
- type Tg
gp_Dir2d
- param Nm
- type Nm
gp_Dir2d
- param Cu
- type Cu
float
- rtype
None
-
LocalLEGeometry2D
()¶ - Returns the local description of the projection of the current LEdge at parameter <Param>.
- param Param
- type Param
float
- param Tg
- type Tg
gp_Dir2d
- param Nm
- type Nm
gp_Dir2d
- param Cu
- type Cu
float
- rtype
None
-
NextEdge
()¶ - Parameters
skip – default value is Standard_True :type skip: bool :rtype: None
-
Projector
()¶ - Return type
-
RejectedInterference
()¶ - Returns True if the interference is rejected.
- rtype
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.
- param E
- type E
int
- param ED
- type ED
HLRBRep_EdgeData
- param Nbp
- type Nbp
int
- param p1
- type p1
float
- param p2
- type p2
float
- rtype
TopAbs_State
-
SimpleHidingFace
()¶ - Returns true if the current hiding face is not an auto-intersected one.
- rtype
bool
-
Tolerance
()¶ - Set the tolerance for the rejections during the exploration
- param tol
- type tol
Standard_ShortReal
- rtype
None* returns the tolerance for the rejections during the exploration
- rtype
Standard_ShortReal
-
Update
()¶ - end of building of the Data and updating all the informations linked to the projection.
- param P
- type P
HLRAlgo_Projector
- rtype
None
-
Write
()¶ - Write <DS> in me with a translation of <dv>,<de>,<df>.
- param DS
- type DS
HLRBRep_Data
- param dv
- type dv
int
- param de
- type de
int
- param df
- type df
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_EdgeBuilder
(*args)¶ Bases:
object
- Creates an EdgeBuilder algorithm. <VList> describes the edge and the interferences. AreaLimits are created from the vertices. Builds(IN) is automatically called.
- param VList
- type VList
HLRBRep_VertexList
- rtype
None
-
AreaEdgeState
()¶ - Returns the edge state of the current area.
- rtype
TopAbs_State
-
AreaState
()¶ - Returns the state of the current area.
- rtype
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.
- param ToBuild
- type ToBuild
TopAbs_State
- rtype
None
-
Current
()¶ - Returns the current vertex of the current edge.
- rtype
HLRAlgo_Intersection
-
HasArea
()¶ - Returns True if there is a current area.
- rtype
bool
-
InitAreas
()¶ - Initialize an iteration on the areas.
- rtype
None
-
IsBoundary
()¶ - Returns True if the current vertex comes from the boundary of the edge.
- rtype
bool
-
IsInterference
()¶ - Returns True if the current vertex was an interference.
- rtype
bool
-
LeftLimit
()¶ - Returns the AreaLimit beginning the current area. This is a NULL handle when the area is infinite on the left.
- rtype
opencascade::handle<HLRBRep_AreaLimit>
-
MoreEdges
()¶ - Returns True if there are more new edges to build.
- rtype
bool
-
MoreVertices
()¶ - True if there are more vertices in the current new edge.
- rtype
bool
-
NextArea
()¶ - Set the current area to the next area.
- rtype
None
-
NextEdge
()¶ - Proceeds to the next edge to build. Skip all remaining vertices on the current edge.
- rtype
None
-
NextVertex
()¶ - Proceeds to the next vertex of the current edge.
- rtype
None
-
Orientation
()¶ - Returns the new orientation of the current vertex.
- rtype
TopAbs_Orientation
-
PreviousArea
()¶ - Set the current area to the previous area.
- rtype
None
-
RightLimit
()¶ - Returns the AreaLimit ending the current area. This is a NULL handle when the area is infinite on the right.
- rtype
opencascade::handle<HLRBRep_AreaLimit>
-
property
thisown
¶ The membership flag
-
class
HLRBRep_EdgeData
(*args)¶ Bases:
object
- Return type
-
AutoIntersectionDone
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
ChangeGeometry
()¶ - Return type
-
Curve
()¶ - Return type
HLRBRep_Curve *
-
CutAtEnd
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
CutAtSta
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Geometry
()¶ - Return type
-
HideCount
()¶ - Return type
int:param I: :type I: int :rtype: None
-
MinMax
()¶ - Return type
HLRAlgo_EdgesBlock::MinMaxIndices
-
OutLVEnd
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
OutLVSta
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Rg1Line
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
RgNLine
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Selected
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Set
()¶ - Parameters
Reg1 –
- type Reg1
bool
- param RegN
- type RegN
bool
- param EG
- type EG
TopoDS_Edge
- param V1
- type V1
int
- param V2
- type V2
int
- param Out1
- type Out1
bool
- param Out2
- type Out2
bool
- param Cut1
- type Cut1
bool
- param Cut2
- type Cut2
bool
- param Start
- type Start
float
- param TolStart
- type TolStart
Standard_ShortReal
- param End
- type End
float
- param TolEnd
- type TolEnd
Standard_ShortReal
- rtype
None
-
Simple
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Status
()¶ - Return type
-
Tolerance
()¶ - Return type
Standard_ShortReal
-
UpdateMinMax
()¶ - Parameters
theTotMinMax –
- type theTotMinMax
HLRAlgo_EdgesBlock::MinMaxIndices
- rtype
None
-
Used
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
VEnd
()¶ - Return type
int:param I: :type I: int :rtype: None
-
VSta
()¶ - Return type
int:param I: :type I: int :rtype: None
-
VerAtEnd
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
VerAtSta
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Vertical
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_EdgeFaceTool
¶ Bases:
object
-
static
CurvatureValue
()¶ - Parameters
F –
- type F
Standard_Address
- param U
- type U
float
- param V
- type V
float
- param Tg
- type Tg
gp_Dir
- rtype
float
-
static
UVPoint
()¶ - return True if U and V are found.
- param Par
- type Par
float
- param E
- type E
Standard_Address
- param F
- type F
Standard_Address
- param U
- type U
float
- param V
- type V
float
- rtype
bool
-
property
thisown
¶ The membership flag
-
static
-
class
HLRBRep_EdgeIList
¶ Bases:
object
-
static
AddInterference
()¶ - Add the interference <I> to the list <IL>.
- param IL
- type IL
HLRAlgo_InterferenceList
- param I
- type I
HLRAlgo_Interference
- param T
- type T
HLRBRep_EdgeInterferenceTool
- rtype
void
-
static
ProcessComplex
()¶ - Process complex transitions on the list IL.
- param IL
- type IL
HLRAlgo_InterferenceList
- param T
- type T
HLRBRep_EdgeInterferenceTool
- rtype
void
-
property
thisown
¶ The membership flag
-
static
-
class
HLRBRep_EdgeInterferenceTool
(*args)¶ Bases:
object
- Parameters
DS –
- type DS
HLRBRep_Data
- rtype
None
-
CurrentOrientation
()¶ - Return type
TopAbs_Orientation
-
CurrentVertex
()¶ - Return type
-
EdgeGeometry
()¶ - Returns local geometric description of the Edge at parameter <Para>. See method Reset of class EdgeFaceTransition from TopCnx for other arguments.
- param Param
- type Param
float
- param Tgt
- type Tgt
gp_Dir
- param Nrm
- type Nrm
gp_Dir
- param Curv
- type Curv
float
- rtype
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.
- param I
- type I
HLRAlgo_Interference
- param Tang
- type Tang
gp_Dir
- param Norm
- type Norm
gp_Dir
- param Curv
- type Curv
float
- rtype
None
-
ParameterOfInterference
()¶ - Parameters
I –
- type I
HLRAlgo_Interference
- rtype
float
-
SameInterferences
()¶ - True if the two interferences are on the same geometric locus.
- param I1
- type I1
HLRAlgo_Interference
- param I2
- type I2
HLRAlgo_Interference
- rtype
bool
-
SameVertexAndInterference
()¶ - True if the Interference and the current Vertex are on the same geometric locus.
- param I
- type I
HLRAlgo_Interference
- rtype
bool
-
property
thisown
¶ The membership flag
-
class
HLRBRep_ExactIntersectionPointOfTheIntPCurvePCurveOfCInter
(*args)¶ Bases:
object
- Parameters
C1 –
- type C1
Standard_Address
- param C2
- type C2
Standard_Address
- param Tol
- type Tol
float
- rtype
None
-
Perform
()¶ - Parameters
Poly1 –
- type Poly1
HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter
- param Poly2
- type Poly2
HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter
- param NumSegOn1
- type NumSegOn1
int
- param NumSegOn2
- type NumSegOn2
int
- param ParamOnSeg1
- type ParamOnSeg1
float
- param ParamOnSeg2
- type ParamOnSeg2
float
- rtype
None:param Uo:
- type Uo
float
- param Vo
- type Vo
float
- param UInf
- type UInf
float
- param VInf
- type VInf
float
- param USup
- type USup
float
- param VSup
- type VSup
float
- rtype
None
-
Roots
()¶ - Parameters
U –
- type U
float
- param V
- type V
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_FaceData
(*args)¶ Bases:
object
- Return type
-
Back
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Closed
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Cone
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Cut
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Cylinder
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Geometry
()¶ - Return type
HLRBRep_Surface
-
Hiding
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Orientation
()¶ - Return type
TopAbs_Orientation:param O: :type O: TopAbs_Orientation :rtype: None
-
Plane
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Selected
()¶ - Return type
bool:param B: :type B: bool :rtype: 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.
- param FG
- type FG
TopoDS_Face
- param Or
- type Or
TopAbs_Orientation
- param Cl
- type Cl
bool
- param NW
- type NW
int
- rtype
None
-
SetWEdge
()¶ - Set the edge number <EWI> of the wire <WI>.
- param WI
- type WI
int
- param EWI
- type EWI
int
- param EI
- type EI
int
- param Or
- type Or
TopAbs_Orientation
- param OutL
- type OutL
bool
- param Inte
- type Inte
bool
- param Dble
- type Dble
bool
- param IsoL
- type IsoL
bool
- rtype
None
-
SetWire
()¶ - Set <NE> the number of edges of the wire number <WI>.
- param WI
- type WI
int
- param NE
- type NE
int
- rtype
None
-
Side
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Simple
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Size
()¶ - Return type
float:param S: :type S: float :rtype: None
-
Sphere
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Tolerance
()¶ - Return type
Standard_ShortReal
-
Torus
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
Wires
()¶ - Return type
opencascade::handle<HLRAlgo_WiresBlock>
-
WithOutL
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_FaceIterator
(*args)¶ Bases:
object
- Return type
-
BeginningOfWire
()¶ - Returns True if the current edge is the first of a wire.
- rtype
bool
-
EndOfWire
()¶ - Returns True if the current edge is the last of a wire.
- rtype
bool
-
InitEdge
()¶ - Begin an exploration of the edges of the face <fd>
- param fd
- type fd
HLRBRep_FaceData
- rtype
None
-
Orientation
()¶ - Return type
TopAbs_Orientation
-
SkipWire
()¶ - Skip the current wire in the exploration.
- rtype
None
-
Wire
()¶ - Returns the edges of the current wire.
- rtype
opencascade::handle<HLRAlgo_EdgesBlock>
-
property
thisown
¶ The membership flag
-
class
HLRBRep_HLRToShape
(*args)¶ Bases:
object
- Constructs a framework for filtering the results of the HLRBRep_Algo algorithm, A. Use the extraction filters to obtain the results you want for A.
- param A
- type A
HLRBRep_Algo
- rtype
None
-
CompoundOfEdges
()¶ - Returns compound of resulting edges of required type and visibility, taking into account the kind of space (2d or 3d)
- param type
- type type
HLRBRep_TypeOfResultingEdge
- param visible
- type visible
bool
- param In3d
- type In3d
bool
- rtype
TopoDS_Shape* For specified shape returns compound of resulting edges of required type and visibility, taking into account the kind of space (2d or 3d)
- param S
- type S
TopoDS_Shape
- param type
- type type
HLRBRep_TypeOfResultingEdge
- param visible
- type visible
bool
- param In3d
- type In3d
bool
- rtype
TopoDS_Shape
-
HCompound
()¶ - Return type
TopoDS_Shape:param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
IsoLineHCompound
()¶ - Return type
TopoDS_Shape:param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
IsoLineVCompound
()¶ - Return type
TopoDS_Shape:param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
OutLineHCompound
()¶ - Return type
TopoDS_Shape:param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
OutLineVCompound
()¶ - Return type
TopoDS_Shape:param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
OutLineVCompound3d
()¶ - Return type
-
Rg1LineHCompound
()¶ - Return type
TopoDS_Shape:param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
Rg1LineVCompound
()¶ - Return type
TopoDS_Shape:param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
RgNLineHCompound
()¶ - Return type
TopoDS_Shape:param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
RgNLineVCompound
()¶ - Return type
TopoDS_Shape:param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
VCompound
()¶ - Return type
TopoDS_Shape:param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
property
thisown
¶ The membership flag
-
class
HLRBRep_Hider
(*args)¶ Bases:
object
- Creates a Hider processing the set of Edges and hiding faces described by <DS>. Stores the hidden parts in <DS>.
- param DS
- type DS
HLRBRep_Data
- rtype
None
-
Hide
()¶ - Removes from the edges, the parts hidden by the hiding face number <FI>.
- param FI
- type FI
int
- param MST
- type MST
BRepTopAdaptor_MapOfShapeTool
- rtype
None
-
OwnHiding
()¶ - own hiding the side face number <FI>.
- param FI
- type FI
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_IntConicCurveOfCInter
(*args)¶ Bases:
OCC.Core.IntRes2d.IntRes2d_Intersection
- Empty constructor.
- rtype
None* Intersection between a line and a parametric curve.
- param L
- type L
gp_Lin2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between a line and a parametric curve.
- param C
- type C
gp_Circ2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between an ellipse and a parametric curve.
- param E
- type E
gp_Elips2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between a parabola and a parametric curve.
- param Prb
- type Prb
gp_Parab2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between the main branch of an hyperbola and a parametric curve.
- param H
- type H
gp_Hypr2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None
-
Perform
()¶ - Intersection between a line and a parametric curve.
- param L
- type L
gp_Lin2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between a line and a parametric curve.
- param C
- type C
gp_Circ2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between an ellipse and a parametric curve.
- param E
- type E
gp_Elips2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between a parabola and a parametric curve.
- param Prb
- type Prb
gp_Parab2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between the main branch of an hyperbola and a parametric curve.
- param H
- type H
gp_Hypr2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_InterCSurf
(*args)¶ Bases:
OCC.Core.IntCurveSurface.IntCurveSurface_Intersection
- Empty Constructor
- rtype
None
-
Perform
()¶ - Compute the Intersection between the curve and the surface
- param Curve
- type Curve
gp_Lin
- param Surface
- type Surface
Standard_Address
- rtype
None* Compute the Intersection between the curve and the surface. The Curve is already sampled and its polygon : <Polygon> is given.
- param Curve
- type Curve
gp_Lin
- param Polygon
- type Polygon
HLRBRep_ThePolygonOfInterCSurf
- param Surface
- type Surface
Standard_Address
- rtype
None* Compute the Intersection between the curve and the surface. The Curve is already sampled and its polygon : <Polygon> is given. The Surface is also sampled and <Polyhedron> is given.
- param Curve
- type Curve
gp_Lin
- param ThePolygon
- type ThePolygon
HLRBRep_ThePolygonOfInterCSurf
- param Surface
- type Surface
Standard_Address
- param Polyhedron
- type Polyhedron
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
None* Compute the Intersection between the curve and the surface. The Curve is already sampled and its polygon : <Polygon> is given. The Surface is also sampled and <Polyhedron> is given.
- param Curve
- type Curve
gp_Lin
- param ThePolygon
- type ThePolygon
HLRBRep_ThePolygonOfInterCSurf
- param Surface
- type Surface
Standard_Address
- param Polyhedron
- type Polyhedron
HLRBRep_ThePolyhedronOfInterCSurf
- param BndBSB
- type BndBSB
Bnd_BoundSortBox
- rtype
None* Compute the Intersection between the curve and the surface. The Surface is already sampled and its polyhedron : <Polyhedron> is given.
- param Curve
- type Curve
gp_Lin
- param Surface
- type Surface
Standard_Address
- param Polyhedron
- type Polyhedron
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_InternalAlgo
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- Return type
None:param A: :type A: HLRBRep_InternalAlgo :rtype: None
-
DataStructure
()¶ - Return type
opencascade::handle<HLRBRep_Data>
-
Debug
()¶ - Parameters
deb –
- type deb
bool
- rtype
None:rtype: bool
-
static
DownCast
(t)¶
-
Hide
()¶ - hide all the DataStructure.
- rtype
None* hide the Shape <S> by itself.
- param I
- type I
int
- rtype
None* hide the Shape <S1> by the shape <S2>.
- param I
- type I
int
- param J
- type J
int
- rtype
None
-
HideAll
()¶ - set to hide all the edges.
- rtype
None* set to hide all the edges of the Shape <S>.
- param I
- type I
int
- rtype
None
-
Index
()¶ - return the index of the Shape <S> and return 0 if the Shape <S> is not found.
- param S
- type S
HLRTopoBRep_OutLiner
- rtype
int
-
InitEdgeStatus
()¶ - init the status of the selected edges depending of the back faces of a closed shell.
- rtype
None
-
Load
()¶ - add the shape <S>.
- param S
- type S
HLRTopoBRep_OutLiner
- param SData
- type SData
Standard_Transient
- param nbIso
default value is 0
- type nbIso
int
- rtype
None* add the shape <S>.
- param S
- type S
HLRTopoBRep_OutLiner
- param nbIso
default value is 0
- type nbIso
int
- rtype
None
-
PartialHide
()¶ - own hiding of all the shapes of the DataStructure without hiding by each other.
- rtype
None
-
Projector
()¶ - set the projector.
- param P
- type P
HLRAlgo_Projector
- rtype
None* set the projector.
- rtype
HLRAlgo_Projector
-
Remove
()¶ - remove the Shape of Index <I>.
- param I
- type I
int
- rtype
None
-
Select
()¶ - select all the DataStructure.
- rtype
None* select only the Shape of index <I>.
- param I
- type I
int
- rtype
None
-
SelectEdge
()¶ - select only the edges of the Shape <S>.
- param I
- type I
int
- rtype
None
-
SelectFace
()¶ - select only the faces of the Shape <S>.
- param I
- type I
int
- rtype
None
-
SeqOfShapeBounds
()¶ - Return type
-
ShapeBounds
()¶ - Parameters
I –
- type I
int
- rtype
HLRBRep_ShapeBounds
-
ShapeData
()¶ - Change the Shape Data of the Shape of index <I>.
- param I
- type I
int
- param SData
- type SData
Standard_Transient
- rtype
None
-
ShowAll
()¶ - set to visible all the edges.
- rtype
None* set to visible all the edges of the Shape <S>.
- param I
- type I
int
- rtype
None
-
Update
()¶ - update the DataStructure.
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_Intersector
(*args)¶ Bases:
object
- Return type
-
CSPoint
()¶ - Parameters
N –
- type N
int
- rtype
IntCurveSurface_IntersectionPoint
-
CSSegment
()¶ - Parameters
N –
- type N
int
- rtype
IntCurveSurface_IntersectionSegment
-
Load
()¶ - Parameters
A –
- type A
Standard_Address
- rtype
None
-
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).
- param A1
- type A1
Standard_Address
- param da1
- type da1
float
- param db1
- type db1
float
- rtype
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).
- param nA
- type nA
int
- param A1
- type A1
Standard_Address
- param da1
- type da1
float
- param db1
- type db1
float
- param nB
- type nB
int
- param A2
- type A2
Standard_Address
- param da2
- type da2
float
- param db2
- type db2
float
- param NoBound
- type NoBound
bool
- rtype
None:param L:
- type L
gp_Lin
- param P
- type P
float
- rtype
None
-
Point
()¶ - Parameters
N –
- type N
int
- rtype
IntRes2d_IntersectionPoint
-
Segment
()¶ - Parameters
N –
- type N
int
- rtype
IntRes2d_IntersectionSegment
-
SimulateOnePoint
()¶ - Create a single IntersectionPoint (U on A1) (V on A2) The point is middle on both curves.
- param A1
- type A1
Standard_Address
- param U
- type U
float
- param A2
- type A2
Standard_Address
- param V
- type V
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_LineTool
¶ Bases:
object
-
static
BSpline
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
opencascade::handle<Geom_BSplineCurve>
-
static
Bezier
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
opencascade::handle<Geom_BezierCurve>
-
static
Circle
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
gp_Circ
-
static
Continuity
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
GeomAbs_Shape
-
static
D0
()¶ - Computes the point of parameter U on the line.
- param C
- type C
gp_Lin
- param U
- type U
float
- param P
- type P
gp_Pnt
- rtype
None
-
static
D1
()¶ - Computes the point of parameter U on the line with its first derivative. Raised if the continuity of the current interval is not C1.
- param C
- type C
gp_Lin
- param U
- type U
float
- param P
- type P
gp_Pnt
- param V
- type V
gp_Vec
- rtype
None
-
static
D2
()¶ - 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.
- param C
- type C
gp_Lin
- param U
- type U
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- rtype
None
-
static
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.
- param C
- type C
gp_Lin
- param U
- type U
float
- param P
- type P
gp_Pnt
- param V1
- type V1
gp_Vec
- param V2
- type V2
gp_Vec
- param V3
- type V3
gp_Vec
- rtype
None
-
static
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.
- param C
- type C
gp_Lin
- param U
- type U
float
- param N
- type N
int
- rtype
gp_Vec
-
static
Degree
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
int
-
static
Ellipse
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
gp_Elips
-
static
FirstParameter
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
float
-
static
GetType
()¶ - Returns the type of the line in the current intervalLine, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
- param C
- type C
gp_Lin
- rtype
GeomAbs_CurveType
-
static
Hyperbola
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
gp_Hypr
-
static
IntervalContinuity
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
GeomAbs_Shape
-
static
IntervalFirst
()¶ - Returns the first parameter of the current interval.
- param C
- type C
gp_Lin
- rtype
float
-
static
IntervalLast
()¶ - Returns the last parameter of the current interval.
- param C
- type C
gp_Lin
- rtype
float
-
static
Intervals
()¶ - Sets the current working interval.
- param C
- type C
gp_Lin
- param T
- type T
TColStd_Array1OfReal
- param Sh
- type Sh
GeomAbs_Shape
- rtype
None
-
static
IsClosed
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
bool
-
static
IsPeriodic
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
bool
-
static
IsRational
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
bool
-
static
KnotsAndMultiplicities
()¶ - Parameters
C –
- type C
gp_Lin
- param TK
- type TK
TColStd_Array1OfReal
- param TM
- type TM
TColStd_Array1OfInteger
- rtype
None
-
static
LastParameter
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
float
-
static
Line
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
gp_Lin
-
static
NbIntervals
()¶ - If necessary, breaks the line in intervals of continuity <S>. And returns the number of intervals.
- param C
- type C
gp_Lin
- param S
- type S
GeomAbs_Shape
- rtype
int
-
static
NbKnots
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
int
-
static
NbPoles
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
int
-
static
NbSamples
()¶ - Parameters
C –
- type C
gp_Lin
- param U0
- type U0
float
- param U1
- type U1
float
- rtype
int
-
static
Parabola
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
gp_Parab
-
static
Period
()¶ - Parameters
C –
- type C
gp_Lin
- rtype
float
-
static
Poles
()¶ - Parameters
C –
- type C
gp_Lin
- param TP
- type TP
TColgp_Array1OfPnt
- rtype
None
-
static
PolesAndWeights
()¶ - Parameters
C –
- type C
gp_Lin
- param TP
- type TP
TColgp_Array1OfPnt
- param TW
- type TW
TColStd_Array1OfReal
- rtype
None
-
static
Resolution
()¶ - Returns the parametric resolution corresponding to the real space resolution <R3d>.
- param C
- type C
gp_Lin
- param R3d
- type R3d
float
- rtype
float
-
static
SamplePars
()¶ - Parameters
C –
- type C
gp_Lin
- param U0
- type U0
float
- param U1
- type U1
float
- param Defl
- type Defl
float
- param NbMin
- type NbMin
int
- param Pars
- type Pars
TColStd_HArray1OfReal
- rtype
None
-
static
Value
()¶ - Computes the point of parameter U on the line.
- param C
- type C
gp_Lin
- param U
- type U
float
- rtype
gp_Pnt
-
property
thisown
¶ The membership flag
-
static
-
class
HLRBRep_ListIteratorOfListOfBPnt2D
(*args)¶ Bases:
object
-
ChangeValue
()¶
-
More
()¶
-
Next
()¶
-
Value
()¶
-
property
thisown
¶ The membership flag
-
-
class
HLRBRep_ListIteratorOfListOfBPoint
(*args)¶ Bases:
object
-
ChangeValue
()¶
-
More
()¶
-
Next
()¶
-
Value
()¶
-
property
thisown
¶ The membership flag
-
-
class
HLRBRep_ListOfBPnt2D
(*args)¶ Bases:
object
-
Append
()¶
-
Assign
()¶
-
Clear
()¶
-
First
()¶
-
InsertAfter
()¶
-
InsertBefore
()¶
-
Last
()¶
-
Prepend
()¶
-
Remove
()¶
-
RemoveFirst
()¶
-
Reverse
()¶
-
Set
()¶
-
Size
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
HLRBRep_ListOfBPoint
(*args)¶ Bases:
object
-
Append
()¶
-
Assign
()¶
-
Clear
()¶
-
First
()¶
-
InsertAfter
()¶
-
InsertBefore
()¶
-
Last
()¶
-
Prepend
()¶
-
Remove
()¶
-
RemoveFirst
()¶
-
Reverse
()¶
-
Set
()¶
-
Size
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
HLRBRep_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfCInter
(*args)¶ Bases:
OCC.Core.math.math_FunctionWithDerivative
- Constructor of the class.
- param IT
- type IT
IntCurve_IConicTool
- param PC
- type PC
Standard_Address
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_PCLocFOfTheLocateExtPCOfTheProjPCurOfCInter
(*args)¶ Bases:
OCC.Core.math.math_FunctionWithDerivative
- Return type
None:param P: :type P: gp_Pnt2d :param C: :type C: Standard_Address :rtype: None
-
Initialize
()¶ - sets the field mycurve of the function.
- param C
- type C
Standard_Address
- rtype
None
-
IsMin
()¶ - Shows if the Nth distance is a minimum.
- param N
- type N
int
- rtype
bool
-
NbExt
()¶ - Return the nunber of found extrema.
- rtype
int
-
Point
()¶ - Returns the Nth extremum.
- param N
- type N
int
- rtype
Extrema_POnCurv2d
-
SearchOfTolerance
()¶ - Computes a Tol value. If 1st derivative of curve |D1|<Tol, it is considered D1=0.
- rtype
float
-
SetPoint
()¶ - sets the field P of the function.
- param P
- type P
gp_Pnt2d
- rtype
None
-
SquareDistance
()¶ - Returns the Nth distance.
- param N
- type N
int
- rtype
float
-
SubIntervalInitialize
()¶ - Determines boundaries of subinterval for find of root.
- param theUfirst
- type theUfirst
float
- param theUlast
- type theUlast
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_PolyAlgo
(*args)¶ Bases:
OCC.Core.Standard.Standard_Transient
- Constructs an empty framework for the calculation of the visible and hidden lines of a shape in a projection. Use the functions: - Projector to define the point of view - Load to select the shape or shapes to be visualized - Update to compute the visible and hidden lines of the shape. Warning The shape or shapes to be visualized must have already been triangulated.
- rtype
None:param A:
- type A
HLRBRep_PolyAlgo
- rtype
None:param S:
- type S
TopoDS_Shape
- rtype
None
-
Algo
()¶ - Return type
opencascade::handle<HLRAlgo_PolyAlgo>
-
Angle
()¶ - Return type
float:param Ang: :type Ang: float :rtype: None
-
Debug
()¶ - Return type
bool:param B: :type B: bool :rtype: None
-
static
DownCast
(t)¶
-
Hide
()¶ - Parameters
status –
- type status
HLRAlgo_EdgeStatus
- param S
- type S
TopoDS_Shape
- param reg1
- type reg1
bool
- param regn
- type regn
bool
- param outl
- type outl
bool
- param intl
- type intl
bool
- rtype
HLRAlgo_BiPoint::PointsT
-
Index
()¶ - return the index of the Shape <S> and return 0 if the Shape <S> is not found.
- param S
- type S
TopoDS_Shape
- rtype
int
-
Load
()¶ - Loads the shape S into this framework. Warning S must have already been triangulated.
- param S
- type S
TopoDS_Shape
- rtype
None
-
OutLinedShape
()¶ - Make a shape with the internal outlines in each face.
- param S
- type S
TopoDS_Shape
- rtype
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.
- rtype
HLRAlgo_Projector:param P:
- type P
HLRAlgo_Projector
- rtype
None
-
Remove
()¶ - remove the Shape of Index <I>.
- param I
- type I
int
- rtype
None
-
Shape
()¶ - Parameters
I –
- type I
int
- rtype
TopoDS_Shape
-
Show
()¶ - Parameters
S –
- type S
TopoDS_Shape
- param reg1
- type reg1
bool
- param regn
- type regn
bool
- param outl
- type outl
bool
- param intl
- type intl
bool
- rtype
HLRAlgo_BiPoint::PointsT
-
TolAngular
()¶ - Return type
float:param Tol: :type Tol: float :rtype: None
-
TolCoef
()¶ - Return type
float:param Tol: :type Tol: float :rtype: 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.
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_PolyHLRToShape
(*args)¶ Bases:
object
- Constructs a framework for filtering the results of the HLRBRep_Algo algorithm, A. Use the extraction filters to obtain the results you want for A.
- rtype
None
-
HCompound
()¶ - Return type
TopoDS_Shape:param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
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. :param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
OutLineVCompound
()¶ - Return type
TopoDS_Shape* Sets the extraction filter for visible outlines. :param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
Rg1LineHCompound
()¶ - Return type
TopoDS_Shape* Sets the extraction filter for hidden smooth edges. :param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
Rg1LineVCompound
()¶ - Sets the extraction filter for visible smooth edges.
- rtype
TopoDS_Shape:param S:
- type S
TopoDS_Shape
- rtype
TopoDS_Shape
-
RgNLineHCompound
()¶ - Return type
TopoDS_Shape* Sets the extraction filter for hidden sewn edges. :param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
RgNLineVCompound
()¶ - Sets the extraction filter for visible sewn edges.
- rtype
TopoDS_Shape:param S:
- type S
TopoDS_Shape
- rtype
TopoDS_Shape
-
Update
()¶ - Parameters
A –
- type A
HLRBRep_PolyAlgo
- rtype
None
-
VCompound
()¶ - Return type
TopoDS_Shape:param S: :type S: TopoDS_Shape :rtype: TopoDS_Shape
-
property
thisown
¶ The membership flag
-
class
HLRBRep_SLProps
(*args)¶ Bases:
object
- Initializes the local properties of the surface <S> for the parameter values (<U>, <V>). The current point and the derivatives are computed at the same time, which allows an optimization of the computation time. <N> indicates the maximum number of derivations to be done (0, 1, or 2). For example, to compute only the tangent, N should be equal to 1. <Resolution> is the linear tolerance (it is used to test if a vector is null).
- param S
- type S
Standard_Address
- param U
- type U
float
- param V
- type V
float
- param N
- type N
int
- param Resolution
- type Resolution
float
- rtype
None* idem as previous constructor but without setting the value of parameters <U> and <V>.
- param S
- type S
Standard_Address
- param N
- type N
int
- param Resolution
- type Resolution
float
- rtype
None* idem as previous constructor but without setting the value of parameters <U> and <V> and the surface. the surface can have an empty constructor.
- param N
- type N
int
- param Resolution
- type Resolution
float
- rtype
None
-
CurvatureDirections
()¶ - Returns the direction of the maximum and minimum curvature <MaxD> and <MinD>
- param MaxD
- type MaxD
gp_Dir
- param MinD
- type MinD
gp_Dir
- rtype
None
-
D1U
()¶ - Returns the first U derivative. The derivative is computed if it has not been yet.
- rtype
gp_Vec
-
D1V
()¶ - Returns the first V derivative. The derivative is computed if it has not been yet.
- rtype
gp_Vec
-
D2U
()¶ - Returns the second U derivatives The derivative is computed if it has not been yet.
- rtype
gp_Vec
-
D2V
()¶ - Returns the second V derivative. The derivative is computed if it has not been yet.
- rtype
gp_Vec
-
DUV
()¶ - Returns the second UV cross-derivative. The derivative is computed if it has not been yet.
- rtype
gp_Vec
-
GaussianCurvature
()¶ - Returns the Gaussian curvature
- rtype
float
-
IsCurvatureDefined
()¶ - returns True if the curvature is defined.
- rtype
bool
-
IsNormalDefined
()¶ - Tells if the normal is defined.
- rtype
bool
-
IsTangentUDefined
()¶ - returns True if the U tangent is defined. For example, the tangent is not defined if the two first U derivatives are null.
- rtype
bool
-
IsTangentVDefined
()¶ - returns if the V tangent is defined. For example, the tangent is not defined if the two first V derivatives are null.
- rtype
bool
-
IsUmbilic
()¶ - returns True if the point is umbilic (i.e. if the curvature is constant).
- rtype
bool
-
MaxCurvature
()¶ - Returns the maximum curvature
- rtype
float
-
MeanCurvature
()¶ - Returns the mean curvature.
- rtype
float
-
MinCurvature
()¶ - Returns the minimum curvature
- rtype
float
-
Normal
()¶ - Returns the normal direction.
- rtype
gp_Dir
-
SetParameters
()¶ - Initializes the local properties of the surface S for the new parameter values (<U>, <V>).
- param U
- type U
float
- param V
- type V
float
- rtype
None
-
SetSurface
()¶ - Initializes the local properties of the surface S for the new surface.
- param S
- type S
Standard_Address
- rtype
None
-
TangentU
()¶ - Returns the tangent direction <D> on the iso-V.
- param D
- type D
gp_Dir
- rtype
None
-
TangentV
()¶ - Returns the tangent direction <D> on the iso-V.
- param D
- type D
gp_Dir
- rtype
None
-
Value
()¶ - Returns the point.
- rtype
gp_Pnt
-
property
thisown
¶ The membership flag
-
class
HLRBRep_SLPropsATool
¶ Bases:
object
-
static
Bounds
()¶ - returns the bounds of the Surface.
- param A
- type A
Standard_Address
- param U1
- type U1
float
- param V1
- type V1
float
- param U2
- type U2
float
- param V2
- type V2
float
- rtype
None
-
static
Continuity
()¶ - returns the order of continuity of the Surface <A>. returns 1first derivative only is computable returns 2first and second derivative only are computable.
- param A
- type A
Standard_Address
- rtype
int
-
static
D1
()¶ - Computes the point <P> and first derivative <D1*> of parameter <U> and <V> on the Surface <A>.
- param A
- type A
Standard_Address
- param U
- type U
float
- param V
- type V
float
- param P
- type P
gp_Pnt
- param D1U
- type D1U
gp_Vec
- param D1V
- type D1V
gp_Vec
- rtype
None
-
static
D2
()¶ - Computes the point <P>, the first derivative <D1*> and second derivative <D2*> of parameter <U> and <V> on the Surface <A>.
- param A
- type A
Standard_Address
- param U
- type U
float
- param V
- type V
float
- param P
- type P
gp_Pnt
- param D1U
- type D1U
gp_Vec
- param D1V
- type D1V
gp_Vec
- param D2U
- type D2U
gp_Vec
- param D2V
- type D2V
gp_Vec
- param DUV
- type DUV
gp_Vec
- rtype
None
-
static
DN
()¶ - Parameters
A –
- type A
Standard_Address
- param U
- type U
float
- param V
- type V
float
- param Nu
- type Nu
int
- param Nv
- type Nv
int
- rtype
gp_Vec
-
static
Value
()¶ - Computes the point <P> of parameter <U> and <V> on the Surface <A>.
- param A
- type A
Standard_Address
- param U
- type U
float
- param V
- type V
float
- param P
- type P
gp_Pnt
- rtype
void
-
property
thisown
¶ The membership flag
-
static
-
class
HLRBRep_SeqOfShapeBounds
(*args)¶ Bases:
object
-
Append
()¶
-
Assign
()¶
-
ChangeFirst
()¶
-
ChangeLast
()¶
-
ChangeValue
()¶
-
Clear
()¶
-
Exchange
()¶
-
First
()¶
-
InsertAfter
()¶
-
InsertBefore
()¶
-
IsEmpty
()¶
-
Last
()¶
-
Length
()¶
-
Lower
()¶
-
Prepend
()¶
-
Remove
()¶
-
Reverse
()¶
-
Set
()¶
-
SetValue
()¶
-
Size
()¶
-
Split
()¶
-
Upper
()¶
-
Value
()¶
-
begin
()¶
-
cbegin
()¶
-
cend
()¶
-
static
delNode
()¶
-
end
()¶
-
property
thisown
¶ The membership flag
-
-
class
HLRBRep_ShapeBounds
(*args)¶ Bases:
object
- Return type
None:param S: :type S: HLRTopoBRep_OutLiner :param SData: :type SData: Standard_Transient :param nbIso: :type nbIso: int :param V1: :type V1: int :param V2: :type V2: int :param E1: :type E1: int :param E2: :type E2: int :param F1: :type F1: int :param F2: :type F2: int :rtype: None:param S: :type S: HLRTopoBRep_OutLiner :param nbIso: :type nbIso: int :param V1: :type V1: int :param V2: :type V2: int :param E1: :type E1: int :param E2: :type E2: int :param F1: :type F1: int :param F2: :type F2: int :rtype: None
-
Bounds
()¶ - Parameters
V1 –
- type V1
int
- param V2
- type V2
int
- param E1
- type E1
int
- param E2
- type E2
int
- param F1
- type F1
int
- param F2
- type F2
int
- rtype
None
-
MinMax
()¶ - Return type
HLRAlgo_EdgesBlock::MinMaxIndices
-
NbOfIso
()¶ - Parameters
nbIso –
- type nbIso
int
- rtype
None:rtype: int
-
Shape
()¶ - Parameters
S –
- type S
HLRTopoBRep_OutLiner
- rtype
None:rtype: opencascade::handle<HLRTopoBRep_OutLiner>
-
ShapeData
()¶ - Parameters
SD –
- type SD
Standard_Transient
- rtype
None:rtype: opencascade::handle<Standard_Transient>
-
Sizes
()¶ - Parameters
NV –
- type NV
int
- param NE
- type NE
int
- param NF
- type NF
int
- rtype
None
-
Translate
()¶ - Parameters
NV –
- type NV
int
- param NE
- type NE
int
- param NF
- type NF
int
- rtype
None
-
UpdateMinMax
()¶ - Parameters
theTotMinMax –
- type theTotMinMax
HLRAlgo_EdgesBlock::MinMaxIndices
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_ShapeToHLR
¶ Bases:
object
-
static
Load
()¶ - Creates a DataStructure containing the OutLiner <S> depending on the projector <P> and nbIso.
- param S
- type S
HLRTopoBRep_OutLiner
- param P
- type P
HLRAlgo_Projector
- param MST
- type MST
BRepTopAdaptor_MapOfShapeTool
- param nbIso
default value is 0
- type nbIso
int
- rtype
opencascade::handle<HLRBRep_Data>
-
property
thisown
¶ The membership flag
-
static
-
class
HLRBRep_SurfaceTool
¶ Bases:
object
-
static
AxeOfRevolution
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
gp_Ax1
-
static
BSpline
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
opencascade::handle<Geom_BSplineSurface>
-
static
BasisCurve
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
opencascade::handle<Adaptor3d_HCurve>
-
static
BasisSurface
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
opencascade::handle<Adaptor3d_HSurface>
-
static
Bezier
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
opencascade::handle<Geom_BezierSurface>
-
static
Cone
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
gp_Cone
-
static
Cylinder
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
gp_Cylinder
-
static
D0
()¶ - Parameters
S –
- type S
Standard_Address
- param u
- type u
float
- param v
- type v
float
- param P
- type P
gp_Pnt
- rtype
None
-
static
D1
()¶ - Parameters
S –
- type S
Standard_Address
- param u
- type u
float
- param v
- type v
float
- param P
- type P
gp_Pnt
- param D1u
- type D1u
gp_Vec
- param D1v
- type D1v
gp_Vec
- rtype
None
-
static
D2
()¶ - Parameters
S –
- type S
Standard_Address
- param u
- type u
float
- param v
- type v
float
- param P
- type P
gp_Pnt
- param D1U
- type D1U
gp_Vec
- param D1V
- type D1V
gp_Vec
- param D2U
- type D2U
gp_Vec
- param D2V
- type D2V
gp_Vec
- param D2UV
- type D2UV
gp_Vec
- rtype
None
-
static
D3
()¶ - Parameters
S –
- type S
Standard_Address
- param u
- type u
float
- param v
- type v
float
- param P
- type P
gp_Pnt
- param D1U
- type D1U
gp_Vec
- param D1V
- type D1V
gp_Vec
- param D2U
- type D2U
gp_Vec
- param D2V
- type D2V
gp_Vec
- param D2UV
- type D2UV
gp_Vec
- param D3U
- type D3U
gp_Vec
- param D3V
- type D3V
gp_Vec
- param D3UUV
- type D3UUV
gp_Vec
- param D3UVV
- type D3UVV
gp_Vec
- rtype
None
-
static
DN
()¶ - Parameters
S –
- type S
Standard_Address
- param u
- type u
float
- param v
- type v
float
- param Nu
- type Nu
int
- param Nv
- type Nv
int
- rtype
gp_Vec
-
static
Direction
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
gp_Dir
-
static
FirstUParameter
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
float
-
static
FirstVParameter
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
float
-
static
GetType
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
GeomAbs_SurfaceType
-
static
IsUClosed
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
bool
-
static
IsUPeriodic
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
bool
-
static
IsVClosed
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
bool
-
static
IsVPeriodic
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
bool
-
static
LastUParameter
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
float
-
static
LastVParameter
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
float
-
static
NbSamplesU
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
int:param S:
- type S
Standard_Address
- param u1
- type u1
float
- param u2
- type u2
float
- rtype
int
-
static
NbSamplesV
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
int:param S:
- type S
Standard_Address
- param v1
- type v1
float
- param v2
- type v2
float
- rtype
int
-
static
NbUIntervals
()¶ - Parameters
S –
- type S
Standard_Address
- param Sh
- type Sh
GeomAbs_Shape
- rtype
int
-
static
NbVIntervals
()¶ - Parameters
S –
- type S
Standard_Address
- param Sh
- type Sh
GeomAbs_Shape
- rtype
int
-
static
OffsetValue
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
float
-
static
Plane
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
gp_Pln
-
static
Sphere
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
gp_Sphere
-
static
Torus
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
gp_Torus
-
static
UIntervals
()¶ - Parameters
S –
- type S
Standard_Address
- param T
- type T
TColStd_Array1OfReal
- param Sh
- type Sh
GeomAbs_Shape
- rtype
None
-
static
UPeriod
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
float
-
static
UResolution
()¶ - Parameters
S –
- type S
Standard_Address
- param R3d
- type R3d
float
- rtype
float
-
static
UTrim
()¶ - If <First> >= <Last>
- param S
- type S
Standard_Address
- param First
- type First
float
- param Last
- type Last
float
- param Tol
- type Tol
float
- rtype
opencascade::handle<Adaptor3d_HSurface>
-
static
VIntervals
()¶ - Parameters
S –
- type S
Standard_Address
- param T
- type T
TColStd_Array1OfReal
- param Sh
- type Sh
GeomAbs_Shape
- rtype
None
-
static
VPeriod
()¶ - Parameters
S –
- type S
Standard_Address
- rtype
float
-
static
VResolution
()¶ - Parameters
S –
- type S
Standard_Address
- param R3d
- type R3d
float
- rtype
float
-
static
VTrim
()¶ - If <First> >= <Last>
- param S
- type S
Standard_Address
- param First
- type First
float
- param Last
- type Last
float
- param Tol
- type Tol
float
- rtype
opencascade::handle<Adaptor3d_HSurface>
-
static
Value
()¶ - Parameters
S –
- type S
Standard_Address
- param u
- type u
float
- param v
- type v
float
- rtype
gp_Pnt
-
property
thisown
¶ The membership flag
-
static
-
class
HLRBRep_TheCSFunctionOfInterCSurf
(*args)¶ Bases:
OCC.Core.math.math_FunctionSetWithDerivatives
- Parameters
S –
- type S
Standard_Address
- param C
- type C
gp_Lin
- rtype
None
-
AuxillarSurface
()¶ - Return type
Standard_Address
-
property
thisown
¶ The membership flag
-
class
HLRBRep_TheDistBetweenPCurvesOfTheIntPCurvePCurveOfCInter
(*args)¶ Bases:
OCC.Core.math.math_FunctionSetWithDerivatives
- Parameters
curve1 –
- type curve1
Standard_Address
- param curve2
- type curve2
Standard_Address
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_TheExactInterCSurf
(*args)¶ Bases:
object
- compute the solution point with the close point MarginCoef is the coefficient for extension of UV bounds. Ex., UFirst -= MarginCoef*(ULast-UFirst)
- param U
- type U
float
- param V
- type V
float
- param W
- type W
float
- param F
- type F
HLRBRep_TheCSFunctionOfInterCSurf
- param TolTangency
- type TolTangency
float
- param MarginCoef
default value is 0.0
- type MarginCoef
float
- rtype
None* initialize the parameters to compute the solution
- param F
- type F
HLRBRep_TheCSFunctionOfInterCSurf
- param TolTangency
- type TolTangency
float
- rtype
None
-
Function
()¶ - return the math function which is used to compute the intersection
- rtype
HLRBRep_TheCSFunctionOfInterCSurf
-
IsDone
()¶ - Returns True if the creation completed without failure.
- rtype
bool
-
ParameterOnSurface
()¶ - Parameters
U –
- type U
float
- param V
- type V
float
- rtype
None
-
Perform
()¶ - compute the solution it’s possible to write to optimize: IntImp_IntCS inter(S1,C1,Toltangency) math_FunctionSetRoot rsnld(Inter.function()) while …{ u=… v=… w=… inter.Perform(u,v,w,rsnld) } or IntImp_IntCS inter(Toltangency) inter.SetSurface(S); math_FunctionSetRoot rsnld(Inter.function()) while …{ C=… inter.SetCurve(C); u=… v=… w=… inter.Perform(u,v,w,rsnld) }
- param U
- type U
float
- param V
- type V
float
- param W
- type W
float
- param Rsnld
- type Rsnld
math_FunctionSetRoot
- param u0
- type u0
float
- param v0
- type v0
float
- param u1
- type u1
float
- param v1
- type v1
float
- param w0
- type w0
float
- param w1
- type w1
float
- rtype
None
-
Point
()¶ - returns the intersection point The exception NotDone is raised if IsDone is false. The exception DomainError is raised if IsEmpty is true.
- rtype
gp_Pnt
-
property
thisown
¶ The membership flag
-
class
HLRBRep_TheIntConicCurveOfCInter
(*args)¶ Bases:
OCC.Core.IntRes2d.IntRes2d_Intersection
- Empty constructor.
- rtype
None* Intersection between a line and a parametric curve.
- param L
- type L
gp_Lin2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between a line and a parametric curve.
- param C
- type C
gp_Circ2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between an ellipse and a parametric curve.
- param E
- type E
gp_Elips2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between a parabola and a parametric curve.
- param Prb
- type Prb
gp_Parab2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between the main branch of an hyperbola and a parametric curve.
- param H
- type H
gp_Hypr2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None
-
Perform
()¶ - Intersection between a line and a parametric curve.
- param L
- type L
gp_Lin2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between a line and a parametric curve.
- param C
- type C
gp_Circ2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between an ellipse and a parametric curve.
- param E
- type E
gp_Elips2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between a parabola and a parametric curve.
- param Prb
- type Prb
gp_Parab2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None* Intersection between the main branch of an hyperbola and a parametric curve.
- param H
- type H
gp_Hypr2d
- param D1
- type D1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param D2
- type D2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_TheIntPCurvePCurveOfCInter
(*args)¶ Bases:
OCC.Core.IntRes2d.IntRes2d_Intersection
- Return type
-
Perform
()¶ - Parameters
Curve1 –
- type Curve1
Standard_Address
- param Domain1
- type Domain1
IntRes2d_Domain
- param Curve2
- type Curve2
Standard_Address
- param Domain2
- type Domain2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None:param Curve1:
- type Curve1
Standard_Address
- param Domain1
- type Domain1
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None
-
SetMinNbSamples
()¶ - Set / get minimum number of points in polygon for intersection.
- param theMinNbSamples
- type theMinNbSamples
int
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_TheInterferenceOfInterCSurf
(*args)¶ Bases:
OCC.Core.Intf.Intf_Interference
- Constructs an empty interference between Polygon and Polyhedron.
- rtype
None* Constructs and computes an interference between the Polygon and the Polyhedron.
- param thePolyg
- type thePolyg
HLRBRep_ThePolygonOfInterCSurf
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
None* Constructs and computes an interference between the Straight Line and the Polyhedron.
- param theLin
- type theLin
gp_Lin
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
None* Constructs and computes an interference between the Straight Lines and the Polyhedron.
- param theLins
- type theLins
Intf_Array1OfLin
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
None* Constructs and computes an interference between the Polygon and the Polyhedron.
- param thePolyg
- type thePolyg
HLRBRep_ThePolygonOfInterCSurf
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- param theBoundSB
- type theBoundSB
Bnd_BoundSortBox
- rtype
None* Constructs and computes an interference between the Straight Line and the Polyhedron.
- param theLin
- type theLin
gp_Lin
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- param theBoundSB
- type theBoundSB
Bnd_BoundSortBox
- rtype
None* Constructs and computes an interference between the Straight Lines and the Polyhedron.
- param theLins
- type theLins
Intf_Array1OfLin
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- param theBoundSB
- type theBoundSB
Bnd_BoundSortBox
- rtype
None
-
Interference
()¶ - Compares the boundings between the segment of <thePolyg> and the facets of <thePolyh>.
- param thePolyg
- type thePolyg
HLRBRep_ThePolygonOfInterCSurf
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- param theBoundSB
- type theBoundSB
Bnd_BoundSortBox
- rtype
None* Compares the boundings between the segment of <thePolyg> and the facets of <thePolyh>.
- param thePolyg
- type thePolyg
HLRBRep_ThePolygonOfInterCSurf
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
None
-
Perform
()¶ - Computes an interference between the Polygon and the Polyhedron.
- param thePolyg
- type thePolyg
HLRBRep_ThePolygonOfInterCSurf
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
None* Computes an interference between the Straight Line and the Polyhedron.
- param theLin
- type theLin
gp_Lin
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
None* Computes an interference between the Straight Lines and the Polyhedron.
- param theLins
- type theLins
Intf_Array1OfLin
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
None* Computes an interference between the Polygon and the Polyhedron.
- param thePolyg
- type thePolyg
HLRBRep_ThePolygonOfInterCSurf
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- param theBoundSB
- type theBoundSB
Bnd_BoundSortBox
- rtype
None* Computes an interference between the Straight Line and the Polyhedron.
- param theLin
- type theLin
gp_Lin
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- param theBoundSB
- type theBoundSB
Bnd_BoundSortBox
- rtype
None* Computes an interference between the Straight Lines and the Polyhedron.
- param theLins
- type theLins
Intf_Array1OfLin
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- param theBoundSB
- type theBoundSB
Bnd_BoundSortBox
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter
(*args)¶ Bases:
OCC.Core.IntRes2d.IntRes2d_Intersection
- Empty constructor.
- rtype
None* Intersection between an implicit curve and a parametrised curve. The exception ConstructionError is raised if the domain of the parametrised curve does not verify HasFirstPoint and HasLastPoint return True.
- param ITool
- type ITool
IntCurve_IConicTool
- param Dom1
- type Dom1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param Dom2
- type Dom2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None
-
And_Domaine_Objet1_Intersections
()¶ - Parameters
TheImpTool –
- type TheImpTool
IntCurve_IConicTool
- param TheParCurve
- type TheParCurve
Standard_Address
- param TheImpCurveDomain
- type TheImpCurveDomain
IntRes2d_Domain
- param TheParCurveDomain
- type TheParCurveDomain
IntRes2d_Domain
- param NbResultats
- type NbResultats
int
- param Inter2_And_Domain2
- type Inter2_And_Domain2
TColStd_Array1OfReal
- param Inter1
- type Inter1
TColStd_Array1OfReal
- param Resultat1
- type Resultat1
TColStd_Array1OfReal
- param Resultat2
- type Resultat2
TColStd_Array1OfReal
- param EpsNul
- type EpsNul
float
- rtype
None
-
FindU
()¶ - Parameters
parameter –
- type parameter
float
- param point
- type point
gp_Pnt2d
- param TheParCurev
- type TheParCurev
Standard_Address
- param TheImpTool
- type TheImpTool
IntCurve_IConicTool
- rtype
float
-
FindV
()¶ - Parameters
parameter –
- type parameter
float
- param point
- type point
gp_Pnt2d
- param TheImpTool
- type TheImpTool
IntCurve_IConicTool
- param ParCurve
- type ParCurve
Standard_Address
- param TheParCurveDomain
- type TheParCurveDomain
IntRes2d_Domain
- param V0
- type V0
float
- param V1
- type V1
float
- param Tolerance
- type Tolerance
float
- rtype
float
-
Perform
()¶ - Intersection between an implicit curve and a parametrised curve. The exception ConstructionError is raised if the domain of the parametrised curve does not verify HasFirstPoint and HasLastPoint return True.
- param ITool
- type ITool
IntCurve_IConicTool
- param Dom1
- type Dom1
IntRes2d_Domain
- param PCurve
- type PCurve
Standard_Address
- param Dom2
- type Dom2
IntRes2d_Domain
- param TolConf
- type TolConf
float
- param Tol
- type Tol
float
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_TheLocateExtPCOfTheProjPCurOfCInter
(*args)¶ Bases:
object
- Return type
None* Calculates the distance with a close point. The close point is defined by the parameter value U0. The function F(u)=distance(P,C(u)) has an extremum when g(u)=dF/du=0. The algorithm searchs a zero near the close point. TolU is used to decide to stop the iterations. At the nth iteration, the criteria is: abs(Un - Un-1) < TolU. :param P: :type P: gp_Pnt2d :param C: :type C: Standard_Address :param U0: :type U0: float :param TolU: :type TolU: float :rtype: None* Calculates the distance with a close point. The close point is defined by the parameter value U0. The function F(u)=distance(P,C(u)) has an extremum when g(u)=dF/du=0. The algorithm searchs a zero near the close point. Zeros are searched between Umin et Usup. TolU is used to decide to stop the iterations. At the nth iteration, the criteria is: abs(Un - Un-1) < TolU. :param P: :type P: gp_Pnt2d :param C: :type C: Standard_Address :param U0: :type U0: float :param Umin: :type Umin: float :param Usup: :type Usup: float :param TolU: :type TolU: float :rtype: None
-
Initialize
()¶ - sets the fields of the algorithm.
- param C
- type C
Standard_Address
- param Umin
- type Umin
float
- param Usup
- type Usup
float
- param TolU
- type TolU
float
- rtype
None
-
IsDone
()¶ - Returns True if the distance is found.
- rtype
bool
-
IsMin
()¶ - Returns True if the extremum distance is a minimum.
- rtype
bool
-
Perform
()¶ - the algorithm is done with the point P. An exception is raised if the fields have not been initialized.
- param P
- type P
gp_Pnt2d
- param U0
- type U0
float
- rtype
None
-
Point
()¶ - Returns the point of the extremum distance.
- rtype
Extrema_POnCurv2d
-
SquareDistance
()¶ - Returns the value of the extremum square distance.
- rtype
float
-
property
thisown
¶ The membership flag
-
class
HLRBRep_ThePolygon2dOfTheIntPCurvePCurveOfCInter
(*args)¶ Bases:
OCC.Core.Intf.Intf_Polygon2d
- Compute a polygon on the domain of the curve.
- param Curve
- type Curve
Standard_Address
- param NbPnt
- type NbPnt
int
- param Domain
- type Domain
IntRes2d_Domain
- param Tol
- type Tol
float
- rtype
None
-
ApproxParamOnCurve
()¶ - Give an approximation of the parameter on the curve according to the discretization of the Curve.
- param Index
- type Index
int
- param ParamOnLine
- type ParamOnLine
float
- rtype
float
-
CalculRegion
()¶ - Parameters
x –
- type x
float
- param y
- type y
float
- param x1
- type x1
float
- param x2
- type x2
float
- param y1
- type y1
float
- param y2
- type y2
float
- rtype
int
-
Closed
()¶ - Parameters
clos –
- type clos
bool
- rtype
None* Returns True if the polyline is closed.
- rtype
bool
-
ComputeWithBox
()¶ - The current polygon is modified if most of the points of the polygon are are outside the box <OtherBox>. In this situation, bounds are computed to build a polygon inside or near the OtherBox.
- param Curve
- type Curve
Standard_Address
- param OtherBox
- type OtherBox
Bnd_Box2d
- rtype
None
-
InfParameter
()¶ - Returns the parameter (On the curve) of the first point of the Polygon
- rtype
float
-
SetDeflectionOverEstimation
()¶ - Parameters
x –
- type x
float
- rtype
None
-
SupParameter
()¶ - Returns the parameter (On the curve) of the last point of the Polygon
- rtype
float
-
property
thisown
¶ The membership flag
-
class
HLRBRep_ThePolygonOfInterCSurf
(*args)¶ Bases:
object
- Parameters
Curve –
- type Curve
gp_Lin
- param NbPnt
- type NbPnt
int
- rtype
None:param Curve:
- type Curve
gp_Lin
- param U1
- type U1
float
- param U2
- type U2
float
- param NbPnt
- type NbPnt
int
- rtype
None:param Curve:
- type Curve
gp_Lin
- param Upars
- type Upars
TColStd_Array1OfReal
- rtype
None
-
ApproxParamOnCurve
()¶ - Give an approximation of the parameter on the curve according to the discretization of the Curve.
- param Index
- type Index
int
- param ParamOnLine
- type ParamOnLine
float
- rtype
float
-
BeginOfSeg
()¶ - Give the point of range Index in the Polygon.
- param Index
- type Index
int
- rtype
gp_Pnt
-
Bounding
()¶ - Give the bounding box of the polygon.
- rtype
Bnd_Box
-
Closed
()¶ - Parameters
clos –
- type clos
bool
- rtype
None:rtype: bool
-
EndOfSeg
()¶ - Give the point of range Index in the Polygon.
- param Index
- type Index
int
- rtype
gp_Pnt
-
InfParameter
()¶ - Returns the parameter (On the curve) of the first point of the Polygon
- rtype
float
-
NbSegments
()¶ - Give the number of Segments in the polyline.
- rtype
int
-
SetDeflectionOverEstimation
()¶ - Parameters
x –
- type x
float
- rtype
None
-
SupParameter
()¶ - Returns the parameter (On the curve) of the last point of the Polygon
- rtype
float
-
property
thisown
¶ The membership flag
-
class
HLRBRep_ThePolygonToolOfInterCSurf
¶ Bases:
object
-
static
BeginOfSeg
()¶ - Give the point of range Index in the Polygon.
- param thePolygon
- type thePolygon
HLRBRep_ThePolygonOfInterCSurf
- param Index
- type Index
int
- rtype
gp_Pnt
-
static
Bounding
()¶ - Give the bounding box of the polygon.
- param thePolygon
- type thePolygon
HLRBRep_ThePolygonOfInterCSurf
- rtype
Bnd_Box
-
static
Closed
()¶ - Parameters
thePolygon –
- type thePolygon
HLRBRep_ThePolygonOfInterCSurf
- rtype
bool
-
static
DeflectionOverEstimation
()¶ - Parameters
thePolygon –
- type thePolygon
HLRBRep_ThePolygonOfInterCSurf
- rtype
float
-
static
Dump
()¶ - Parameters
thePolygon –
- type thePolygon
HLRBRep_ThePolygonOfInterCSurf
- rtype
void
-
static
EndOfSeg
()¶ - Give the point of range Index in the Polygon.
- param thePolygon
- type thePolygon
HLRBRep_ThePolygonOfInterCSurf
- param Index
- type Index
int
- rtype
gp_Pnt
-
static
NbSegments
()¶ - Parameters
thePolygon –
- type thePolygon
HLRBRep_ThePolygonOfInterCSurf
- rtype
int
-
property
thisown
¶ The membership flag
-
static
-
class
HLRBRep_ThePolyhedronToolOfInterCSurf
¶ Bases:
object
-
static
Bounding
()¶ - Give the bounding box of the PolyhedronTool.
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
Bnd_Box
-
static
ComponentsBounding
()¶ - Give the array of boxes. The box <n> corresponding to the triangle <n>.
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
opencascade::handle<Bnd_HArray1OfBox>
-
static
DeflectionOverEstimation
()¶ - Give the tolerance of the polygon.
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
float
-
static
Dump
()¶ - Parameters
thePolyh –
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
void
-
static
GetBorderDeflection
()¶ - This method returns a border deflection of the polyhedron.
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
float
-
static
IsOnBound
()¶ - This method returns true if the edge based on points with indices Index1 and Index2 represents a boundary edge. It is necessary to take into account the boundary deflection for this edge.
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- param Index1
- type Index1
int
- param Index2
- type Index2
int
- rtype
bool
-
static
NbTriangles
()¶ - Give the number of triangles in this polyedral surface.
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- rtype
int
-
static
Point
()¶ - Give the point of index i in the polyedral surface.
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- param Index
- type Index
int
- rtype
gp_Pnt
-
static
TriConnex
()¶ - Give the addresse Tricon of the triangle connexe to the triangle of address Triang by the edge Pivot Pedge and the third point of this connexe triangle. When we are on a free edge TriCon==0 but the function return the value of the triangle in the other side of Pivot on the free edge. Used to turn around a vertex.
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- param Triang
- type Triang
int
- param Pivot
- type Pivot
int
- param Pedge
- type Pedge
int
- param TriCon
- type TriCon
int
- param OtherP
- type OtherP
int
- rtype
int
-
static
Triangle
()¶ - Give the indices of the 3 points of the triangle of address Index in the PolyhedronTool.
- param thePolyh
- type thePolyh
HLRBRep_ThePolyhedronOfInterCSurf
- param Index
- type Index
int
- param P1
- type P1
int
- param P2
- type P2
int
- param P3
- type P3
int
- rtype
None
-
property
thisown
¶ The membership flag
-
static
-
class
HLRBRep_TheProjPCurOfCInter
¶ Bases:
object
-
static
FindParameter
()¶ - Returns the parameter V of the point on the parametric curve corresponding to the Point Pnt. The Correspondance between Pnt and the point P(V) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. Tol is the tolerance on the distance between a point and the parametrised curve. In that case, no bounds are given. The research of the rigth parameter has to be made on the natural parametric domain of the curve.
- param C
- type C
Standard_Address
- param Pnt
- type Pnt
gp_Pnt2d
- param Tol
- type Tol
float
- rtype
float* Returns the parameter V of the point on the parametric curve corresponding to the Point Pnt. The Correspondance between Pnt and the point P(V) on the parametric curve must be coherent with the way of determination of the signed distance between a point and the implicit curve. Tol is the tolerance on the distance between a point and the parametrised curve. LowParameter and HighParameter give the boundaries of the interval in wich the parameter certainly lies. These parameters are given to implement a more efficient algoritm. So, it is not necessary to check that the returned value verifies LowParameter <= Value <= HighParameter.
- param C
- type C
Standard_Address
- param Pnt
- type Pnt
gp_Pnt2d
- param LowParameter
- type LowParameter
float
- param HighParameter
- type HighParameter
float
- param Tol
- type Tol
float
- rtype
float
-
property
thisown
¶ The membership flag
-
static
-
class
HLRBRep_TheQuadCurvExactInterCSurf
(*args)¶ Bases:
object
- Provides the signed distance functionQ(w) and its first derivative dQ(w)/dw
- param S
- type S
Standard_Address
- param C
- type C
gp_Lin
- rtype
None
-
Intervals
()¶ - U1 and U2 are the parameters of a segment on the curve.
- param Index
- type Index
int
- param U1
- type U1
float
- param U2
- type U2
float
- rtype
None
-
Root
()¶ - Parameters
Index –
- type Index
int
- rtype
float
-
property
thisown
¶ The membership flag
-
class
HLRBRep_TheQuadCurvFuncOfTheQuadCurvExactInterCSurf
(*args)¶ Bases:
OCC.Core.math.math_FunctionWithDerivative
- Create the function.
- param Q
- type Q
IntSurf_Quadric
- param C
- type C
gp_Lin
- rtype
None
-
property
thisown
¶ The membership flag
-
class
HLRBRep_VertexList
(*args)¶ Bases:
object
- Parameters
T –
- type T
HLRBRep_EdgeInterferenceTool
- param I
- type I
HLRAlgo_ListIteratorOfInterferenceList
- rtype
None
-
BoundaryTransition
()¶ - Returns the transition of the current vertex relative to the boundary if it is an interference.
- rtype
TopAbs_Orientation
-
Current
()¶ - Returns the current vertex
- rtype
HLRAlgo_Intersection
-
IsBoundary
()¶ - Returns True if the current vertex is is on the boundary of the edge.
- rtype
bool
-
IsInterference
()¶ - Returns True if the current vertex is an interference.
- rtype
bool
-
IsPeriodic
()¶ - Returns True when the curve is periodic.
- rtype
bool
-
More
()¶ - Returns True when there are more vertices.
- rtype
bool
-
Next
()¶ - Proceeds to the next vertex.
- rtype
None
-
Orientation
()¶ - Returns the orientation of the current vertex if it is on the boundary of the edge.
- rtype
TopAbs_Orientation
-
Transition
()¶ - Returns the transition of the current vertex if it is an interference.
- rtype
TopAbs_Orientation
-
property
thisown
¶ The membership flag
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
property
thisown
¶ The membership flag
-
value
()¶
-
-
class
hlrbrep
¶ Bases:
object
-
static
MakeEdge
()¶ - Parameters
ec –
- type ec
HLRBRep_Curve
- param U1
- type U1
float
- param U2
- type U2
float
- rtype
TopoDS_Edge
-
static
MakeEdge3d
()¶ - Parameters
ec –
- type ec
HLRBRep_Curve
- param U1
- type U1
float
- param U2
- type U2
float
- rtype
TopoDS_Edge
-
static
PolyHLRAngleAndDeflection
()¶ - Parameters
InAngl –
- type InAngl
float
- param OutAngl
- type OutAngl
float
- param OutDefl
- type OutDefl
float
- rtype
void
-
property
thisown
¶ The membership flag
-
static