OCC.LProp module

Handles local properties of curves and surfaces.Given a curve and a parameter value the following computationsare available :- point,- derivatives,- tangent,- normal,- curvature,- centre of curvature,- Locals curvature’s extremas,- Points of inflection,Given a surface and 2 parameters the following computationsare available :- for each parameter:- derivatives,- tangent line,- centre of curvature,- point,- normal line,- maximum and minimum curvatures,- principal directions of curvature,- mean curvature,- Gaussian curvature.-Level : Public.All methods of all classes will be public.

class Handle_LProp_SequenceNodeOfSequenceOfCIType(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class LProp_AnalyticCurInf(*args)

Bases: object

Return type:None
Perform()
Parameters:
  • T (GeomAbs_CurveType) –
  • UFirst (float) –
  • ULast (float) –
  • Result (LProp_CurAndInf &) –
Return type:

None

thisown

The membership flag

class LProp_CurAndInf(*args)

Bases: object

Return type:None
AddExtCur()
Parameters:
Return type:

None

AddInflection()
Parameters:Param (float) –
Return type:None
Clear()
Return type:None
IsEmpty()
Return type:bool
NbPoints()
  • Returns the number of points. The Points are stored to increasing parameter.
Return type:int
Parameter()
  • Returns the parameter of the Nth point. raises if N not in the range [1,NbPoints()]
Parameters:N (int) –
Return type:float
Type()
  • Returns - MinCur if the Nth parameter corresponds to a minimum of the radius of curvature. - MaxCur if the Nth parameter corresponds to a maximum of the radius of curvature. - Inflection if the parameter corresponds to a point of inflection. raises if N not in the range [1,NbPoints()]
Parameters:N (int) –
Return type:LProp_CIType
thisown

The membership flag

class LProp_SequenceNodeOfSequenceOfCIType(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (LProp_CIType &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:LProp_CIType
thisown

The membership flag

class LProp_SequenceOfCIType(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (LProp_SequenceOfCIType &) –
Return type:None
Append()
Parameters:
  • T (LProp_CIType &) –
  • S (LProp_SequenceOfCIType &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (LProp_SequenceOfCIType &) –
Return type:LProp_SequenceOfCIType
ChangeValue()
Parameters:Index (int) –
Return type:LProp_CIType
Clear()
Return type:None
First()
Return type:LProp_CIType
InsertAfter()
Parameters:
  • Index (int) –
  • T (LProp_CIType &) –
  • Index
  • S (LProp_SequenceOfCIType &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (LProp_CIType &) –
  • Index
  • S (LProp_SequenceOfCIType &) –
Return type:

None

Return type:

None

Last()
Return type:LProp_CIType
Prepend()
Parameters:
  • T (LProp_CIType &) –
  • S (LProp_SequenceOfCIType &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (LProp_SequenceOfCIType &) –
Return type:LProp_SequenceOfCIType
SetValue()
Parameters:
  • Index (int) –
  • I (LProp_CIType &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (LProp_SequenceOfCIType &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:LProp_CIType
thisown

The membership flag

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