OCC.IntTools module¶
Contains classes for intersection and classification- purposes and accompanying classes
-
class
Handle_IntTools_Context
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntTools_DataMapNodeOfDataMapOfCurveSampleBox
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntTools_DataMapNodeOfDataMapOfSurfaceSampleBox
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntTools_IndexedDataMapNodeOfIndexedDataMapOfTransientAddress
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntTools_ListNodeOfListOfBox
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntTools_ListNodeOfListOfCurveRangeSample
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntTools_ListNodeOfListOfSurfaceRangeSample
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntTools_SequenceNodeOfSequenceOfCommonPrts
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntTools_SequenceNodeOfSequenceOfCurves
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntTools_SequenceNodeOfSequenceOfPntOn2Faces
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntTools_SequenceNodeOfSequenceOfRanges
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntTools_SequenceNodeOfSequenceOfRoots
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntTools_StdMapNodeOfMapOfCurveSample
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntTools_StdMapNodeOfMapOfSurfaceSample
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_IntTools_TopolTool
(*args)¶ Bases:
OCC.Adaptor3d.Handle_Adaptor3d_TopolTool
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
IntTools_Array1OfRange
(*args)¶ Bases:
object
Parameters: Return type: Return type: -
Assign
()¶ Parameters: Other (IntTools_Array1OfRange &) – Return type: IntTools_Array1OfRange
-
ChangeValue
()¶ Parameters: Index (int) – Return type: IntTools_Range
-
Set
()¶ Parameters: Other (IntTools_Array1OfRange &) – Return type: IntTools_Array1OfRange
-
Value
()¶ Parameters: Index (int) – Return type: IntTools_Range
-
thisown
¶ The membership flag
-
-
class
IntTools_Array1OfRoots
(*args)¶ Bases:
object
Parameters: Return type: Return type: -
Assign
()¶ Parameters: Other (IntTools_Array1OfRoots &) – Return type: IntTools_Array1OfRoots
-
ChangeValue
()¶ Parameters: Index (int) – Return type: IntTools_Root
-
Set
()¶ Parameters: Other (IntTools_Array1OfRoots &) – Return type: IntTools_Array1OfRoots
-
Value
()¶ Parameters: Index (int) – Return type: IntTools_Root
-
thisown
¶ The membership flag
-
-
class
IntTools_BaseRangeSample
(*args)¶ Bases:
object
Return type: None Parameters: theDepth (int) – Return type: None -
thisown
¶ The membership flag
-
-
class
IntTools_BeanFaceIntersector
(*args)¶ Bases:
object
Return type: None - Initializes the algorithm //! Warning: The parts of the edge which are on the surface of the face and belong to the whole in the face (if there is) is considered as result
Parameters: - theEdge (TopoDS_Edge &) –
- theFace (TopoDS_Face &) –
Return type: - Initializes the algorithm
Parameters: Return type: - Initializes the algorithm theUMinParameter, … are used for optimization purposes
Parameters: Return type: -
Context
()¶ - Gets the intersecton context
Return type: Handle_IntTools_Context
-
Init
()¶ - Initializes the algorithm //! Warning: The parts of the edge which are on the surface of the face and belong to the whole in the face (if there is) is considered as result
Parameters: - theEdge (TopoDS_Edge &) –
- theFace (TopoDS_Face &) –
Return type: - Initializes the algorithm
Parameters: Return type: - Initializes the algorithm theUMinParameter, … are used for optimization purposes
Parameters: Return type:
-
Result
()¶ Return type: IntTools_SequenceOfRanges Parameters: theResults (IntTools_SequenceOfRanges &) – Return type: None
-
SetBeanParameters
()¶ - Set restrictions for curve
Parameters: Return type:
-
SetContext
()¶ - Sets the intersecton context
Parameters: theContext (Handle_IntTools_Context &) – Return type: None
-
SetSurfaceParameters
()¶ - Set restrictions for surface
Parameters: Return type:
-
thisown
¶ The membership flag
-
class
IntTools_CommonPrt
(*args)¶ Bases:
object
- Empty constructor
Return type: None - Copy constructor
Parameters: aCPrt (IntTools_CommonPrt &) – Return type: None -
AppendRange2
()¶ - Appends the range of second edge.
Parameters: aR (IntTools_Range &) – Return type: None - Appends the range of second edge.
Parameters: Return type:
-
Assign
()¶ Parameters: Other (IntTools_CommonPrt &) – Return type: IntTools_CommonPrt
-
ChangeRanges2
()¶ - Returns the ranges of second edge.
Return type: IntTools_SequenceOfRanges
-
Edge1
()¶ - Returns the first edge.
Return type: TopoDS_Edge
-
Edge2
()¶ - Returns the second edge
Return type: TopoDS_Edge
-
Range1
()¶ - Returns the range of first edge
Return type: IntTools_Range - Returns the range of first edge.
Parameters: - tf (float &) –
- tl (float &) –
Return type:
-
Ranges2
()¶ - Returns the ranges of second edge.
Return type: IntTools_SequenceOfRanges
-
Set
()¶ Parameters: Other (IntTools_CommonPrt &) – Return type: IntTools_CommonPrt
-
SetRange1
()¶ - Sets the range of first edge.
Parameters: aR (IntTools_Range &) – Return type: None - Sets the range of first edge.
Parameters: Return type:
-
SetType
()¶ - Sets the type of the common part Vertex or Edge
Parameters: aType (TopAbs_ShapeEnum) – Return type: None
-
Type
()¶ - Returns the type of the common part
Return type: TopAbs_ShapeEnum
-
thisown
¶ The membership flag
-
class
IntTools_Compare
(*args)¶ Bases:
object
- Empty constructor
Return type: None - Initializes me by tolerance
Parameters: aTol (float) – Return type: None -
IsEqual
()¶ - Returns True when <Right> and <Left> are equal.
Parameters: - Left (IntTools_Root &) –
- Right (IntTools_Root &) –
Return type:
-
IsGreater
()¶ - Returns True if <Left> is greater than <Right>.
Parameters: - Left (IntTools_Root &) –
- Right (IntTools_Root &) –
Return type:
-
IsLower
()¶ - Returns True if <Left> is lower than <Right>.
Parameters: - Left (IntTools_Root &) –
- Right (IntTools_Root &) –
Return type:
-
thisown
¶ The membership flag
-
class
IntTools_CompareRange
(*args)¶ Bases:
object
- Empty constructor
Return type: None - Initializes me by tolerance
Parameters: aTol (float) – Return type: None -
IsEqual
()¶ - Returns True when <Right> and <Left> are equal.
Parameters: - Left (IntTools_Range &) –
- Right (IntTools_Range &) –
Return type:
-
IsGreater
()¶ - Returns True if <Left> is greater than <Right>.
Parameters: - Left (IntTools_Range &) –
- Right (IntTools_Range &) –
Return type:
-
IsLower
()¶ - Returns True if <Left> is lower than <Right>.
Parameters: - Left (IntTools_Range &) –
- Right (IntTools_Range &) –
Return type:
-
thisown
¶ The membership flag
-
class
IntTools_Context
(*args)¶ Bases:
OCC.MMgt.MMgt_TShared
Return type: None Parameters: theAllocator (BOPCol_BaseAllocator &) – Return type: None -
ComputePE
()¶ - Computes parameter of the Point theP on the edge aE. Returns zero if the distance between point and edge is less than sum of tolerance value of edge and theTopP, otherwise and for following conditions returns negative value 1. the edge is degenerated (-1) 2. the edge does not contain 3d curve and pcurves (-2) 3. projection algorithm failed (-3)
Parameters: Return type:
-
ComputeVE
()¶ - Computes parameter of the vertex aV on the edge aE. Returns zero if the distance between vertex and edge is less than sum of tolerances, otherwise and for following conditions returns negative value 1. the edge is degenerated (-1) 2. the edge does not contain 3d curve and pcurves (-2) 3. projection algorithm failed (-3)
Parameters: - aV (TopoDS_Vertex &) –
- aE (TopoDS_Edge &) –
- aT (float &) –
Return type:
-
ComputeVF
()¶ - Computes UV parameters of the vertex aV on face aF Returns zero if the distance between vertex and face is less than or equal the sum of tolerances and the projection point lays inside boundaries of the face. For following conditions returns negative value 1. projection algorithm failed (-1) 2. distance is more than sum of tolerances (-2) 3. projection point out or on the boundaries of face (-3)
Parameters: - aV (TopoDS_Vertex &) –
- aF (TopoDS_Face &) –
- U (float &) –
- V (float &) –
Return type:
-
FClass2d
()¶ - Returns a reference to point classifier for given face
Parameters: aF (TopoDS_Face &) – Return type: IntTools_FClass2d
-
GetHandle
()¶
-
Hatcher
()¶ - Returns a reference to 2D hatcher for given face
Parameters: aF (TopoDS_Face &) – Return type: Geom2dHatch_Hatcher
-
IsInfiniteFace
()¶ - Returns true if the solid <theFace> has infinite bounds
Parameters: theFace (TopoDS_Face &) – Return type: bool
-
IsPointInFace
()¶ - Returns true if the point aP2D is inside the boundaries of the face aF, otherwise returns false
Parameters: - aF (TopoDS_Face &) –
- aP2D (gp_Pnt2d) –
Return type: - Returns true if the point aP2D is inside the boundaries of the face aF, otherwise returns false
Parameters: Return type:
-
IsPointInOnFace
()¶ - Returns true if the point aP2D is inside or on the boundaries of aF
Parameters: - aF (TopoDS_Face &) –
- aP2D (gp_Pnt2d) –
Return type:
-
IsValidBlockForFace
()¶ - Returns true if IsValidPointForFace returns true for some 3d point that lay on the curve aIC bounded by parameters aT1 and aT2
Parameters: Return type:
-
IsValidBlockForFaces
()¶ - Returns true if IsValidBlockForFace returns true for both faces aF1 and aF2
Parameters: Return type:
-
IsValidPointForFace
()¶ - Returns true if the distance between point aP3D and face aF is less or equal to tolerance aTol and projection point is inside or on the boundaries of the face aF
Parameters: Return type:
-
IsValidPointForFaces
()¶ - Returns true if IsValidPointForFace returns true for both face aF1 and aF2
Parameters: Return type:
-
IsVertexOnLine
()¶ - Computes parameter of the vertex aV on the curve aIC. Returns true if the distance between vertex and curve is less than sum of tolerance of aV and aTolC, otherwise or if projection algorithm failed returns false (in this case aT isn’t significant)
Parameters: - aV (TopoDS_Vertex &) –
- aIC (IntTools_Curve &) –
- aTolC (float) –
- aT (float &) –
Return type: - Computes parameter of the vertex aV on the curve aIC. Returns true if the distance between vertex and curve is less than sum of tolerance of aV and aTolC, otherwise or if projection algorithm failed returns false (in this case aT isn’t significant)
Parameters: Return type:
-
ProjPC
()¶ - Returns a reference to point projector for given edge
Parameters: aE (TopoDS_Edge &) – Return type: GeomAPI_ProjectPointOnCurve
-
ProjPS
()¶ - Returns a reference to point projector for given face
Parameters: aF (TopoDS_Face &) – Return type: GeomAPI_ProjectPointOnSurf
-
ProjPT
()¶ - Returns a reference to point projector for given curve
Parameters: aC (Handle_Geom_Curve &) – Return type: GeomAPI_ProjectPointOnCurve
-
ProjectPointOnEdge
()¶ - Computes parameter of the point aP on the edge aE. Returns false if projection algorithm failed other wiese returns true.
Parameters: - aP (gp_Pnt) –
- aE (TopoDS_Edge &) –
- aT (float &) –
Return type:
-
SetPOnSProjectionTolerance
()¶ - Sets tolerance to be used for projection of point on surface. Clears map of already cached projectors in order to maintain correct value for all projectors
Parameters: theValue (float) – Return type: None
-
SolidClassifier
()¶ - Returns a reference to solid classifier for given solid
Parameters: aSolid (TopoDS_Solid &) – Return type: BRepClass3d_SolidClassifier
-
StatePointFace
()¶ - Returns the state of the point aP2D relative to face aF
Parameters: - aF (TopoDS_Face &) –
- aP2D (gp_Pnt2d) –
Return type: TopAbs_State
-
SurfaceData
()¶ - Returns a reference to surface localization data for given face
Parameters: aF (TopoDS_Face &) – Return type: IntTools_SurfaceRangeLocalizeData
-
thisown
¶ The membership flag
-
-
class
IntTools_Curve
(*args)¶ Bases:
object
- Empty constructor
Return type: None - Initializes me by a 3d curve and two 2d curves
Parameters: - Curve3d (Handle_Geom_Curve &) –
- FirstCurve2d (Handle_Geom2d_Curve &) –
- SecondCurve2d (Handle_Geom2d_Curve &) –
Return type: -
Bounds
()¶ - Returns boundary parameters and corresponded 3d point. //! Warning: If HasBounds returns false the returned parameters are equal to zero.
Parameters: Return type:
-
Curve
()¶ - Selector
Return type: Handle_Geom_Curve
-
D0
()¶ - Computes 3d point corresponded to parameter aT1 Returns true if given parameter aT1 is inside the boundaries of the curve
Parameters: - aT1 (float &) –
- aP1 (gp_Pnt) –
Return type:
-
FirstCurve2d
()¶ - Selector
Return type: Handle_Geom2d_Curve
-
SecondCurve2d
()¶ - Selector
Return type: Handle_Geom2d_Curve
-
SetCurves
()¶ - Modifier
Parameters: - Curve3d (Handle_Geom_Curve &) –
- FirstCurve2d (Handle_Geom2d_Curve &) –
- SecondCurve2d (Handle_Geom2d_Curve &) –
Return type:
-
Type
()¶ - Returns the type of 3d curve
Return type: GeomAbs_CurveType
-
thisown
¶ The membership flag
-
class
IntTools_CurveRangeLocalizeData
(*args)¶ Bases:
object
Parameters: Return type: -
AddBox
()¶ Parameters: - theRange (IntTools_CurveRangeSample &) –
- theBox (Bnd_Box &) –
Return type:
-
FindBox
()¶ Parameters: - theRange (IntTools_CurveRangeSample &) –
- theBox (Bnd_Box &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
IntTools_CurveRangeSample
(*args)¶ Bases:
OCC.IntTools.IntTools_BaseRangeSample
Return type: None Parameters: theIndex (int) – Return type: None -
GetRange
()¶ Parameters: Return type:
-
thisown
¶ The membership flag
-
-
class
IntTools_DataMapIteratorOfDataMapOfCurveSampleBox
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None Parameters: aMap (IntTools_DataMapOfCurveSampleBox &) – Return type: None -
Key
()¶ Return type: IntTools_CurveRangeSample
-
thisown
¶ The membership flag
-
-
class
IntTools_DataMapIteratorOfDataMapOfSurfaceSampleBox
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None Parameters: aMap (IntTools_DataMapOfSurfaceSampleBox &) – Return type: None -
Key
()¶ Return type: IntTools_SurfaceRangeSample
-
thisown
¶ The membership flag
-
-
class
IntTools_DataMapNodeOfDataMapOfCurveSampleBox
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K (IntTools_CurveRangeSample &) –
- I (Bnd_Box &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Key
()¶ Return type: IntTools_CurveRangeSample
-
thisown
¶ The membership flag
-
class
IntTools_DataMapNodeOfDataMapOfSurfaceSampleBox
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K (IntTools_SurfaceRangeSample &) –
- I (Bnd_Box &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Key
()¶ Return type: IntTools_SurfaceRangeSample
-
thisown
¶ The membership flag
-
class
IntTools_DataMapOfCurveSampleBox
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMap
Parameters: NbBuckets (int) – default value is 1 Return type: None -
Assign
()¶ Parameters: Other (IntTools_DataMapOfCurveSampleBox &) – Return type: IntTools_DataMapOfCurveSampleBox
-
ChangeFind1
()¶ Parameters: K (IntTools_CurveRangeSample &) – Return type: Standard_Address
-
Find1
()¶ Parameters: K (IntTools_CurveRangeSample &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (IntTools_DataMapOfCurveSampleBox &) – Return type: IntTools_DataMapOfCurveSampleBox
-
thisown
¶ The membership flag
-
-
class
IntTools_DataMapOfSurfaceSampleBox
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMap
Parameters: NbBuckets (int) – default value is 1 Return type: None -
Assign
()¶ Parameters: Other (IntTools_DataMapOfSurfaceSampleBox &) – Return type: IntTools_DataMapOfSurfaceSampleBox
-
ChangeFind1
()¶ Parameters: K (IntTools_SurfaceRangeSample &) – Return type: Standard_Address
-
Find1
()¶ Parameters: K (IntTools_SurfaceRangeSample &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (IntTools_DataMapOfSurfaceSampleBox &) – Return type: IntTools_DataMapOfSurfaceSampleBox
-
thisown
¶ The membership flag
-
-
class
IntTools_EdgeEdge
(*args)¶ Bases:
object
- Empty contructor
Return type: None - Contructor
Parameters: - theEdge1 (TopoDS_Edge &) –
- theEdge2 (TopoDS_Edge &) –
Return type: - Contructor
Parameters: Return type: -
CommonParts
()¶ - Returns common parts
Return type: IntTools_SequenceOfCommonPrts
-
SetEdge1
()¶ - Sets the first edge
Parameters: theEdge (TopoDS_Edge &) – Return type: None - Sets the first edge and its range
Parameters: Return type:
-
SetEdge2
()¶ - Sets the second edge
Parameters: theEdge (TopoDS_Edge &) – Return type: None - Sets the first edge and its range
Parameters: Return type:
-
SetRange1
()¶ - Sets the range for the first edge
Parameters: theRange1 (IntTools_Range &) – Return type: None - Sets the range for the first edge
Parameters: Return type:
-
SetRange2
()¶ - Sets the range for the second edge
Parameters: theRange (IntTools_Range &) – Return type: None - Sets the range for the second edge
Parameters: Return type:
-
thisown
¶ The membership flag
-
class
IntTools_EdgeFace
(*args)¶ Bases:
object
- Empty Constructor
Return type: None -
CommonParts
()¶ - Returns results
Return type: IntTools_SequenceOfCommonPrts
-
Context
()¶ - Gets the intersecton context
Return type: Handle_IntTools_Context
-
Edge
()¶ - Returns edge
Return type: TopoDS_Edge
-
ErrorStatus
()¶ - Returns code of completion 0 - means successful completion 1 - the process was not started 2,3,4,5 - invalid source data for the algorithm 6 - discretization failed 7 - no projectable ranges found 11 - distance computing error
Return type: int
-
Face
()¶ - Returns face
Return type: TopoDS_Face
-
IsDone
()¶ - Returns true if computation was done successfully, otherwise returns false
Return type: bool
-
static
IsEqDistance
()¶ Parameters: Return type:
-
Range
()¶ - Returns boundaries for edge
Return type: IntTools_Range
-
SetContext
()¶ - Sets the intersecton context
Parameters: theContext (Handle_IntTools_Context &) – Return type: None
-
SetDeflection
()¶ - Initializes algorithm by deflection value
Parameters: aDeflection (float) – Return type: None
-
SetDiscretize
()¶ - Initializes algorithm by discretization value
Parameters: aDiscret (int) – Return type: None
-
SetEdge
()¶ - Initializes algorithm by the edge anEdge
Parameters: anEdge (TopoDS_Edge &) – Return type: None
-
SetEpsilonNull
()¶ - Initializes algorithm by distance tolerance
Parameters: anEpsNull (float) – Return type: None
-
SetEpsilonT
()¶ - Initializes algorithm by parameter tolerance
Parameters: anEpsT (float) – Return type: None
-
SetFace
()¶ - Initializes algorithm by the face aFace
Parameters: aFace (TopoDS_Face &) – Return type: None
-
SetRange
()¶ - Sets boundaries for edge. The algorithm processes edge inside these boundaries.
Parameters: aRange (IntTools_Range &) – Return type: None - Sets boundaries for edge. The algorithm processes edge inside these boundaries.
Parameters: Return type:
-
thisown
¶ The membership flag
-
IntTools_EdgeFace_IsEqDistance
()¶ Parameters: Return type:
-
class
IntTools_FClass2d
(*args)¶ Bases:
object
- Empty constructor
Return type: None - Initializes algorithm by the face F and tolerance Tol
Parameters: - F (TopoDS_Face &) –
- Tol (float) –
Return type: -
Init
()¶ - Initializes algorithm by the face F and tolerance Tol
Parameters: - F (TopoDS_Face &) –
- Tol (float) –
Return type:
-
Perform
()¶ - Returns state of the 2d point Puv. If RecadreOnPeriodic is true (defalut value), for the periodic surface 2d point, adjusted to period, is classified.
Parameters: Return type: TopAbs_State
-
PerformInfinitePoint
()¶ - Returns state of infinite 2d point relatively to (0, 0)
Return type: TopAbs_State
-
TestOnRestriction
()¶ - Test a point with +- an offset (Tol) and returns On if some points are OUT an some are IN (Caution: Internal use . see the code for more details)
Parameters: Return type: TopAbs_State
-
thisown
¶ The membership flag
-
class
IntTools_FaceFace
(*args)¶ Bases:
object
- Empty constructor.
Return type: None -
Context
()¶ - Gets the intersecton context
Return type: Handle_IntTools_Context
-
Face1
()¶ - Returns first of processed faces
Return type: TopoDS_Face
-
Face2
()¶ - Returns second of processed faces
Return type: TopoDS_Face
-
Lines
()¶ - Returns sequence of 3d curves as result of intersection
Return type: IntTools_SequenceOfCurves
-
Perform
()¶ - Intersects underliing surfaces of F1 and F2 Use sum of tolerance of F1 and F2 as intersection criteria
Parameters: - F1 (TopoDS_Face &) –
- F2 (TopoDS_Face &) –
Return type:
-
Points
()¶ - Returns sequence of 3d curves as result of intersection
Return type: IntTools_SequenceOfPntOn2Faces
-
PrepareLines3D
()¶ - Provides post-processing the result lines. <bToSplit> - the flag. In case of <bToSplit> is true the closed 3D-curves will be splitted on parts. In case of <bToSplit> is false the closed 3D-curves remain untouched.
Parameters: bToSplit (bool) – default value is Standard_True Return type: None
-
SetContext
()¶ - Sets the intersecton context
Parameters: aContext (Handle_IntTools_Context &) – Return type: None
-
SetParameters
()¶ - Modifier
Parameters: Return type:
-
TolReached2d
()¶ - Returns tolerance reached during approximation. If approximation was not done, returns zero.
Return type: float
-
TolReached3d
()¶ - Returns tolerance reached during approximation. If approximation was not done, returns zero.
Return type: float
-
thisown
¶ The membership flag
-
class
IntTools_IndexedDataMapNodeOfIndexedDataMapOfTransientAddress
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K1 (Handle_Standard_Transient &) –
- K2 (int) –
- I (Standard_Address &) –
- n1 (TCollection_MapNodePtr &) –
- n2 (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
GetKey2
()¶ IntTools_IndexedDataMapNodeOfIndexedDataMapOfTransientAddress_GetKey2(IntTools_IndexedDataMapNodeOfIndexedDataMapOfTransientAddress self) -> Standard_Integer
-
Key1
()¶ Return type: Handle_Standard_Transient
-
Next2
()¶ Return type: TCollection_MapNodePtr
-
SetKey2
()¶ IntTools_IndexedDataMapNodeOfIndexedDataMapOfTransientAddress_SetKey2(IntTools_IndexedDataMapNodeOfIndexedDataMapOfTransientAddress self, Standard_Integer value)
-
Value
()¶ Return type: Standard_Address
-
thisown
¶ The membership flag
-
class
IntTools_IndexedDataMapOfTransientAddress
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMap
Parameters: NbBuckets (int) – default value is 1 Return type: None -
Assign
()¶ Parameters: Other (IntTools_IndexedDataMapOfTransientAddress &) – Return type: IntTools_IndexedDataMapOfTransientAddress
-
ChangeFromKey
()¶ Parameters: K (Handle_Standard_Transient &) – Return type: Standard_Address
-
ChangeFromKey1
()¶ Parameters: K (Handle_Standard_Transient &) – Return type: Standard_Address
-
FindFromKey
()¶ Parameters: K (Handle_Standard_Transient &) – Return type: Standard_Address
-
FindFromKey1
()¶ Parameters: K (Handle_Standard_Transient &) – Return type: Standard_Address
-
FindKey
()¶ Parameters: I (int) – Return type: Handle_Standard_Transient
-
Set
()¶ Parameters: Other (IntTools_IndexedDataMapOfTransientAddress &) – Return type: IntTools_IndexedDataMapOfTransientAddress
-
Substitute
()¶ Parameters: - I (int) –
- K (Handle_Standard_Transient &) –
- T (Standard_Address &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
IntTools_ListIteratorOfListOfBox
(*args)¶ Bases:
object
Return type: None Parameters: L (IntTools_ListOfBox &) – Return type: None -
thisown
¶ The membership flag
-
-
class
IntTools_ListIteratorOfListOfCurveRangeSample
(*args)¶ Bases:
object
Return type: None Parameters: L (IntTools_ListOfCurveRangeSample &) – Return type: None -
Value
()¶ Return type: IntTools_CurveRangeSample
-
thisown
¶ The membership flag
-
-
class
IntTools_ListIteratorOfListOfSurfaceRangeSample
(*args)¶ Bases:
object
Return type: None Parameters: L (IntTools_ListOfSurfaceRangeSample &) – Return type: None -
Value
()¶ Return type: IntTools_SurfaceRangeSample
-
thisown
¶ The membership flag
-
-
class
IntTools_ListNodeOfListOfBox
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - I (Bnd_Box &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
IntTools_ListNodeOfListOfCurveRangeSample
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - I (IntTools_CurveRangeSample &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: IntTools_CurveRangeSample
-
thisown
¶ The membership flag
-
class
IntTools_ListNodeOfListOfSurfaceRangeSample
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - I (IntTools_SurfaceRangeSample &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: IntTools_SurfaceRangeSample
-
thisown
¶ The membership flag
-
class
IntTools_ListOfBox
(*args)¶ Bases:
object
Return type: None Parameters: Other (IntTools_ListOfBox &) – Return type: None -
Append
()¶ Parameters: - I (Bnd_Box &) –
- I –
- theIt (IntTools_ListIteratorOfListOfBox &) –
- Other (IntTools_ListOfBox &) –
Return type: Return type: Return type:
-
InsertAfter
()¶ Parameters: - I (Bnd_Box &) –
- It (IntTools_ListIteratorOfListOfBox &) –
- Other (IntTools_ListOfBox &) –
- It –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - I (Bnd_Box &) –
- It (IntTools_ListIteratorOfListOfBox &) –
- Other (IntTools_ListOfBox &) –
- It –
Return type: Return type:
-
Prepend
()¶ Parameters: - I (Bnd_Box &) –
- I –
- theIt (IntTools_ListIteratorOfListOfBox &) –
- Other (IntTools_ListOfBox &) –
Return type: Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
IntTools_ListOfCurveRangeSample
(*args)¶ Bases:
object
Return type: None Parameters: Other (IntTools_ListOfCurveRangeSample &) – Return type: None -
Append
()¶ Parameters: - I (IntTools_CurveRangeSample &) –
- I –
- theIt (IntTools_ListIteratorOfListOfCurveRangeSample &) –
- Other (IntTools_ListOfCurveRangeSample &) –
Return type: Return type: Return type:
-
First
()¶ Return type: IntTools_CurveRangeSample
-
InsertAfter
()¶ Parameters: - I (IntTools_CurveRangeSample &) –
- It (IntTools_ListIteratorOfListOfCurveRangeSample &) –
- Other (IntTools_ListOfCurveRangeSample &) –
- It –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - I (IntTools_CurveRangeSample &) –
- It (IntTools_ListIteratorOfListOfCurveRangeSample &) –
- Other (IntTools_ListOfCurveRangeSample &) –
- It –
Return type: Return type:
-
Last
()¶ Return type: IntTools_CurveRangeSample
-
Prepend
()¶ Parameters: - I (IntTools_CurveRangeSample &) –
- I –
- theIt (IntTools_ListIteratorOfListOfCurveRangeSample &) –
- Other (IntTools_ListOfCurveRangeSample &) –
Return type: Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
IntTools_ListOfSurfaceRangeSample
(*args)¶ Bases:
object
Return type: None Parameters: Other (IntTools_ListOfSurfaceRangeSample &) – Return type: None -
Append
()¶ Parameters: - I (IntTools_SurfaceRangeSample &) –
- I –
- theIt (IntTools_ListIteratorOfListOfSurfaceRangeSample &) –
- Other (IntTools_ListOfSurfaceRangeSample &) –
Return type: Return type: Return type:
-
First
()¶ Return type: IntTools_SurfaceRangeSample
-
InsertAfter
()¶ Parameters: - I (IntTools_SurfaceRangeSample &) –
- It (IntTools_ListIteratorOfListOfSurfaceRangeSample &) –
- Other (IntTools_ListOfSurfaceRangeSample &) –
- It –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - I (IntTools_SurfaceRangeSample &) –
- It (IntTools_ListIteratorOfListOfSurfaceRangeSample &) –
- Other (IntTools_ListOfSurfaceRangeSample &) –
- It –
Return type: Return type:
-
Last
()¶ Return type: IntTools_SurfaceRangeSample
-
Prepend
()¶ Parameters: - I (IntTools_SurfaceRangeSample &) –
- I –
- theIt (IntTools_ListIteratorOfListOfSurfaceRangeSample &) –
- Other (IntTools_ListOfSurfaceRangeSample &) –
Return type: Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
IntTools_MapIteratorOfMapOfCurveSample
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None Parameters: aMap (IntTools_MapOfCurveSample &) – Return type: None -
Key
()¶ Return type: IntTools_CurveRangeSample
-
thisown
¶ The membership flag
-
-
class
IntTools_MapIteratorOfMapOfSurfaceSample
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None Parameters: aMap (IntTools_MapOfSurfaceSample &) – Return type: None -
Key
()¶ Return type: IntTools_SurfaceRangeSample
-
thisown
¶ The membership flag
-
-
class
IntTools_MapOfCurveSample
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMap
Parameters: - NbBuckets (int) – default value is 1
- Other (IntTools_MapOfCurveSample &) –
Return type: Return type: -
Assign
()¶ Parameters: Other (IntTools_MapOfCurveSample &) – Return type: IntTools_MapOfCurveSample
-
Set
()¶ Parameters: Other (IntTools_MapOfCurveSample &) – Return type: IntTools_MapOfCurveSample
-
thisown
¶ The membership flag
-
class
IntTools_MapOfSurfaceSample
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMap
Parameters: - NbBuckets (int) – default value is 1
- Other (IntTools_MapOfSurfaceSample &) –
Return type: Return type: -
Assign
()¶ Parameters: Other (IntTools_MapOfSurfaceSample &) – Return type: IntTools_MapOfSurfaceSample
-
Set
()¶ Parameters: Other (IntTools_MapOfSurfaceSample &) – Return type: IntTools_MapOfSurfaceSample
-
thisown
¶ The membership flag
-
class
IntTools_MarkedRangeSet
(*args)¶ Bases:
object
- Empty constructor
Return type: None - build set of ranges which consists of one range with boundary values theFirstBoundary and theLastBoundary
Parameters: Return type: - Build set of ranges based on the array of progressive sorted values //! Warning: The constructor do not check if the values of array are not sorted It should be checked before function invocation
Parameters: - theSortedArray (IntTools_CArray1OfReal &) –
- theInitFlag (int) –
Return type: -
GetIndex
()¶ - Returns index of range which contains theValue. If theValue do not belong any range returns 0.
Parameters: theValue (float) – Return type: int - Returns index of range which contains theValue If theValue do not belong any range returns 0. If UseLower is Standard_True then lower boundary of the range can be equal to theValue, otherwise upper boundary of the range can be equal to theValue.
Parameters: Return type:
-
GetIndices
()¶ Parameters: theValue (float) – Return type: TColStd_SequenceOfInteger
-
InsertRange
()¶ - Inserts a new range marked with flag theFlag It replace the existing ranges or parts of ranges and their flags. Returns True if the range is inside the initial boundaries, otherwise or in case of some error returns False
Parameters: Return type: - Inserts a new range marked with flag theFlag It replace the existing ranges or parts of ranges and their flags. Returns True if the range is inside the initial boundaries, otherwise or in case of some error returns False
Parameters: - theRange (IntTools_Range &) –
- theFlag (int) –
Return type: - Inserts a new range marked with flag theFlag It replace the existing ranges or parts of ranges and their flags. The index theIndex is a position where the range will be inserted. Returns True if the range is inside the initial boundaries, otherwise or in case of some error returns False
Parameters: Return type: - Inserts a new range marked with flag theFlag It replace the existing ranges or parts of ranges and their flags. The index theIndex is a position where the range will be inserted. Returns True if the range is inside the initial boundaries, otherwise or in case of some error returns False
Parameters: Return type:
-
Range
()¶ - Returns the range with index theIndex. the Index can be from 1 to Length()
Parameters: theIndex (int) – Return type: IntTools_Range
-
SetBoundaries
()¶ - build set of ranges which consists of one range with boundary values theFirstBoundary and theLastBoundary
Parameters: Return type:
-
SetFlag
()¶ - Set flag theFlag for range with index theIndex
Parameters: Return type:
-
SetRanges
()¶ - Build set of ranges based on the array of progressive sorted values //! Warning: The function do not check if the values of array are not sorted It should be checked before function invocation
Parameters: - theSortedArray (IntTools_CArray1OfReal &) –
- theInitFlag (int) –
Return type:
-
thisown
¶ The membership flag
-
class
IntTools_PntOn2Faces
(*args)¶ Bases:
object
- Empty constructor
Return type: None - Initializes me by two points aP1 and aP2
Parameters: - aP1 (IntTools_PntOnFace &) –
- aP2 (IntTools_PntOnFace &) –
Return type: -
P1
()¶ - Selector
Return type: IntTools_PntOnFace
-
P2
()¶ - Selector
Return type: IntTools_PntOnFace
-
thisown
¶ The membership flag
-
class
IntTools_PntOnFace
(*args)¶ Bases:
object
- Empty constructor
Return type: None -
Face
()¶ - Selector
Return type: TopoDS_Face
-
Init
()¶ - Initializes me by aFace, a 3d point and it’s UV parameters on face
Parameters: Return type:
-
thisown
¶ The membership flag
-
class
IntTools_QuickSort
¶ Bases:
object
-
static
Sort
()¶ Parameters: - TheArray (IntTools_Array1OfRoots &) –
- Comp (IntTools_Compare &) –
Return type: void
-
thisown
¶ The membership flag
-
static
-
class
IntTools_QuickSortRange
¶ Bases:
object
-
static
Sort
()¶ Parameters: - TheArray (IntTools_Array1OfRange &) –
- Comp (IntTools_CompareRange &) –
Return type: void
-
thisown
¶ The membership flag
-
static
-
IntTools_QuickSortRange_Sort
()¶ Parameters: - TheArray (IntTools_Array1OfRange &) –
- Comp (IntTools_CompareRange &) –
Return type: void
-
IntTools_QuickSort_Sort
()¶ Parameters: - TheArray (IntTools_Array1OfRoots &) –
- Comp (IntTools_Compare &) –
Return type: void
-
class
IntTools_Range
(*args)¶ Bases:
object
- Empty constructor
Return type: None - Initialize me by range boundaries
Parameters: Return type: -
thisown
¶ The membership flag
-
class
IntTools_Root
(*args)¶ Bases:
object
- Empty constructor
Return type: None - Initializes my by range of parameters and type of root
Parameters: Return type: -
Interval
()¶ - Returns the values of interval from which the Root was found [t1,t2] and the corresponding values of the function on the bounds f(t1), f(t2).
Parameters: - t1 (float &) –
- t2 (float &) –
- f1 (float &) –
- f2 (float &) –
Return type:
-
IsValid
()¶ - Returns the validity flag for the root, True if myStateBefore==TopAbs_OUT && myStateAfter==TopAbs_IN or myStateBefore==TopAbs_OUT && myStateAfter==TopAbs_ON or myStateBefore==TopAbs_ON && myStateAfter==TopAbs_OUT or myStateBefore==TopAbs_IN && myStateAfter==TopAbs_OUT . For other cases it returns False.
Return type: bool
-
SetInterval
()¶ - Sets the interval from which the Root was found [t1,t2] and the corresponding values of the function on the bounds f(t1), f(t2).
Parameters: Return type:
-
SetStateAfter
()¶ - Set the value of the state after the root (at t=Root-dt)
Parameters: aState (TopAbs_State) – Return type: None
-
SetStateBefore
()¶ - Set the value of the state before the root (at t=Root-dt)
Parameters: aState (TopAbs_State) – Return type: None
-
StateAfter
()¶ - Returns the state after the root
Return type: TopAbs_State
-
StateBefore
()¶ - Returns the state before the root
Return type: TopAbs_State
-
Type
()¶ - Returns the type of the root =0 - Simple (was found by bisection method); =2 - Smart when f1=0, f2!=0 or vice versa (was found by Fibbonacci method); =1 - Pure (pure zero for all t [t1,t2] );
Return type: int
-
thisown
¶ The membership flag
-
class
IntTools_SequenceNodeOfSequenceOfCommonPrts
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (IntTools_CommonPrt &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: IntTools_CommonPrt
-
thisown
¶ The membership flag
-
class
IntTools_SequenceNodeOfSequenceOfCurves
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (IntTools_Curve &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: IntTools_Curve
-
thisown
¶ The membership flag
-
class
IntTools_SequenceNodeOfSequenceOfPntOn2Faces
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (IntTools_PntOn2Faces &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: IntTools_PntOn2Faces
-
thisown
¶ The membership flag
-
class
IntTools_SequenceNodeOfSequenceOfRanges
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (IntTools_Range &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: IntTools_Range
-
thisown
¶ The membership flag
-
class
IntTools_SequenceNodeOfSequenceOfRoots
(*args)¶ Bases:
OCC.TCollection.TCollection_SeqNode
Parameters: - I (IntTools_Root &) –
- n (TCollection_SeqNodePtr &) –
- p (TCollection_SeqNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: IntTools_Root
-
thisown
¶ The membership flag
-
class
IntTools_SequenceOfCommonPrts
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (IntTools_SequenceOfCommonPrts &) – Return type: None -
Append
()¶ Parameters: - T (IntTools_CommonPrt &) –
- S (IntTools_SequenceOfCommonPrts &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (IntTools_SequenceOfCommonPrts &) – Return type: IntTools_SequenceOfCommonPrts
-
ChangeValue
()¶ Parameters: Index (int) – Return type: IntTools_CommonPrt
-
First
()¶ Return type: IntTools_CommonPrt
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (IntTools_CommonPrt &) –
- Index –
- S (IntTools_SequenceOfCommonPrts &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (IntTools_CommonPrt &) –
- Index –
- S (IntTools_SequenceOfCommonPrts &) –
Return type: Return type:
-
Last
()¶ Return type: IntTools_CommonPrt
-
Prepend
()¶ Parameters: - T (IntTools_CommonPrt &) –
- S (IntTools_SequenceOfCommonPrts &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (IntTools_SequenceOfCommonPrts &) – Return type: IntTools_SequenceOfCommonPrts
-
Value
()¶ Parameters: Index (int) – Return type: IntTools_CommonPrt
-
thisown
¶ The membership flag
-
-
class
IntTools_SequenceOfCurves
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (IntTools_SequenceOfCurves &) – Return type: None -
Append
()¶ Parameters: - T (IntTools_Curve &) –
- S (IntTools_SequenceOfCurves &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (IntTools_SequenceOfCurves &) – Return type: IntTools_SequenceOfCurves
-
ChangeValue
()¶ Parameters: Index (int) – Return type: IntTools_Curve
-
First
()¶ Return type: IntTools_Curve
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (IntTools_Curve &) –
- Index –
- S (IntTools_SequenceOfCurves &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (IntTools_Curve &) –
- Index –
- S (IntTools_SequenceOfCurves &) –
Return type: Return type:
-
Last
()¶ Return type: IntTools_Curve
-
Prepend
()¶ Parameters: - T (IntTools_Curve &) –
- S (IntTools_SequenceOfCurves &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (IntTools_SequenceOfCurves &) – Return type: IntTools_SequenceOfCurves
-
Value
()¶ Parameters: Index (int) – Return type: IntTools_Curve
-
thisown
¶ The membership flag
-
-
class
IntTools_SequenceOfPntOn2Faces
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (IntTools_SequenceOfPntOn2Faces &) – Return type: None -
Append
()¶ Parameters: - T (IntTools_PntOn2Faces &) –
- S (IntTools_SequenceOfPntOn2Faces &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (IntTools_SequenceOfPntOn2Faces &) – Return type: IntTools_SequenceOfPntOn2Faces
-
ChangeValue
()¶ Parameters: Index (int) – Return type: IntTools_PntOn2Faces
-
First
()¶ Return type: IntTools_PntOn2Faces
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (IntTools_PntOn2Faces &) –
- Index –
- S (IntTools_SequenceOfPntOn2Faces &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (IntTools_PntOn2Faces &) –
- Index –
- S (IntTools_SequenceOfPntOn2Faces &) –
Return type: Return type:
-
Last
()¶ Return type: IntTools_PntOn2Faces
-
Prepend
()¶ Parameters: - T (IntTools_PntOn2Faces &) –
- S (IntTools_SequenceOfPntOn2Faces &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (IntTools_SequenceOfPntOn2Faces &) – Return type: IntTools_SequenceOfPntOn2Faces
-
Value
()¶ Parameters: Index (int) – Return type: IntTools_PntOn2Faces
-
thisown
¶ The membership flag
-
-
class
IntTools_SequenceOfRanges
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (IntTools_SequenceOfRanges &) – Return type: None -
Append
()¶ Parameters: - T (IntTools_Range &) –
- S (IntTools_SequenceOfRanges &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (IntTools_SequenceOfRanges &) – Return type: IntTools_SequenceOfRanges
-
ChangeValue
()¶ Parameters: Index (int) – Return type: IntTools_Range
-
First
()¶ Return type: IntTools_Range
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (IntTools_Range &) –
- Index –
- S (IntTools_SequenceOfRanges &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (IntTools_Range &) –
- Index –
- S (IntTools_SequenceOfRanges &) –
Return type: Return type:
-
Last
()¶ Return type: IntTools_Range
-
Prepend
()¶ Parameters: - T (IntTools_Range &) –
- S (IntTools_SequenceOfRanges &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (IntTools_SequenceOfRanges &) – Return type: IntTools_SequenceOfRanges
-
Value
()¶ Parameters: Index (int) – Return type: IntTools_Range
-
thisown
¶ The membership flag
-
-
class
IntTools_SequenceOfRoots
(*args)¶ Bases:
OCC.TCollection.TCollection_BaseSequence
Return type: None Parameters: Other (IntTools_SequenceOfRoots &) – Return type: None -
Append
()¶ Parameters: - T (IntTools_Root &) –
- S (IntTools_SequenceOfRoots &) –
Return type: Return type:
-
Assign
()¶ Parameters: Other (IntTools_SequenceOfRoots &) – Return type: IntTools_SequenceOfRoots
-
ChangeValue
()¶ Parameters: Index (int) – Return type: IntTools_Root
-
First
()¶ Return type: IntTools_Root
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (IntTools_Root &) –
- Index –
- S (IntTools_SequenceOfRoots &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (IntTools_Root &) –
- Index –
- S (IntTools_SequenceOfRoots &) –
Return type: Return type:
-
Last
()¶ Return type: IntTools_Root
-
Prepend
()¶ Parameters: - T (IntTools_Root &) –
- S (IntTools_SequenceOfRoots &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (IntTools_SequenceOfRoots &) – Return type: IntTools_SequenceOfRoots
-
Value
()¶ Parameters: Index (int) – Return type: IntTools_Root
-
thisown
¶ The membership flag
-
-
class
IntTools_ShrunkRange
(*args)¶ Bases:
object
Return type: None -
Context
()¶ Return type: Handle_IntTools_Context
-
Edge
()¶ Return type: TopoDS_Edge
-
ErrorStatus
()¶ - Returns code of computing shrunk range completion 0 - means successful completion 1 - nothing has been done 2 - initial range is out of edge’s range 3 - first boundary of initial range is more than last boundary 4 - projection of first vertex failed 5 - projection of second vertex failed 6 - shrunk range can not be computed shrunk range is setted to initial range
Return type: int
-
SetData
()¶ Parameters: Return type:
-
thisown
¶ The membership flag
-
-
class
IntTools_StdMapNodeOfMapOfCurveSample
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K (IntTools_CurveRangeSample &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Key
()¶ Return type: IntTools_CurveRangeSample
-
thisown
¶ The membership flag
-
class
IntTools_StdMapNodeOfMapOfSurfaceSample
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K (IntTools_SurfaceRangeSample &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Key
()¶ Return type: IntTools_SurfaceRangeSample
-
thisown
¶ The membership flag
-
class
IntTools_SurfaceRangeLocalizeData
(*args)¶ Bases:
object
Return type: Parameters: Return type: Return type: -
AddBox
()¶ Parameters: - theRange (IntTools_SurfaceRangeSample &) –
- theBox (Bnd_Box &) –
Return type:
-
Assign
()¶ Parameters: Other (IntTools_SurfaceRangeLocalizeData &) – Return type: IntTools_SurfaceRangeLocalizeData
-
FindBox
()¶ Parameters: - theRange (IntTools_SurfaceRangeSample &) –
- theBox (Bnd_Box &) –
Return type:
-
GetGridPoint
()¶ - Set the grid point.
Parameters: Return type:
-
GetPointInFrame
()¶ - Returns the grid point in frame.
Parameters: Return type:
-
GetUParam
()¶ - Query the U parameter of the grid points at that index.
Parameters: theIndex (int) – Return type: float
-
GetUParamInFrame
()¶ - Query the U parameter of the grid points at that index in frame.
Parameters: theIndex (int) – Return type: float
-
GetVParam
()¶ - Query the V parameter of the grid points at that index.
Parameters: theIndex (int) – Return type: float
-
GetVParamInFrame
()¶ - Query the V parameter of the grid points at that index in frame.
Parameters: theIndex (int) – Return type: float
-
Set
()¶ Parameters: Other (IntTools_SurfaceRangeLocalizeData &) – Return type: IntTools_SurfaceRangeLocalizeData
-
SetFrame
()¶ - Sets the frame area. Used to work with grid points.
Parameters: Return type:
-
SetGridPoint
()¶ - Set the grid point.
Parameters: Return type:
-
SetRangeUGrid
()¶ - Set the range U of the grid of points.
Parameters: theNbUGrid (int) – Return type: None
-
SetRangeVGrid
()¶ - Set the range V of the grid of points.
Parameters: theNbVGrid (int) – Return type: None
-
SetUParam
()¶ - Set the U parameter of the grid points at that index.
Parameters: Return type:
-
SetVParam
()¶ - Set the V parameter of the grid points at that index.
Parameters: Return type:
-
thisown
¶ The membership flag
-
-
class
IntTools_SurfaceRangeSample
(*args)¶ Bases:
object
Return type: Parameters: Return type: Return type: Return type: -
Assign
()¶ Parameters: Other (IntTools_SurfaceRangeSample &) – Return type: IntTools_SurfaceRangeSample
-
GetRangeU
()¶ Parameters: Return type:
-
GetRangeV
()¶ Parameters: Return type:
-
GetRanges
()¶ Parameters: - theRangeU (IntTools_CurveRangeSample &) –
- theRangeV (IntTools_CurveRangeSample &) –
Return type:
-
GetSampleRangeU
()¶ Return type: IntTools_CurveRangeSample
-
GetSampleRangeV
()¶ Return type: IntTools_CurveRangeSample
-
Set
()¶ Parameters: Other (IntTools_SurfaceRangeSample &) – Return type: IntTools_SurfaceRangeSample
-
SetRanges
()¶ Parameters: - theRangeU (IntTools_CurveRangeSample &) –
- theRangeV (IntTools_CurveRangeSample &) –
Return type:
-
thisown
¶ The membership flag
-
-
class
IntTools_SurfaceRangeSampleMapHasher
¶ Bases:
object
-
static
HashCode
()¶ - Returns a HasCode value for the Key <K> in the range 0..Upper.
Parameters: - K (IntTools_SurfaceRangeSample &) –
- Upper (int) –
Return type:
-
static
IsEqual
()¶ - Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary.
Parameters: - S1 (IntTools_SurfaceRangeSample &) –
- S2 (IntTools_SurfaceRangeSample &) –
Return type:
-
thisown
¶ The membership flag
-
static
-
IntTools_SurfaceRangeSampleMapHasher_HashCode
()¶ - Returns a HasCode value for the Key <K> in the range 0..Upper.
Parameters: - K (IntTools_SurfaceRangeSample &) –
- Upper (int) –
Return type:
-
IntTools_SurfaceRangeSampleMapHasher_IsEqual
()¶ - Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary.
Parameters: - S1 (IntTools_SurfaceRangeSample &) –
- S2 (IntTools_SurfaceRangeSample &) –
Return type:
-
class
IntTools_Tools
¶ Bases:
object
-
static
CheckCurve
()¶ Parameters: - theC (Handle_Geom_Curve &) –
- theTol (float) –
- theBox (Bnd_Box &) –
Return type:
-
static
ClassifyPointByFace
()¶ Parameters: - aF (TopoDS_Face &) –
- P (gp_Pnt2d) –
Return type: TopAbs_State
-
static
ComputeTolerance
()¶ - Computes the max distance between points taken from 3D and 2D curves by the same parameter
Parameters: Return type:
-
static
ComputeVV
()¶ - Computes distance between vertex V1 and vertex V2, if the distance is less than sum of vertex tolerances returns zero, otherwise returns negative value
Parameters: - V1 (TopoDS_Vertex &) –
- V2 (TopoDS_Vertex &) –
Return type:
-
static
CurveTolerance
()¶ - Returns adaptive tolerance for given aTolBase if aC is trimmed curve and basis curve is parabola, otherwise returns value of aTolBase
Parameters: - aC (Handle_Geom_Curve &) –
- aTolBase (float) –
Return type:
-
static
HasInternalEdge
()¶ - Returns True if wire aW contains edges with INTERNAL orientation
Parameters: aW (TopoDS_Wire &) – Return type: bool
-
static
IntermediatePoint
()¶ - Returns some value between aFirst and aLast
Parameters: Return type:
-
static
IsClosed
()¶ - Returns True if aC is BoundedCurve from Geom and the distance between first point of the curve aC and last point is less than 1.e-12
Parameters: aC (Handle_Geom_Curve &) – Return type: bool
-
static
IsDirsCoinside
()¶ - Returns True if D1 and D2 coinside
Parameters: Return type: - Returns True if D1 and D2 coinside with given tolerance
Parameters: Return type:
-
static
IsInRange
()¶ - Checks if the range <theR> interfere with the range <theRRef>
Parameters: - theRRef (IntTools_Range &) –
- theR (IntTools_Range &) –
- theTol (float) –
Return type:
-
static
IsMiddlePointsEqual
()¶ - Gets boundary of parameters of E1 and E2. Computes 3d points on each corresponded to average parameters. Returns True if distance between computed points is less than sum of edge tolerance, otherwise returns False.
Parameters: - E1 (TopoDS_Edge &) –
- E2 (TopoDS_Edge &) –
Return type:
-
static
IsOnPave
()¶ Parameters: Return type:
-
static
IsOnPave1
()¶ Parameters: Return type:
-
static
IsVertex
()¶ - Computes square distance between a point on the edge E corresponded to parameter t and vertices of edge E. Returns True if this distance is less than square tolerance of vertex, otherwise returns false.
Parameters: - E (TopoDS_Edge &) –
- t (float) –
Return type: - Returns True if square distance between vertex V and a point on the edge E corresponded to parameter t is less than square tolerance of V
Parameters: - E (TopoDS_Edge &) –
- V (TopoDS_Vertex &) –
- t (float) –
Return type: - Returns True if IsVertx for middle parameter of fist range and first edge returns True and if IsVertex for middle parameter of second range and second range returns True, otherwise returns False
Parameters: aCmnPrt (IntTools_CommonPrt &) – Return type: bool - Returns True if the distance between point aP and vertex aV is less or equal to sum of aTolPV and vertex tolerance, otherwise returns False
Parameters: Return type:
-
static
MakeFaceFromWireAndFace
()¶ - Build a face based on surface of given face aF and bounded by wire aW
Parameters: - aW (TopoDS_Wire &) –
- aF (TopoDS_Face &) –
- aFNew (TopoDS_Face &) –
Return type: void
-
static
RejectLines
()¶ - Puts curves from aSIn to aSOut except those curves that are coincide with first curve from aSIn.
Parameters: - aSIn (IntTools_SequenceOfCurves &) –
- aSOut (IntTools_SequenceOfCurves &) –
Return type: void
-
static
SegPln
()¶ Parameters: Return type:
-
static
SplitCurve
()¶ - Split aC by average parameter if aC is closed in 3D. Returns positive value if splitting has been done, otherwise returns zero.
Parameters: - aC (IntTools_Curve &) –
- aS (IntTools_SequenceOfCurves &) –
Return type:
-
static
VertexParameter
()¶ Parameters: - theCP (IntTools_CommonPrt &) –
- theT (float &) –
Return type: void
-
static
VertexParameters
()¶ Parameters: - theCP (IntTools_CommonPrt &) –
- theT1 (float &) –
- theT2 (float &) –
Return type: void
-
thisown
¶ The membership flag
-
static
-
IntTools_Tools_CheckCurve
()¶ Parameters: - theC (Handle_Geom_Curve &) –
- theTol (float) –
- theBox (Bnd_Box &) –
Return type:
-
IntTools_Tools_ClassifyPointByFace
()¶ Parameters: - aF (TopoDS_Face &) –
- P (gp_Pnt2d) –
Return type: TopAbs_State
-
IntTools_Tools_ComputeTolerance
()¶ - Computes the max distance between points taken from 3D and 2D curves by the same parameter
Parameters: Return type:
-
IntTools_Tools_ComputeVV
()¶ - Computes distance between vertex V1 and vertex V2, if the distance is less than sum of vertex tolerances returns zero, otherwise returns negative value
Parameters: - V1 (TopoDS_Vertex &) –
- V2 (TopoDS_Vertex &) –
Return type:
-
IntTools_Tools_CurveTolerance
()¶ - Returns adaptive tolerance for given aTolBase if aC is trimmed curve and basis curve is parabola, otherwise returns value of aTolBase
Parameters: - aC (Handle_Geom_Curve &) –
- aTolBase (float) –
Return type:
-
IntTools_Tools_HasInternalEdge
()¶ - Returns True if wire aW contains edges with INTERNAL orientation
Parameters: aW (TopoDS_Wire &) – Return type: bool
-
IntTools_Tools_IntermediatePoint
()¶ - Returns some value between aFirst and aLast
Parameters: Return type:
-
IntTools_Tools_IsClosed
()¶ - Returns True if aC is BoundedCurve from Geom and the distance between first point of the curve aC and last point is less than 1.e-12
Parameters: aC (Handle_Geom_Curve &) – Return type: bool
-
IntTools_Tools_IsDirsCoinside
()¶ - Returns True if D1 and D2 coinside
Parameters: Return type: - Returns True if D1 and D2 coinside with given tolerance
Parameters: Return type:
-
IntTools_Tools_IsInRange
()¶ - Checks if the range <theR> interfere with the range <theRRef>
Parameters: - theRRef (IntTools_Range &) –
- theR (IntTools_Range &) –
- theTol (float) –
Return type:
-
IntTools_Tools_IsMiddlePointsEqual
()¶ - Gets boundary of parameters of E1 and E2. Computes 3d points on each corresponded to average parameters. Returns True if distance between computed points is less than sum of edge tolerance, otherwise returns False.
Parameters: - E1 (TopoDS_Edge &) –
- E2 (TopoDS_Edge &) –
Return type:
-
IntTools_Tools_IsOnPave
()¶ Parameters: Return type:
-
IntTools_Tools_IsOnPave1
()¶ Parameters: Return type:
-
IntTools_Tools_IsVertex
()¶ - Computes square distance between a point on the edge E corresponded to parameter t and vertices of edge E. Returns True if this distance is less than square tolerance of vertex, otherwise returns false.
Parameters: - E (TopoDS_Edge &) –
- t (float) –
Return type: - Returns True if square distance between vertex V and a point on the edge E corresponded to parameter t is less than square tolerance of V
Parameters: - E (TopoDS_Edge &) –
- V (TopoDS_Vertex &) –
- t (float) –
Return type: - Returns True if IsVertx for middle parameter of fist range and first edge returns True and if IsVertex for middle parameter of second range and second range returns True, otherwise returns False
Parameters: aCmnPrt (IntTools_CommonPrt &) – Return type: bool - Returns True if the distance between point aP and vertex aV is less or equal to sum of aTolPV and vertex tolerance, otherwise returns False
Parameters: Return type:
-
IntTools_Tools_MakeFaceFromWireAndFace
()¶ - Build a face based on surface of given face aF and bounded by wire aW
Parameters: - aW (TopoDS_Wire &) –
- aF (TopoDS_Face &) –
- aFNew (TopoDS_Face &) –
Return type: void
-
IntTools_Tools_RejectLines
()¶ - Puts curves from aSIn to aSOut except those curves that are coincide with first curve from aSIn.
Parameters: - aSIn (IntTools_SequenceOfCurves &) –
- aSOut (IntTools_SequenceOfCurves &) –
Return type: void
-
IntTools_Tools_SegPln
()¶ Parameters: Return type:
-
IntTools_Tools_SplitCurve
()¶ - Split aC by average parameter if aC is closed in 3D. Returns positive value if splitting has been done, otherwise returns zero.
Parameters: - aC (IntTools_Curve &) –
- aS (IntTools_SequenceOfCurves &) –
Return type:
-
IntTools_Tools_VertexParameter
()¶ Parameters: - theCP (IntTools_CommonPrt &) –
- theT (float &) –
Return type: void
-
IntTools_Tools_VertexParameters
()¶ Parameters: - theCP (IntTools_CommonPrt &) –
- theT1 (float &) –
- theT2 (float &) –
Return type: void
-
class
IntTools_TopolTool
(*args)¶ Bases:
OCC.Adaptor3d.Adaptor3d_TopolTool
- Empty constructor
Return type: None - Initializes me by surface
Parameters: theSurface (Handle_Adaptor3d_HSurface &) – Return type: None -
GetHandle
()¶
-
Initialize
()¶ - Redefined empty initializer //! Warning: Raises the exception NotImplemented
Return type: void - Initializes me by surface
Parameters: theSurface (Handle_Adaptor3d_HSurface &) – Return type: void
-
thisown
¶ The membership flag
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
thisown
¶ The membership flag
-
value
()¶
-
-
class
inttools
¶ Bases:
object
-
static
FindRootStates
()¶ - Find the states (before and after) for each Root from the sequence aSeq
Parameters: - aSeq (IntTools_SequenceOfRoots &) –
- anEpsNull (float) –
Return type: void
-
static
GetRadius
()¶ Parameters: Return type:
-
static
Parameter
()¶ Parameters: - P (gp_Pnt) –
- Curve (Handle_Geom_Curve &) –
- aParm (float &) –
Return type:
-
static
PrepareArgs
()¶ Parameters: Return type:
-
static
RemoveIdenticalRoots
()¶ - Remove from the sequence aSeq the Roots that have values ti and tj such as |ti-tj] < anEpsT.
Parameters: - aSeq (IntTools_SequenceOfRoots &) –
- anEpsT (float) –
Return type: void
-
static
SortRoots
()¶ - Sort the sequence aSeq of the Roots to arrange the Roons in increasing order
Parameters: - aSeq (IntTools_SequenceOfRoots &) –
- anEpsT (float) –
Return type: void
-
thisown
¶ The membership flag
-
static
-
inttools_FindRootStates
()¶ - Find the states (before and after) for each Root from the sequence aSeq
Parameters: - aSeq (IntTools_SequenceOfRoots &) –
- anEpsNull (float) –
Return type: void
-
inttools_GetRadius
()¶ Parameters: Return type:
-
inttools_Parameter
()¶ Parameters: - P (gp_Pnt) –
- Curve (Handle_Geom_Curve &) –
- aParm (float &) –
Return type:
-
inttools_PrepareArgs
()¶ Parameters: Return type:
-
inttools_RemoveIdenticalRoots
()¶ - Remove from the sequence aSeq the Roots that have values ti and tj such as |ti-tj] < anEpsT.
Parameters: - aSeq (IntTools_SequenceOfRoots &) –
- anEpsT (float) –
Return type: void
-
inttools_SortRoots
()¶ - Sort the sequence aSeq of the Roots to arrange the Roons in increasing order
Parameters: - aSeq (IntTools_SequenceOfRoots &) –
- anEpsT (float) –
Return type: void
-
new_instancemethod
(func, inst, cls)¶
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases