OCC.TopTrans module¶
-
class
SwigPyIterator
(*args, **kwargs)¶ Bases:
object
-
advance
()¶
-
copy
()¶
-
decr
()¶
-
distance
()¶
-
equal
()¶
-
incr
()¶
-
next
()¶
-
previous
()¶
-
thisown
¶ The membership flag
-
value
()¶
-
-
class
TopTrans_Array2OfOrientation
(*args)¶ Bases:
object
Parameters: Return type: Return type: -
Assign
()¶ Parameters: Other (TopTrans_Array2OfOrientation &) – Return type: TopTrans_Array2OfOrientation
-
Set
()¶ Parameters: Other (TopTrans_Array2OfOrientation &) – Return type: TopTrans_Array2OfOrientation
-
thisown
¶ The membership flag
-
-
class
TopTrans_CurveTransition
(*args)¶ Bases:
object
- Create an empty Curve Transition.
Return type: None -
Compare
()¶ - Add a curve element to the boundary. If Or is REVERSED the curve is before the intersection, else if Or is FORWARD the curv is after the intersection and if Or is INTERNAL the intersection is in the middle of the curv.
Parameters: Return type:
-
Reset
()¶ - Initialize a Transition with the local description of a Curve.
Parameters: Return type: - Initialize a Transition with the local description of a straigth line.
Parameters: Tgt (gp_Dir) – Return type: None
-
StateAfter
()¶ - returns the state of the curve after the intersection, this is the position relative to the boundary of a point very close to the intersection on the positive side of the tangent.
Return type: TopAbs_State
-
StateBefore
()¶ - returns the state of the curve before the intersection, this is the position relative to the boundary of a point very close to the intersection on the negative side of the tangent.
Return type: TopAbs_State
-
thisown
¶ The membership flag
-
class
TopTrans_SurfaceTransition
(*args)¶ Bases:
object
- Create an empty Surface Transition.
Return type: None -
Compare
()¶ - Add a face element to the boundary. //! - S defines topological orientation for the face : S FORWARD means: along the intersection curve on the reference surface, transition states while crossing the face are OUT,IN. S REVERSED means states are IN,OUT. S INTERNAL means states are IN,IN. //! - O defines curve’s position on face : O FORWARD means the face is before the intersection O REVERSED means the face is AFTER O INTERNAL means the curve intersection is in the face. PREQUESITORY : Norm oriented OUTSIDE ‘geometric matter’
Parameters: Return type: - Add a plane or a cylindric face to the boundary.
Parameters: Return type:
-
static
GetAfter
(*args)¶ Parameters: Tran (TopAbs_Orientation) – Return type: TopAbs_State
-
static
GetBefore
(*args)¶ Parameters: Tran (TopAbs_Orientation) – Return type: TopAbs_State
-
Reset
()¶ - Initialize a Surface Transition with the local description of the intersection curve and of the reference surface. PREQUESITORY : Norm oriented OUTSIDE ‘geometric matter’
Parameters: Return type: - Initialize a Surface Transition with the local description of a straight line.
Parameters: Return type:
-
StateAfter
()¶ - Returns the state of the reference surface after interference, this is the position relative to the surface of a point very close to the intersection on the positive side of the tangent.
Return type: TopAbs_State
-
StateBefore
()¶ - Returns the state of the reference surface before the interference, this is the position relative to the surface of a point very close to the intersection on the negative side of the tangent.
Return type: TopAbs_State
-
thisown
¶ The membership flag
-
TopTrans_SurfaceTransition_GetAfter
(*args)¶ Parameters: Tran (TopAbs_Orientation) – Return type: TopAbs_State
-
TopTrans_SurfaceTransition_GetBefore
(*args)¶ Parameters: Tran (TopAbs_Orientation) – Return type: TopAbs_State
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases