OCC.IntCurvesFace module¶
-
class
IntCurvesFace_Intersector(*args)¶ Bases:
object- Load a Face. //! The Tolerance <Tol> is used to determine if the first point of the segment is near the face. In that case, the parameter of the intersection point on the line can be a negative value (greater than -Tol).
Parameters: - F (TopoDS_Face &) –
- aTol (float) –
Return type: -
Face()¶ - Returns the significant face used to determine the intersection.
Return type: TopoDS_Face
-
Perform()¶ - Perform the intersection between the segment L and the loaded face. //! PInf is the smallest parameter on the line PSup is the highest parmaeter on the line //! For an infinite line PInf and PSup can be +/- RealLast.
Parameters: Return type: - same method for a HCurve from Adaptor3d. PInf an PSup can also be - and + INF.
Parameters: Return type:
-
Pnt()¶ - Returns the geometric point of the ith intersection between the line and the surface.
Parameters: I (int) – Return type: gp_Pnt
-
State()¶ - Returns the ith state of the point on the face. The values can be either TopAbs_IN ( the point is in the face) or TopAbs_ON ( the point is on a boudary of the face).
Parameters: I (int) – Return type: TopAbs_State
-
SurfaceType()¶ - Return the surface type
Return type: GeomAbs_SurfaceType
-
Transition()¶ - Returns the ith transition of the line on the surface.
Parameters: I (int) – Return type: IntCurveSurface_TransitionOnCurve
-
UParameter()¶ - Returns the U parameter of the ith intersection point on the surface.
Parameters: I (int) – Return type: float
-
VParameter()¶ - Returns the V parameter of the ith intersection point on the surface.
Parameters: I (int) – Return type: float
-
WParameter()¶ - Returns the parameter of the ith intersection point on the line.
Parameters: I (int) – Return type: float
-
thisown¶ The membership flag
-
class
IntCurvesFace_ShapeIntersector(*args)¶ Bases:
objectReturn type: None -
Face()¶ - Returns the significant face used to determine the intersection.
Parameters: I (int) – Return type: TopoDS_Face
-
Perform()¶ - Perform the intersection between the segment L and the loaded shape. //! PInf is the smallest parameter on the line PSup is the highest parammter on the line //! For an infinite line PInf and PSup can be +/- RealLast.
Parameters: Return type: - same method for a HCurve from Adaptor3d. PInf an PSup can also be - and + INF.
Parameters: Return type:
-
PerformNearest()¶ - Perform the intersection between the segment L and the loaded shape. //! PInf is the smallest parameter on the line PSup is the highest parammter on the line //! For an infinite line PInf and PSup can be +/- RealLast.
Parameters: Return type:
-
Pnt()¶ - Returns the geometric point of the ith intersection between the line and the surface.
Parameters: I (int) – Return type: gp_Pnt
-
State()¶ - Returns the ith state of the point on the face. The values can be either TopAbs_IN ( the point is in the face) or TopAbs_ON ( the point is on a boudary of the face).
Parameters: I (int) – Return type: TopAbs_State
-
Transition()¶ - Returns the ith transition of the line on the surface.
Parameters: I (int) – Return type: IntCurveSurface_TransitionOnCurve
-
UParameter()¶ - Returns the U parameter of the ith intersection point on the surface.
Parameters: I (int) – Return type: float
-
VParameter()¶ - Returns the V parameter of the ith intersection point on the surface.
Parameters: I (int) – Return type: float
-
WParameter()¶ - Returns the parameter of the ith intersection point on the line.
Parameters: I (int) – Return type: float
-
thisown¶ The membership flag
-
-
class
SwigPyIterator(*args, **kwargs)¶ Bases:
object-
advance()¶
-
copy()¶
-
decr()¶
-
distance()¶
-
equal()¶
-
incr()¶
-
next()¶
-
previous()¶
-
thisown¶ The membership flag
-
value()¶
-
-
register_handle(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases