OCC.IntCurvesFace module

class OCC.IntCurvesFace.IntCurvesFace_Intersector(*args)

Bases: object

Bounding()
Return type:Bnd_Box
ClassifyUVPoint()
Parameters:Puv (gp_Pnt2d) –
Return type:TopAbs_State
Destroy()
Return type:None
Face()
  • Returns the significant face used to determine the intersection.
Return type:TopoDS_Face
IsDone()
  • True is returned when the intersection have been computed.
Return type:bool
NbPnt()
Return type:int
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:
  • L (gp_Lin) –
  • PInf (float) –
  • PSup (float) –
Return type:

None

  • same method for a HCurve from Adaptor3d. PInf an PSup can also be - and + INF.
Parameters:
  • HCu (Handle_Adaptor3d_HCurve &) –
  • PInf (float) –
  • PSup (float) –
Return type:

None

Pnt()
  • Returns the geometric point of the ith intersection between the line and the surface.
Parameters:I (Standard_Integer) –
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 (Standard_Integer) –
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 (Standard_Integer) –
Return type:IntCurveSurface_TransitionOnCurve
UParameter()
  • Returns the U parameter of the ith intersection point on the surface.
Parameters:I (Standard_Integer) –
Return type:float
VParameter()
  • Returns the V parameter of the ith intersection point on the surface.
Parameters:I (Standard_Integer) –
Return type:float
WParameter()
  • Returns the parameter of the ith intersection point on the line.
Parameters:I (Standard_Integer) –
Return type:float
thisown

The membership flag

class OCC.IntCurvesFace.IntCurvesFace_ShapeIntersector

Bases: object

Destroy()
Return type:None
Face()
  • Returns the significant face used to determine the intersection.
Parameters:I (Standard_Integer) –
Return type:TopoDS_Face
IsDone()
  • True is returned when the intersection have been computed.
Return type:bool
Load()
Parameters:
  • Sh (TopoDS_Shape &) –
  • Tol (float) –
Return type:

None

NbPnt()
Return type:int
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:
  • L (gp_Lin) –
  • PInf (float) –
  • PSup (float) –
Return type:

None

  • same method for a HCurve from Adaptor3d. PInf an PSup can also be - and + INF.
Parameters:
  • HCu (Handle_Adaptor3d_HCurve &) –
  • PInf (float) –
  • PSup (float) –
Return type:

None

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:
  • L (gp_Lin) –
  • PInf (float) –
  • PSup (float) –
Return type:

None

Pnt()
  • Returns the geometric point of the ith intersection between the line and the surface.
Parameters:I (Standard_Integer) –
Return type:gp_Pnt
SortResult()
  • Internal method. Sort the result on the Curve parameter.
Return type:None
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 (Standard_Integer) –
Return type:TopAbs_State
Transition()
  • Returns the ith transition of the line on the surface.
Parameters:I (Standard_Integer) –
Return type:IntCurveSurface_TransitionOnCurve
UParameter()
  • Returns the U parameter of the ith intersection point on the surface.
Parameters:I (Standard_Integer) –
Return type:float
VParameter()
  • Returns the V parameter of the ith intersection point on the surface.
Parameters:I (Standard_Integer) –
Return type:float
WParameter()
  • Returns the parameter of the ith intersection point on the line.
Parameters:I (Standard_Integer) –
Return type:float
thisown

The membership flag

class OCC.IntCurvesFace.SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
thisown

The membership flag

value()