OCC.Contap module¶
-
class
Contap_ArcFunction
(*args)¶ Bases:
OCC.math.math_FunctionWithDerivative
Return type: None -
Quadric
()¶ Return type: IntSurf_Quadric
-
Set
()¶ Parameters: Return type: Return type: Return type: Return type: Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
Contap_ContAna
(*args)¶ Bases:
object
Return type: None -
Perform
()¶ Parameters: Return type: Return type: Return type: Return type: Return type: Return type: Return type: Return type: Return type:
-
TypeContour
()¶ - Returns GeomAbs_Line or GeomAbs_Circle, when IsDone() returns True.
Return type: GeomAbs_CurveType
-
thisown
¶ The membership flag
-
-
class
Contap_Contour
(*args)¶ Bases:
object
Return type: Parameters: Return type: Return type: Return type: - Creates the contour in a given direction.
Parameters: - Surf (Handle_Adaptor3d_HSurface &) –
- Domain (Handle_Adaptor3d_TopolTool &) –
- Direction (gp_Vec) –
Return type: - Creates the contour in a given direction.
Parameters: Return type: - Creates the contour for a perspective view.
Parameters: - Surf (Handle_Adaptor3d_HSurface &) –
- Domain (Handle_Adaptor3d_TopolTool &) –
- Eye (gp_Pnt) –
Return type: -
Init
()¶ Parameters: Return type: Return type: Return type:
-
Line
()¶ Parameters: Index (int) – Return type: Contap_Line
-
Perform
()¶ - Creates the contour in a given direction.
Parameters: - Surf (Handle_Adaptor3d_HSurface &) –
- Domain (Handle_Adaptor3d_TopolTool &) –
Return type: - Creates the contour in a given direction.
Parameters: - Surf (Handle_Adaptor3d_HSurface &) –
- Domain (Handle_Adaptor3d_TopolTool &) –
- Direction (gp_Vec) –
Return type: - Creates the contour in a given direction.
Parameters: Return type: - Creates the contour for a perspective view.
Parameters: - Surf (Handle_Adaptor3d_HSurface &) –
- Domain (Handle_Adaptor3d_TopolTool &) –
- Eye (gp_Pnt) –
Return type:
-
SurfaceFunction
()¶ - Returns a reference on the internal SurfaceFunction. This is used to compute tangents on the lines.
Return type: Contap_SurfFunction
-
thisown
¶ The membership flag
-
class
Contap_HContTool
¶ Bases:
object
-
static
Bounds
()¶ - Returns the parametric limits on the arc C. These limits must be finite : they are either the real limits of the arc, for a finite arc, or a bounding box for an infinite arc.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- Ufirst (float &) –
- Ulast (float &) –
Return type: void
-
static
HasBeenSeen
()¶ - Returns True if all the intersection point and edges are known on the Arc. The intersection point are given as vertices. The intersection edges are given as intervals between two vertices.
Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: bool
-
static
HasFirstPoint
()¶ - Returns True when the segment of range Index is not open at the left side. In that case, IndFirst is the range in the list intersection points (see NbPoints) of the one which defines the left bound of the segment. Otherwise, the method has to return False, and IndFirst has no meaning.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- Index (int) –
- IndFirst (int &) –
Return type:
-
static
HasLastPoint
()¶ - Returns True when the segment of range Index is not open at the right side. In that case, IndLast is the range in the list intersection points (see NbPoints) of the one which defines the right bound of the segment. Otherwise, the method has to return False, and IndLast has no meaning.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- Index (int) –
- IndLast (int &) –
Return type:
-
static
IsAllSolution
()¶ - Returns True when the whole restriction is solution of the intersection problem.
Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: bool
-
static
IsVertex
()¶ - Returns True if the intersection point of range Index corresponds with a vertex on the arc A.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- Index (int) –
Return type:
-
static
NbPoints
()¶ - Returns the number of intersection points on the arc A.
Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: int
-
static
NbSamplesOnArc
()¶ - returns the number of points which is used to make a sample on the arc. this number is a function of the Surface and the CurveOnSurface complexity.
Parameters: A (Handle_Adaptor2d_HCurve2d &) – Return type: int
-
static
NbSamplesU
()¶ Parameters: Return type:
-
static
NbSamplesV
()¶ Parameters: Return type:
-
static
NbSegments
()¶ - returns the number of part of A solution of the of intersection problem.
Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: int
-
static
Parameter
()¶ - Returns the parameter of the vertex V on the arc A.
Parameters: - V (Handle_Adaptor3d_HVertex &) –
- C (Handle_Adaptor2d_HCurve2d &) –
Return type:
-
static
Project
()¶ - Projects the point P on the arc C. If the methods returns Standard_True, the projection is successful, and Paramproj is the parameter on the arc of the projected point, Ptproj is the projected Point. If the method returns Standard_False, Param proj and Ptproj are not significant.
Parameters: Return type:
-
static
SamplePoint
()¶ Parameters: - S (Handle_Adaptor3d_HSurface &) –
- Index (int) –
- U (float &) –
- V (float &) –
Return type: void
-
static
Tolerance
()¶ - Returns the parametric tolerance used to consider that the vertex and another point meet, i-e if Abs(parameter(Vertex) - parameter(OtherPnt))<= Tolerance, the points are ‘merged’.
Parameters: - V (Handle_Adaptor3d_HVertex &) –
- C (Handle_Adaptor2d_HCurve2d &) –
Return type:
-
static
Value
()¶ - Returns the value (Pt), the tolerance (Tol), and the parameter (U) on the arc A , of the intersection point of range Index.
Parameters: Return type: void
-
static
Vertex
()¶ - When IsVertex returns True, this method returns the vertex on the arc A.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- Index (int) –
- V (Handle_Adaptor3d_HVertex &) –
Return type: void
-
thisown
¶ The membership flag
-
static
-
Contap_HContTool_Bounds
()¶ - Returns the parametric limits on the arc C. These limits must be finite : they are either the real limits of the arc, for a finite arc, or a bounding box for an infinite arc.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- Ufirst (float &) –
- Ulast (float &) –
Return type: void
-
Contap_HContTool_HasBeenSeen
()¶ - Returns True if all the intersection point and edges are known on the Arc. The intersection point are given as vertices. The intersection edges are given as intervals between two vertices.
Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: bool
-
Contap_HContTool_HasFirstPoint
()¶ - Returns True when the segment of range Index is not open at the left side. In that case, IndFirst is the range in the list intersection points (see NbPoints) of the one which defines the left bound of the segment. Otherwise, the method has to return False, and IndFirst has no meaning.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- Index (int) –
- IndFirst (int &) –
Return type:
-
Contap_HContTool_HasLastPoint
()¶ - Returns True when the segment of range Index is not open at the right side. In that case, IndLast is the range in the list intersection points (see NbPoints) of the one which defines the right bound of the segment. Otherwise, the method has to return False, and IndLast has no meaning.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- Index (int) –
- IndLast (int &) –
Return type:
-
Contap_HContTool_IsAllSolution
()¶ - Returns True when the whole restriction is solution of the intersection problem.
Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: bool
-
Contap_HContTool_IsVertex
()¶ - Returns True if the intersection point of range Index corresponds with a vertex on the arc A.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- Index (int) –
Return type:
-
Contap_HContTool_NbPoints
()¶ - Returns the number of intersection points on the arc A.
Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: int
-
Contap_HContTool_NbSamplesOnArc
()¶ - returns the number of points which is used to make a sample on the arc. this number is a function of the Surface and the CurveOnSurface complexity.
Parameters: A (Handle_Adaptor2d_HCurve2d &) – Return type: int
-
Contap_HContTool_NbSamplesU
()¶ Parameters: Return type:
-
Contap_HContTool_NbSamplesV
()¶ Parameters: Return type:
-
Contap_HContTool_NbSegments
()¶ - returns the number of part of A solution of the of intersection problem.
Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: int
-
Contap_HContTool_Parameter
()¶ - Returns the parameter of the vertex V on the arc A.
Parameters: - V (Handle_Adaptor3d_HVertex &) –
- C (Handle_Adaptor2d_HCurve2d &) –
Return type:
-
Contap_HContTool_Project
()¶ - Projects the point P on the arc C. If the methods returns Standard_True, the projection is successful, and Paramproj is the parameter on the arc of the projected point, Ptproj is the projected Point. If the method returns Standard_False, Param proj and Ptproj are not significant.
Parameters: Return type:
-
Contap_HContTool_SamplePoint
()¶ Parameters: - S (Handle_Adaptor3d_HSurface &) –
- Index (int) –
- U (float &) –
- V (float &) –
Return type: void
-
Contap_HContTool_Tolerance
()¶ - Returns the parametric tolerance used to consider that the vertex and another point meet, i-e if Abs(parameter(Vertex) - parameter(OtherPnt))<= Tolerance, the points are ‘merged’.
Parameters: - V (Handle_Adaptor3d_HVertex &) –
- C (Handle_Adaptor2d_HCurve2d &) –
Return type:
-
Contap_HContTool_Value
()¶ - Returns the value (Pt), the tolerance (Tol), and the parameter (U) on the arc A , of the intersection point of range Index.
Parameters: Return type: void
-
Contap_HContTool_Vertex
()¶ - When IsVertex returns True, this method returns the vertex on the arc A.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- Index (int) –
- V (Handle_Adaptor3d_HVertex &) –
Return type: void
-
class
Contap_HCurve2dTool
¶ Bases:
object
-
static
BSpline
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: Handle_Geom2d_BSplineCurve
-
static
Bezier
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: Handle_Geom2d_BezierCurve
-
static
Continuity
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: GeomAbs_Shape
-
static
D0
()¶ - Computes the point of parameter U on the curve.
Parameters: Return type: void
-
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.
Parameters: Return type: void
-
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.
Parameters: Return type: void
-
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.
Parameters: Return type: void
-
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.
Parameters: Return type:
-
static
Ellipse
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: gp_Elips2d
-
static
GetType
()¶ - Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: GeomAbs_CurveType
-
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()
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- T (TColStd_Array1OfReal &) –
- S (GeomAbs_Shape) –
Return type: void
-
static
NbIntervals
()¶ - Returns the number of intervals for continuity <S>. May be one if Continuity(myclass) >= <S>
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- S (GeomAbs_Shape) –
Return type:
-
static
NbSamples
()¶ Parameters: Return type:
-
static
Parabola
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: gp_Parab2d
-
static
Resolution
()¶ - Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- R3d (float) –
Return type:
-
static
Value
()¶ - Computes the point of parameter U on the curve.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- U (float) –
Return type:
-
thisown
¶ The membership flag
-
static
-
Contap_HCurve2dTool_BSpline
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: Handle_Geom2d_BSplineCurve
-
Contap_HCurve2dTool_Bezier
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: Handle_Geom2d_BezierCurve
-
Contap_HCurve2dTool_Continuity
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: GeomAbs_Shape
-
Contap_HCurve2dTool_D0
()¶ - Computes the point of parameter U on the curve.
Parameters: Return type: void
-
Contap_HCurve2dTool_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.
Parameters: Return type: void
-
Contap_HCurve2dTool_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.
Parameters: Return type: void
-
Contap_HCurve2dTool_D3
()¶ - Returns the point P of parameter U, the first, the second and the third derivative. Raised if the continuity of the current interval is not C3.
Parameters: Return type: void
-
Contap_HCurve2dTool_DN
()¶ - The returned vector gives the value of the derivative for the order of derivation N. Raised if the continuity of the current interval is not CN. Raised if N < 1.
Parameters: Return type:
-
Contap_HCurve2dTool_Ellipse
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: gp_Elips2d
-
Contap_HCurve2dTool_FirstParameter
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: float
-
Contap_HCurve2dTool_GetType
()¶ - Returns the type of the curve in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve.
Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: GeomAbs_CurveType
-
Contap_HCurve2dTool_Intervals
()¶ - Stores in <T> the parameters bounding the intervals of continuity <S>. //! The array must provide enough room to accomodate for the parameters. i.e. T.Length() > NbIntervals()
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- T (TColStd_Array1OfReal &) –
- S (GeomAbs_Shape) –
Return type: void
-
Contap_HCurve2dTool_NbIntervals
()¶ - Returns the number of intervals for continuity <S>. May be one if Continuity(myclass) >= <S>
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- S (GeomAbs_Shape) –
Return type:
-
Contap_HCurve2dTool_NbSamples
()¶ Parameters: Return type:
-
Contap_HCurve2dTool_Parabola
()¶ Parameters: C (Handle_Adaptor2d_HCurve2d &) – Return type: gp_Parab2d
-
Contap_HCurve2dTool_Resolution
()¶ - Returns the parametric resolution corresponding to the real space resolution <R3d>.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- R3d (float) –
Return type:
-
Contap_HCurve2dTool_Value
()¶ - Computes the point of parameter U on the curve.
Parameters: - C (Handle_Adaptor2d_HCurve2d &) –
- U (float) –
Return type:
-
class
Contap_Line
(*args)¶ Bases:
object
Return type: None -
Arc
()¶ Return type: Handle_Adaptor2d_HCurve2d
-
LineOn2S
()¶ Return type: Handle_IntSurf_LineOn2S
-
Point
()¶ Parameters: Index (int) – Return type: IntSurf_PntOn2S
-
SetTransitionOnS
()¶ - Set The Tansition of the line.
Parameters: T (IntSurf_TypeTrans) – Return type: None
-
SetValue
()¶ Parameters: Return type: Return type: Return type:
-
TransitionOnS
()¶ - returns IN if at the ‘left’ of the line, the normale of the surface is oriented to the observator.
Return type: IntSurf_TypeTrans
-
TypeContour
()¶ - Returns Contap_Lin for a line, Contap_Circle for a circle, and Contap_Walking for a Walking line, Contap_Restriction for a part of boundarie.
Return type: Contap_IType
-
Vertex
()¶ Parameters: Index (int) – Return type: Contap_Point
-
thisown
¶ The membership flag
-
-
class
Contap_Point
(*args)¶ Bases:
object
- Empty constructor.
Return type: None - Creates a point.
Parameters: Return type: -
Arc
()¶ - Returns the arc of restriction containing the vertex.
Return type: Handle_Adaptor2d_HCurve2d
-
IsInternal
()¶ - Returns True if the point is an internal one, i.e if the tangent to the line on the point and the eye direction are parallel.
Return type: bool
-
IsOnArc
()¶ - Returns True when the point is an intersection between the contour and a restriction.
Return type: bool
-
IsVertex
()¶ - Returns True if the point is a vertex on the initial restriction facet of the surface.
Return type: bool
-
ParameterOnArc
()¶ - Returns the parameter of the point on the arc returned by the method Arc().
Return type: float
-
ParameterOnLine
()¶ - This method returns the parameter of the point on the intersection line. If the points does not belong to an intersection line, the value returned does not have any sens.
Return type: float
-
Parameters
()¶ - Returns the parameters on the surface of the point.
Parameters: - U1 (float &) –
- V1 (float &) –
Return type:
-
SetArc
()¶ - Sets the value of the arc and of the parameter on this arc of the point.
Parameters: - A (Handle_Adaptor2d_HCurve2d &) –
- Param (float) –
- TLine (IntSurf_Transition &) –
- TArc (IntSurf_Transition &) –
Return type:
-
SetParameter
()¶ - Set the value of the parameter on the intersection line.
Parameters: Para (float) – Return type: None
-
SetValue
()¶ - Sets the values for a point.
Parameters: Return type:
-
SetVertex
()¶ - Sets the values of a point which is a vertex on the initial facet of restriction of one of the surface.
Parameters: V (Handle_Adaptor3d_HVertex &) – Return type: None
-
TransitionOnArc
()¶ - Returns the transition of the point on the arc.
Return type: IntSurf_Transition
-
TransitionOnLine
()¶ - Returns the transition of the point on the contour.
Return type: IntSurf_Transition
-
Vertex
()¶ - Returns the information about the point when it is on the domain of the patch, i-e when the function IsVertex returns True. Otherwise, an exception is raised.
Return type: Handle_Adaptor3d_HVertex
-
thisown
¶ The membership flag
-
class
Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (Handle_Contap_TheIWLineOfTheIWalking &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: Handle_Contap_TheIWLineOfTheIWalking
-
thisown
¶ The membership flag
-
class
Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (Contap_ThePathPointOfTheSearch &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: Contap_ThePathPointOfTheSearch
-
thisown
¶ The membership flag
-
class
Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (Contap_TheSegmentOfTheSearch &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: Contap_TheSegmentOfTheSearch
-
thisown
¶ The membership flag
-
class
Contap_SequenceNodeOfTheSequenceOfLine
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (Contap_Line &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: Contap_Line
-
thisown
¶ The membership flag
-
class
Contap_SequenceNodeOfTheSequenceOfPoint
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (Contap_Point &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: Contap_Point
-
thisown
¶ The membership flag
-
class
Contap_SequenceOfIWLineOfTheIWalking
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (Contap_SequenceOfIWLineOfTheIWalking &) – Return type: None -
Append
()¶ Parameters: - T (Handle_Contap_TheIWLineOfTheIWalking &) –
- S (Contap_SequenceOfIWLineOfTheIWalking &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (Contap_SequenceOfIWLineOfTheIWalking &) – Return type: Contap_SequenceOfIWLineOfTheIWalking
-
ChangeValue
()¶ Parameters: Index (int) – Return type: Handle_Contap_TheIWLineOfTheIWalking
-
First
()¶ Return type: Handle_Contap_TheIWLineOfTheIWalking
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (Handle_Contap_TheIWLineOfTheIWalking &) –
- Index –
- S (Contap_SequenceOfIWLineOfTheIWalking &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (Handle_Contap_TheIWLineOfTheIWalking &) –
- Index –
- S (Contap_SequenceOfIWLineOfTheIWalking &) –
Return type: Return type:
-
Last
()¶ Return type: Handle_Contap_TheIWLineOfTheIWalking
-
Prepend
()¶ Parameters: - T (Handle_Contap_TheIWLineOfTheIWalking &) –
- S (Contap_SequenceOfIWLineOfTheIWalking &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (Contap_SequenceOfIWLineOfTheIWalking &) – Return type: Contap_SequenceOfIWLineOfTheIWalking
-
Value
()¶ Parameters: Index (int) – Return type: Handle_Contap_TheIWLineOfTheIWalking
-
thisown
¶ The membership flag
-
-
class
Contap_SequenceOfPathPointOfTheSearch
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (Contap_SequenceOfPathPointOfTheSearch &) – Return type: None -
Append
()¶ Parameters: - T (Contap_ThePathPointOfTheSearch &) –
- S (Contap_SequenceOfPathPointOfTheSearch &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (Contap_SequenceOfPathPointOfTheSearch &) – Return type: Contap_SequenceOfPathPointOfTheSearch
-
ChangeValue
()¶ Parameters: Index (int) – Return type: Contap_ThePathPointOfTheSearch
-
First
()¶ Return type: Contap_ThePathPointOfTheSearch
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (Contap_ThePathPointOfTheSearch &) –
- Index –
- S (Contap_SequenceOfPathPointOfTheSearch &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (Contap_ThePathPointOfTheSearch &) –
- Index –
- S (Contap_SequenceOfPathPointOfTheSearch &) –
Return type: Return type:
-
Last
()¶ Return type: Contap_ThePathPointOfTheSearch
-
Prepend
()¶ Parameters: - T (Contap_ThePathPointOfTheSearch &) –
- S (Contap_SequenceOfPathPointOfTheSearch &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (Contap_SequenceOfPathPointOfTheSearch &) – Return type: Contap_SequenceOfPathPointOfTheSearch
-
Value
()¶ Parameters: Index (int) – Return type: Contap_ThePathPointOfTheSearch
-
thisown
¶ The membership flag
-
-
class
Contap_SequenceOfSegmentOfTheSearch
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (Contap_SequenceOfSegmentOfTheSearch &) – Return type: None -
Append
()¶ Parameters: - T (Contap_TheSegmentOfTheSearch &) –
- S (Contap_SequenceOfSegmentOfTheSearch &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (Contap_SequenceOfSegmentOfTheSearch &) – Return type: Contap_SequenceOfSegmentOfTheSearch
-
ChangeValue
()¶ Parameters: Index (int) – Return type: Contap_TheSegmentOfTheSearch
-
First
()¶ Return type: Contap_TheSegmentOfTheSearch
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (Contap_TheSegmentOfTheSearch &) –
- Index –
- S (Contap_SequenceOfSegmentOfTheSearch &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (Contap_TheSegmentOfTheSearch &) –
- Index –
- S (Contap_SequenceOfSegmentOfTheSearch &) –
Return type: Return type:
-
Last
()¶ Return type: Contap_TheSegmentOfTheSearch
-
Prepend
()¶ Parameters: - T (Contap_TheSegmentOfTheSearch &) –
- S (Contap_SequenceOfSegmentOfTheSearch &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (Contap_SequenceOfSegmentOfTheSearch &) – Return type: Contap_SequenceOfSegmentOfTheSearch
-
Value
()¶ Parameters: Index (int) – Return type: Contap_TheSegmentOfTheSearch
-
thisown
¶ The membership flag
-
-
class
Contap_SurfFunction
(*args)¶ Bases:
OCC.math.math_FunctionSetWithDerivatives
Return type: None -
FunctionType
()¶ Return type: Contap_TFunction
-
Root
()¶ - Root is the value of the function at the solution. It is a vector of dimension 1, i-e a real.
Return type: float
-
Set
()¶ Parameters: Return type: Return type: Return type: Return type: Return type: Return type:
-
Surface
()¶ Return type: Handle_Adaptor3d_HSurface
-
Tolerance
()¶ - Returns the value Tol so that if Abs(Func.Root())<Tol the function is considered null.
Return type: float
-
thisown
¶ The membership flag
-
-
class
Contap_SurfProps
¶ Bases:
object
-
static
DerivAndNorm
()¶ - Computes the point <P>, and normal vector <N> on <S> at parameters U,V.
Parameters: Return type: void
-
static
NormAndDn
()¶ - Computes the point <P>, normal vector <N>, and its derivatives <Dnu> and <Dnv> on <S> at parameters U,V.
Parameters: Return type: void
-
static
Normale
()¶ - Computes the point <P>, and normal vector <N> on <S> at parameters U,V.
Parameters: Return type: void
-
thisown
¶ The membership flag
-
static
-
Contap_SurfProps_DerivAndNorm
()¶ - Computes the point <P>, and normal vector <N> on <S> at parameters U,V.
Parameters: Return type: void
-
Contap_SurfProps_NormAndDn
()¶ - Computes the point <P>, normal vector <N>, and its derivatives <Dnu> and <Dnv> on <S> at parameters U,V.
Parameters: Return type: void
-
Contap_SurfProps_Normale
()¶ - Computes the point <P>, and normal vector <N> on <S> at parameters U,V.
Parameters: Return type: void
-
class
Contap_TheHSequenceOfPoint
(*args)¶ Bases:
OCC.MMgt.MMgt_TShared
Return type: None -
Append
()¶ Parameters: - anItem (Contap_Point &) –
- aSequence (Handle_Contap_TheHSequenceOfPoint &) –
Return type: Return type:
-
ChangeSequence
()¶ Return type: Contap_TheSequenceOfPoint
-
ChangeValue
()¶ Parameters: anIndex (int) – Return type: Contap_Point
-
GetHandle
()¶
-
InsertAfter
()¶ Parameters: - anIndex (int) –
- anItem (Contap_Point &) –
- anIndex –
- aSequence (Handle_Contap_TheHSequenceOfPoint &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - anIndex (int) –
- anItem (Contap_Point &) –
- anIndex –
- aSequence (Handle_Contap_TheHSequenceOfPoint &) –
Return type: Return type:
-
Prepend
()¶ Parameters: - anItem (Contap_Point &) –
- aSequence (Handle_Contap_TheHSequenceOfPoint &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Sequence
()¶ Return type: Contap_TheSequenceOfPoint
-
Split
()¶ Parameters: anIndex (int) – Return type: Handle_Contap_TheHSequenceOfPoint
-
Value
()¶ Parameters: anIndex (int) – Return type: Contap_Point
-
thisown
¶ The membership flag
-
-
class
Contap_TheIWLineOfTheIWalking
(*args)¶ Bases:
OCC.MMgt.MMgt_TShared
Parameters: theAllocator (IntSurf_Allocator &) – default value is 0 Return type: None -
AddStatusFirst
()¶ Parameters: Return type: Return type:
-
AddStatusFirstLast
()¶ Parameters: Return type:
-
AddStatusLast
()¶ Parameters: Return type: Return type:
-
FirstPoint
()¶ Return type: IntSurf_PathPoint
-
GetHandle
()¶
-
LastPoint
()¶ Return type: IntSurf_PathPoint
-
Line
()¶ Return type: Handle_IntSurf_LineOn2S
-
Value
()¶ Parameters: Index (int) – Return type: IntSurf_PntOn2S
-
thisown
¶ The membership flag
-
-
class
Contap_TheIWalking
(*args)¶ Bases:
object
Parameters: Return type: -
Perform
()¶ Parameters: - Pnts1 (IntSurf_SequenceOfPathPoint &) –
- Pnts2 (IntSurf_SequenceOfInteriorPoint &) –
- Func (Contap_SurfFunction &) –
- S (Handle_Adaptor3d_HSurface &) –
- Reversed (bool) – default value is Standard_False
- Pnts1 –
- Func –
- S –
- Reversed – default value is Standard_False
Return type: Return type:
-
SinglePnt
()¶ Parameters: Index (int) – Return type: IntSurf_PathPoint
-
Value
()¶ Parameters: Index (int) – Return type: Handle_Contap_TheIWLineOfTheIWalking
-
thisown
¶ The membership flag
-
-
class
Contap_ThePathPointOfTheSearch
(*args)¶ Bases:
object
Return type: Parameters: Return type: Return type: -
Arc
()¶ Return type: Handle_Adaptor2d_HCurve2d
-
SetValue
()¶ Parameters: Return type: Return type:
-
Vertex
()¶ Return type: Handle_Adaptor3d_HVertex
-
thisown
¶ The membership flag
-
-
class
Contap_TheSearch
(*args)¶ Bases:
object
Return type: None -
Perform
()¶ Parameters: Return type:
-
Point
()¶ Parameters: Index (int) – Return type: Contap_ThePathPointOfTheSearch
-
Segment
()¶ Parameters: Index (int) – Return type: Contap_TheSegmentOfTheSearch
-
thisown
¶ The membership flag
-
-
class
Contap_TheSearchInside
(*args)¶ Bases:
object
Return type: Parameters: - F (Contap_SurfFunction &) –
- Surf (Handle_Adaptor3d_HSurface &) –
- T (Handle_Adaptor3d_TopolTool &) –
- Epsilon (float) –
Return type: -
Perform
()¶ Parameters: Return type: Return type:
-
Value
()¶ Parameters: Index (int) – Return type: IntSurf_InteriorPoint
-
thisown
¶ The membership flag
-
class
Contap_TheSegmentOfTheSearch
(*args)¶ Bases:
object
Return type: None -
Curve
()¶ Return type: Handle_Adaptor2d_HCurve2d
-
FirstPoint
()¶ Return type: Contap_ThePathPointOfTheSearch
-
LastPoint
()¶ Return type: Contap_ThePathPointOfTheSearch
-
thisown
¶ The membership flag
-
-
class
Contap_TheSequenceOfLine
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (Contap_TheSequenceOfLine &) – Return type: None -
Append
()¶ Parameters: - T (Contap_Line &) –
- S (Contap_TheSequenceOfLine &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (Contap_TheSequenceOfLine &) – Return type: Contap_TheSequenceOfLine
-
ChangeValue
()¶ Parameters: Index (int) – Return type: Contap_Line
-
First
()¶ Return type: Contap_Line
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (Contap_Line &) –
- Index –
- S (Contap_TheSequenceOfLine &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (Contap_Line &) –
- Index –
- S (Contap_TheSequenceOfLine &) –
Return type: Return type:
-
Last
()¶ Return type: Contap_Line
-
Prepend
()¶ Parameters: - T (Contap_Line &) –
- S (Contap_TheSequenceOfLine &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (Contap_TheSequenceOfLine &) – Return type: Contap_TheSequenceOfLine
-
Value
()¶ Parameters: Index (int) – Return type: Contap_Line
-
thisown
¶ The membership flag
-
-
class
Contap_TheSequenceOfPoint
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (Contap_TheSequenceOfPoint &) – Return type: None -
Append
()¶ Parameters: - T (Contap_Point &) –
- S (Contap_TheSequenceOfPoint &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (Contap_TheSequenceOfPoint &) – Return type: Contap_TheSequenceOfPoint
-
ChangeValue
()¶ Parameters: Index (int) – Return type: Contap_Point
-
First
()¶ Return type: Contap_Point
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (Contap_Point &) –
- Index –
- S (Contap_TheSequenceOfPoint &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (Contap_Point &) –
- Index –
- S (Contap_TheSequenceOfPoint &) –
Return type: Return type:
-
Last
()¶ Return type: Contap_Point
-
Prepend
()¶ Parameters: - T (Contap_Point &) –
- S (Contap_TheSequenceOfPoint &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (Contap_TheSequenceOfPoint &) – Return type: Contap_TheSequenceOfPoint
-
Value
()¶ Parameters: Index (int) – Return type: Contap_Point
-
thisown
¶ The membership flag
-
-
class
Handle_Contap_SequenceNodeOfSequenceOfIWLineOfTheIWalking
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_Contap_SequenceNodeOfSequenceOfPathPointOfTheSearch
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_Contap_SequenceNodeOfSequenceOfSegmentOfTheSearch
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_Contap_SequenceNodeOfTheSequenceOfLine
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_Contap_SequenceNodeOfTheSequenceOfPoint
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_Contap_TheHSequenceOfPoint
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_Contap_TheIWLineOfTheIWalking
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
thisown
¶ The membership flag
-
value
()¶
-
-
new_instancemethod
(func, inst, cls)¶
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases