OCC.Core.IntCurveSurface module¶
IntCurveSurface module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_intcurvesurface.html
-
class
IntCurveSurface_HInter
(*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
Adaptor3d_HCurve
- param Surface
- type Surface
Adaptor3d_HSurface
- 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
Adaptor3d_HCurve
- param Polygon
- type Polygon
IntCurveSurface_ThePolygonOfHInter
- param Surface
- type Surface
Adaptor3d_HSurface
- 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
Adaptor3d_HCurve
- param ThePolygon
- type ThePolygon
IntCurveSurface_ThePolygonOfHInter
- param Surface
- type Surface
Adaptor3d_HSurface
- param Polyhedron
- type Polyhedron
IntCurveSurface_ThePolyhedronOfHInter
- 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
Adaptor3d_HCurve
- param ThePolygon
- type ThePolygon
IntCurveSurface_ThePolygonOfHInter
- param Surface
- type Surface
Adaptor3d_HSurface
- param Polyhedron
- type Polyhedron
IntCurveSurface_ThePolyhedronOfHInter
- 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
Adaptor3d_HCurve
- param Surface
- type Surface
Adaptor3d_HSurface
- param Polyhedron
- type Polyhedron
IntCurveSurface_ThePolyhedronOfHInter
- rtype
None
-
property
thisown
¶ The membership flag
-
class
IntCurveSurface_Intersection
(*args, **kwargs)¶ Bases:
object
-
Dump
()¶ - Dump all the fields.
- rtype
None
-
IsDone
()¶ - returns the <done> field.
- rtype
bool
-
IsParallel
()¶ - Returns true if curve is parallel or belongs surface This case is recognized only for some pairs of analytical curves and surfaces (plane - line, …)
- rtype
bool
-
NbPoints
()¶ - returns the number of IntersectionPoint if IsDone returns True. else NotDone is raised.
- rtype
int
-
NbSegments
()¶ - returns the number of IntersectionSegment if IsDone returns True. else NotDone is raised.
- rtype
int
-
Point
()¶ - returns the IntersectionPoint of range <Index> raises NotDone if the computation has failed or if the computation has not been done raises OutOfRange if Index is not in the range <1..NbPoints>
- param Index
- type Index
int
- rtype
IntCurveSurface_IntersectionPoint
-
Segment
()¶ - returns the IntersectionSegment of range <Index> raises NotDone if the computation has failed or if the computation has not been done raises OutOfRange if Index is not in the range <1..NbSegment>
- param Index
- type Index
int
- rtype
IntCurveSurface_IntersectionSegment
-
property
thisown
¶ The membership flag
-
-
class
IntCurveSurface_IntersectionPoint
(*args)¶ Bases:
object
- Empty Constructor.
- rtype
None* Create an IntersectionPoint.
- param P
- type P
gp_Pnt
- param USurf
- type USurf
float
- param VSurf
- type VSurf
float
- param UCurv
- type UCurv
float
- param TrCurv
- type TrCurv
IntCurveSurface_TransitionOnCurve
- rtype
None
-
Dump
()¶ - Dump all the fields.
- rtype
None
-
Pnt
()¶ - returns the geometric point.
- rtype
gp_Pnt
-
SetValues
()¶ - Set the fields of the current IntersectionPoint.
- param P
- type P
gp_Pnt
- param USurf
- type USurf
float
- param VSurf
- type VSurf
float
- param UCurv
- type UCurv
float
- param TrCurv
- type TrCurv
IntCurveSurface_TransitionOnCurve
- rtype
None
-
Transition
()¶ - returns the Transition of the point.
- rtype
IntCurveSurface_TransitionOnCurve
-
U
()¶ - returns the U parameter on the surface.
- rtype
float
-
V
()¶ - returns the V parameter on the surface.
- rtype
float
-
Values
()¶ - Get the fields of the current IntersectionPoint.
- param P
- type P
gp_Pnt
- param USurf
- type USurf
float
- param VSurf
- type VSurf
float
- param UCurv
- type UCurv
float
- param TrCurv
- type TrCurv
IntCurveSurface_TransitionOnCurve
- rtype
None
-
W
()¶ - returns the parameter on the curve.
- rtype
float
-
property
thisown
¶ The membership flag
-
class
IntCurveSurface_IntersectionSegment
(*args)¶ Bases:
object
- Return type
None:param P1: :type P1: IntCurveSurface_IntersectionPoint :param P2: :type P2: IntCurveSurface_IntersectionPoint :rtype: None
-
FirstPoint
()¶ - Parameters
P1 –
- type P1
IntCurveSurface_IntersectionPoint
- rtype
None:rtype: IntCurveSurface_IntersectionPoint
-
SecondPoint
()¶ - Parameters
P2 –
- type P2
IntCurveSurface_IntersectionPoint
- rtype
None:rtype: IntCurveSurface_IntersectionPoint
-
SetValues
()¶ - Parameters
P1 –
- type P1
IntCurveSurface_IntersectionPoint
- param P2
- type P2
IntCurveSurface_IntersectionPoint
- rtype
None
-
Values
()¶ - Parameters
P1 –
- type P1
IntCurveSurface_IntersectionPoint
- param P2
- type P2
IntCurveSurface_IntersectionPoint
- rtype
None
-
property
thisown
¶ The membership flag
-
class
IntCurveSurface_SequenceOfPnt
(*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
IntCurveSurface_SequenceOfSeg
(*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
IntCurveSurface_TheCSFunctionOfHInter
(*args)¶ Bases:
OCC.Core.math.math_FunctionSetWithDerivatives
- Parameters
S –
- type S
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
AuxillarCurve
()¶ - Return type
opencascade::handle<Adaptor3d_HCurve>
-
AuxillarSurface
()¶ - Return type
opencascade::handle<Adaptor3d_HSurface>
-
property
thisown
¶ The membership flag
-
class
IntCurveSurface_TheExactHInter
(*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
IntCurveSurface_TheCSFunctionOfHInter
- 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
IntCurveSurface_TheCSFunctionOfHInter
- param TolTangency
- type TolTangency
float
- rtype
None
-
Function
()¶ - return the math function which is used to compute the intersection
- rtype
IntCurveSurface_TheCSFunctionOfHInter
-
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
IntCurveSurface_TheHCurveTool
¶ Bases:
object
-
static
BSpline
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- rtype
opencascade::handle<Geom_BSplineCurve>
-
static
Bezier
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- rtype
opencascade::handle<Geom_BezierCurve>
-
static
Circle
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- rtype
gp_Circ
-
static
Continuity
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- rtype
GeomAbs_Shape
-
static
D0
()¶ - Computes the point of parameter U on the curve.
- param C
- type C
Adaptor3d_HCurve
- 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
Adaptor3d_HCurve
- 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
Adaptor3d_HCurve
- 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
Adaptor3d_HCurve
- 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
Adaptor3d_HCurve
- param U
- type U
float
- param N
- type N
int
- rtype
gp_Vec
-
static
Ellipse
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- rtype
gp_Elips
-
static
FirstParameter
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- 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
Adaptor3d_HCurve
- rtype
GeomAbs_CurveType
-
static
Hyperbola
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- 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
Adaptor3d_HCurve
- param T
- type T
TColStd_Array1OfReal
- param S
- type S
GeomAbs_Shape
- rtype
None
-
static
IsClosed
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- rtype
bool
-
static
IsPeriodic
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- rtype
bool
-
static
LastParameter
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- rtype
float
-
static
Line
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- rtype
gp_Lin
-
static
NbIntervals
()¶ - Returns the number of intervals for continuity <S>. May be one if Continuity(myclass) >= <S>
- param C
- type C
Adaptor3d_HCurve
- param S
- type S
GeomAbs_Shape
- rtype
int
-
static
NbSamples
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- param U0
- type U0
float
- param U1
- type U1
float
- rtype
int
-
static
Parabola
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- rtype
gp_Parab
-
static
Period
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- rtype
float
-
static
Resolution
()¶ - Returns the parametric resolution corresponding to the real space resolution <R3d>.
- param C
- type C
Adaptor3d_HCurve
- param R3d
- type R3d
float
- rtype
float
-
static
SamplePars
()¶ - Parameters
C –
- type C
Adaptor3d_HCurve
- 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
void
-
static
Value
()¶ - Computes the point of parameter U on the curve.
- param C
- type C
Adaptor3d_HCurve
- param U
- type U
float
- rtype
gp_Pnt
-
property
thisown
¶ The membership flag
-
static
-
class
IntCurveSurface_TheInterferenceOfHInter
(*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
IntCurveSurface_ThePolygonOfHInter
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- rtype
None* Constructs and computes an interference between the Straight Line and the Polyhedron.
- param theLin
- type theLin
gp_Lin
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- rtype
None* Constructs and computes an interference between the Straight Lines and the Polyhedron.
- param theLins
- type theLins
Intf_Array1OfLin
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- rtype
None* Constructs and computes an interference between the Polygon and the Polyhedron.
- param thePolyg
- type thePolyg
IntCurveSurface_ThePolygonOfHInter
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- 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
IntCurveSurface_ThePolyhedronOfHInter
- 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
IntCurveSurface_ThePolyhedronOfHInter
- 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
IntCurveSurface_ThePolygonOfHInter
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- 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
IntCurveSurface_ThePolygonOfHInter
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- rtype
None
-
Perform
()¶ - Computes an interference between the Polygon and the Polyhedron.
- param thePolyg
- type thePolyg
IntCurveSurface_ThePolygonOfHInter
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- rtype
None* Computes an interference between the Straight Line and the Polyhedron.
- param theLin
- type theLin
gp_Lin
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- rtype
None* Computes an interference between the Straight Lines and the Polyhedron.
- param theLins
- type theLins
Intf_Array1OfLin
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- rtype
None* Computes an interference between the Polygon and the Polyhedron.
- param thePolyg
- type thePolyg
IntCurveSurface_ThePolygonOfHInter
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- 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
IntCurveSurface_ThePolyhedronOfHInter
- 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
IntCurveSurface_ThePolyhedronOfHInter
- param theBoundSB
- type theBoundSB
Bnd_BoundSortBox
- rtype
None
-
property
thisown
¶ The membership flag
-
class
IntCurveSurface_ThePolygonOfHInter
(*args)¶ Bases:
object
- Parameters
Curve –
- type Curve
Adaptor3d_HCurve
- param NbPnt
- type NbPnt
int
- rtype
None:param Curve:
- type Curve
Adaptor3d_HCurve
- param U1
- type U1
float
- param U2
- type U2
float
- param NbPnt
- type NbPnt
int
- rtype
None:param Curve:
- type Curve
Adaptor3d_HCurve
- 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
IntCurveSurface_ThePolygonToolOfHInter
¶ Bases:
object
-
static
BeginOfSeg
()¶ - Give the point of range Index in the Polygon.
- param thePolygon
- type thePolygon
IntCurveSurface_ThePolygonOfHInter
- param Index
- type Index
int
- rtype
gp_Pnt
-
static
Bounding
()¶ - Give the bounding box of the polygon.
- param thePolygon
- type thePolygon
IntCurveSurface_ThePolygonOfHInter
- rtype
Bnd_Box
-
static
Closed
()¶ - Parameters
thePolygon –
- type thePolygon
IntCurveSurface_ThePolygonOfHInter
- rtype
bool
-
static
DeflectionOverEstimation
()¶ - Parameters
thePolygon –
- type thePolygon
IntCurveSurface_ThePolygonOfHInter
- rtype
float
-
static
Dump
()¶ - Parameters
thePolygon –
- type thePolygon
IntCurveSurface_ThePolygonOfHInter
- rtype
void
-
static
EndOfSeg
()¶ - Give the point of range Index in the Polygon.
- param thePolygon
- type thePolygon
IntCurveSurface_ThePolygonOfHInter
- param Index
- type Index
int
- rtype
gp_Pnt
-
static
NbSegments
()¶ - Parameters
thePolygon –
- type thePolygon
IntCurveSurface_ThePolygonOfHInter
- rtype
int
-
property
thisown
¶ The membership flag
-
static
-
class
IntCurveSurface_ThePolyhedronToolOfHInter
¶ Bases:
object
-
static
Bounding
()¶ - Give the bounding box of the PolyhedronTool.
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- rtype
Bnd_Box
-
static
ComponentsBounding
()¶ - Give the array of boxes. The box <n> corresponding to the triangle <n>.
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- rtype
opencascade::handle<Bnd_HArray1OfBox>
-
static
DeflectionOverEstimation
()¶ - Give the tolerance of the polygon.
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- rtype
float
-
static
Dump
()¶ - Parameters
thePolyh –
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- rtype
void
-
static
GetBorderDeflection
()¶ - This method returns a border deflection of the polyhedron.
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- 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
IntCurveSurface_ThePolyhedronOfHInter
- 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
IntCurveSurface_ThePolyhedronOfHInter
- rtype
int
-
static
Point
()¶ - Give the point of index i in the polyedral surface.
- param thePolyh
- type thePolyh
IntCurveSurface_ThePolyhedronOfHInter
- 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
IntCurveSurface_ThePolyhedronOfHInter
- 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
IntCurveSurface_ThePolyhedronOfHInter
- 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
IntCurveSurface_TheQuadCurvExactHInter
(*args)¶ Bases:
object
- Provides the signed distance functionQ(w) and its first derivative dQ(w)/dw
- param S
- type S
Adaptor3d_HSurface
- param C
- type C
Adaptor3d_HCurve
- 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
IntCurveSurface_TheQuadCurvFuncOfTheQuadCurvExactHInter
(*args)¶ Bases:
OCC.Core.math.math_FunctionWithDerivative
- Create the function.
- param Q
- type Q
IntSurf_Quadric
- param C
- type C
Adaptor3d_HCurve
- rtype
None
-
property
thisown
¶ The membership flag