OCC.Expr module

class OCC.Expr.Expr_Absolute(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_Absolute_GetHandle(Expr_Absolute self) -> Handle_Expr_Absolute

thisown

The membership flag

class OCC.Expr.Expr_ArcCosine(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_ArcCosine_GetHandle(Expr_ArcCosine self) -> Handle_Expr_ArcCosine

thisown

The membership flag

class OCC.Expr.Expr_ArcSine(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_ArcSine_GetHandle(Expr_ArcSine self) -> Handle_Expr_ArcSine

thisown

The membership flag

class OCC.Expr.Expr_ArcTangent(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_ArcTangent_GetHandle(Expr_ArcTangent self) -> Handle_Expr_ArcTangent

thisown

The membership flag

class OCC.Expr.Expr_ArgCosh(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_ArgCosh_GetHandle(Expr_ArgCosh self) -> Handle_Expr_ArgCosh

thisown

The membership flag

class OCC.Expr.Expr_ArgSinh(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_ArgSinh_GetHandle(Expr_ArgSinh self) -> Handle_Expr_ArgSinh

thisown

The membership flag

class OCC.Expr.Expr_ArgTanh(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_ArgTanh_GetHandle(Expr_ArgTanh self) -> Handle_Expr_ArgTanh

thisown

The membership flag

class OCC.Expr.Expr_Array1OfGeneralExpression(*args)

Bases: object

Assign()
Parameters:Other (Expr_Array1OfGeneralExpression &) –
Return type:Expr_Array1OfGeneralExpression
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:Handle_Expr_GeneralExpression
Destroy()
Return type:None
Init()
Parameters:V (Handle_Expr_GeneralExpression &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (Expr_Array1OfGeneralExpression &) –
Return type:Expr_Array1OfGeneralExpression
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • Value (Handle_Expr_GeneralExpression &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (Standard_Integer) –
Return type:Handle_Expr_GeneralExpression
thisown

The membership flag

class OCC.Expr.Expr_Array1OfNamedUnknown(*args)

Bases: object

Assign()
Parameters:Other (Expr_Array1OfNamedUnknown &) –
Return type:Expr_Array1OfNamedUnknown
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:Handle_Expr_NamedUnknown
Destroy()
Return type:None
Init()
Parameters:V (Handle_Expr_NamedUnknown &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (Expr_Array1OfNamedUnknown &) –
Return type:Expr_Array1OfNamedUnknown
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • Value (Handle_Expr_NamedUnknown &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (Standard_Integer) –
Return type:Handle_Expr_NamedUnknown
thisown

The membership flag

class OCC.Expr.Expr_Array1OfSingleRelation(*args)

Bases: object

Assign()
Parameters:Other (Expr_Array1OfSingleRelation &) –
Return type:Expr_Array1OfSingleRelation
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:Handle_Expr_SingleRelation
Destroy()
Return type:None
Init()
Parameters:V (Handle_Expr_SingleRelation &) –
Return type:None
IsAllocated()
Return type:bool
Length()
Return type:int
Lower()
Return type:int
Set()
Parameters:Other (Expr_Array1OfSingleRelation &) –
Return type:Expr_Array1OfSingleRelation
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • Value (Handle_Expr_SingleRelation &) –
Return type:

None

Upper()
Return type:int
Value()
Parameters:Index (Standard_Integer) –
Return type:Handle_Expr_SingleRelation
thisown

The membership flag

class OCC.Expr.Expr_BinaryExpression(*args, **kwargs)

Bases: OCC.Expr.Expr_GeneralExpression

FirstOperand()
Return type:Handle_Expr_GeneralExpression
GetHandle()

Expr_BinaryExpression_GetHandle(Expr_BinaryExpression self) -> Handle_Expr_BinaryExpression

SecondOperand()
Return type:Handle_Expr_GeneralExpression
SetFirstOperand()
  • Sets first operand of <self> Raises InvalidOperand if exp = me
Parameters:exp (Handle_Expr_GeneralExpression &) –
Return type:None
SetSecondOperand()
  • Sets second operand of <self> Raises InvalidOperand if <exp> contains <self>.
Parameters:exp (Handle_Expr_GeneralExpression &) –
Return type:None
thisown

The membership flag

class OCC.Expr.Expr_BinaryFunction(*args)

Bases: OCC.Expr.Expr_BinaryExpression

Function()
  • Returns the function defining <self>.
Return type:Handle_Expr_GeneralFunction
GetHandle()

Expr_BinaryFunction_GetHandle(Expr_BinaryFunction self) -> Handle_Expr_BinaryFunction

thisown

The membership flag

class OCC.Expr.Expr_Cosh(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_Cosh_GetHandle(Expr_Cosh self) -> Handle_Expr_Cosh

thisown

The membership flag

class OCC.Expr.Expr_Cosine(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_Cosine_GetHandle(Expr_Cosine self) -> Handle_Expr_Cosine

thisown

The membership flag

class OCC.Expr.Expr_Difference(*args)

Bases: OCC.Expr.Expr_BinaryExpression

GetHandle()

Expr_Difference_GetHandle(Expr_Difference self) -> Handle_Expr_Difference

thisown

The membership flag

class OCC.Expr.Expr_Different(*args)

Bases: OCC.Expr.Expr_SingleRelation

GetHandle()

Expr_Different_GetHandle(Expr_Different self) -> Handle_Expr_Different

thisown

The membership flag

class OCC.Expr.Expr_Division(*args)

Bases: OCC.Expr.Expr_BinaryExpression

GetHandle()

Expr_Division_GetHandle(Expr_Division self) -> Handle_Expr_Division

thisown

The membership flag

class OCC.Expr.Expr_Equal(*args)

Bases: OCC.Expr.Expr_SingleRelation

GetHandle()

Expr_Equal_GetHandle(Expr_Equal self) -> Handle_Expr_Equal

thisown

The membership flag

class OCC.Expr.Expr_Exponential(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_Exponential_GetHandle(Expr_Exponential self) -> Handle_Expr_Exponential

thisown

The membership flag

class OCC.Expr.Expr_Exponentiate(*args)

Bases: OCC.Expr.Expr_BinaryExpression

GetHandle()

Expr_Exponentiate_GetHandle(Expr_Exponentiate self) -> Handle_Expr_Exponentiate

thisown

The membership flag

class OCC.Expr.Expr_FunctionDerivative(*args)

Bases: OCC.Expr.Expr_GeneralFunction

Degree()
  • Returns the degree of derivation of <self>.
Return type:int
DerivVariable()
  • Returns the derivation variable of <self>.
Return type:Handle_Expr_NamedUnknown
Derivative()
  • Returns Derivative of <self> for variable <var>.
Parameters:var (Handle_Expr_NamedUnknown &) –
Return type:Handle_Expr_GeneralFunction
  • Returns Derivative of <self> for variable <var> with degree <deg>.
Parameters:
  • var (Handle_Expr_NamedUnknown &) –
  • deg (Standard_Integer) –
Return type:

Handle_Expr_GeneralFunction

Expression()
Return type:Handle_Expr_GeneralExpression
Function()
  • Returns the function of which <self> is the derivative.
Return type:Handle_Expr_GeneralFunction
GetHandle()

Expr_FunctionDerivative_GetHandle(Expr_FunctionDerivative self) -> Handle_Expr_FunctionDerivative

UpdateExpression()
Return type:None
thisown

The membership flag

class OCC.Expr.Expr_GeneralExpression(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

Contains()
  • Tests if <exp> is contained in <self>.
Parameters:exp (Handle_Expr_GeneralExpression &) –
Return type:bool
ContainsUnknowns()
  • Tests if <self> contains NamedUnknowns.
Return type:bool
Copy()
  • Returns a copy of <self> having the same unknowns and functions.
Return type:Handle_Expr_GeneralExpression
Derivative()
  • Returns the derivative on <X> unknown of <self>
Parameters:X (Handle_Expr_NamedUnknown &) –
Return type:Handle_Expr_GeneralExpression
Evaluate()
  • Returns the value of <self> (as a Real) by replacement of <vars> by <vals>. Raises NotEvaluable if <self> contains NamedUnknown not in <vars> or NumericError if result cannot be computed.
Parameters:
  • vars (Expr_Array1OfNamedUnknown &) –
  • vals (TColStd_Array1OfReal &) –
Return type:

float

EvaluateNumeric()
  • Returns the value of <self> (as a Real) by replacement of <vars> by <vals>. Raises NotEvaluable if <self> contains NamedUnknown not in <vars> or NumericError if result cannot be computed.
Return type:float
GetHandle()

Expr_GeneralExpression_GetHandle(Expr_GeneralExpression self) -> Handle_Expr_GeneralExpression

IsIdentical()
  • Tests if <self> and <Other> define the same expression. Warning: This method does not include any simplification before testing. It could also be very slow; to be used carefully.
Parameters:Other (Handle_Expr_GeneralExpression &) –
Return type:bool
IsLinear()
  • Tests if <self> is linear on every NamedUnknown it contains.
Return type:bool
IsShareable()
  • Tests if <self> can be shared by one or more expressions or must be copied. This method returns False as a default value. To be redefined ( especially for NamedUnknown).
Return type:bool
NDerivative()
  • Returns the <N>-th derivative on <X> unknown of <self>. Raise OutOfRange if N <= 0
Parameters:
  • X (Handle_Expr_NamedUnknown &) –
  • N (Standard_Integer) –
Return type:

Handle_Expr_GeneralExpression

NbSubExpressions()
  • Returns the number of sub-expressions contained in <self> ( >= 0)
Return type:int
Replace()
  • Replaces all occurences of <var> with copies of <with> in <self>. Copies of <with> are made with the Copy() method. Raises InvalidOperand if <with> contains <self>.
Parameters:
  • var (Handle_Expr_NamedUnknown &) –
  • with (Handle_Expr_GeneralExpression &) –
Return type:

void

ShallowSimplified()
  • Returns a GeneralExpression after a simplification of the arguments of <self>.
Return type:Handle_Expr_GeneralExpression
Simplified()
  • Returns a GeneralExpression after replacement of NamedUnknowns by an associated expression and after values computation.
Return type:Handle_Expr_GeneralExpression
String()
  • returns a string representing <self> in a readable way.
Return type:TCollection_AsciiString
SubExpression()
  • Returns the <I>-th sub-expression of <self> raises OutOfRange if <I> > NbSubExpressions(me)
Parameters:I (Standard_Integer) –
Return type:Handle_Expr_GeneralExpression
thisown

The membership flag

class OCC.Expr.Expr_GeneralFunction(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

Copy()
  • Returns a copy of <self> with the same form.
Return type:Handle_Expr_GeneralFunction
Derivative()
  • Returns Derivative of <self> for variable <var>.
Parameters:var (Handle_Expr_NamedUnknown &) –
Return type:Handle_Expr_GeneralFunction
  • Returns Derivative of <self> for variable <var> with degree <deg>.
Parameters:
  • var (Handle_Expr_NamedUnknown &) –
  • deg (Standard_Integer) –
Return type:

Handle_Expr_GeneralFunction

Evaluate()
  • Computes the value of <self> with the given variables. Raises NotEvaluable if <vars> does not match all variables of <self>.
Parameters:
  • vars (Expr_Array1OfNamedUnknown &) –
  • vals (TColStd_Array1OfReal &) –
Return type:

float

GetHandle()

Expr_GeneralFunction_GetHandle(Expr_GeneralFunction self) -> Handle_Expr_GeneralFunction

GetStringName()
Return type:TCollection_AsciiString
IsIdentical()
  • Tests if <self> and <func> are similar functions (same name and same used expression).
Parameters:func (Handle_Expr_GeneralFunction &) –
Return type:bool
IsLinearOnVariable()
  • Tests if <self> is linear on variable on range <index>
Parameters:index (Standard_Integer) –
Return type:bool
NbOfVariables()
  • Returns the number of variables of <self>.
Return type:int
Variable()
  • Returns the variable denoted by <index> in <self>. Raises OutOfRange if index > NbOfVariables.
Parameters:index (Standard_Integer) –
Return type:Handle_Expr_NamedUnknown
thisown

The membership flag

class OCC.Expr.Expr_GeneralRelation(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

Contains()
  • Tests if <exp> contains <var>.
Parameters:exp (Handle_Expr_GeneralExpression &) –
Return type:bool
Copy()
  • Returns a copy of <self> having the same unknowns and functions.
Return type:Handle_Expr_GeneralRelation
GetHandle()

Expr_GeneralRelation_GetHandle(Expr_GeneralRelation self) -> Handle_Expr_GeneralRelation

IsLinear()
  • Tests if <self> is linear between its NamedUnknowns.
Return type:bool
IsSatisfied()
  • Returns the current status of the relation
Return type:bool
NbOfSingleRelations()
  • Returns the number of SingleRelations contained in <self>.
Return type:int
NbOfSubRelations()
  • Returns the number of relations contained in <self>.
Return type:int
Replace()
  • Replaces all occurences of <var> with <with> in <self>.
Parameters:
  • var (Handle_Expr_NamedUnknown &) –
  • with (Handle_Expr_GeneralExpression &) –
Return type:

void

Simplified()
  • Returns a GeneralRelation after replacement of NamedUnknowns by an associated expression, and after values computation.
Return type:Handle_Expr_GeneralRelation
Simplify()
  • Replaces NamedUnknowns by associated expressions, and computes values in <self>.
Return type:void
String()
  • returns a string representing <self> in a readable way.
Return type:TCollection_AsciiString
SubRelation()
  • Returns the relation denoted by <index> in <self>. An exception is raised if <index> is out of range.
Parameters:index (Standard_Integer) –
Return type:Handle_Expr_GeneralRelation
thisown

The membership flag

class OCC.Expr.Expr_GreaterThan(*args)

Bases: OCC.Expr.Expr_SingleRelation

GetHandle()

Expr_GreaterThan_GetHandle(Expr_GreaterThan self) -> Handle_Expr_GreaterThan

thisown

The membership flag

class OCC.Expr.Expr_GreaterThanOrEqual(*args)

Bases: OCC.Expr.Expr_SingleRelation

GetHandle()

Expr_GreaterThanOrEqual_GetHandle(Expr_GreaterThanOrEqual self) -> Handle_Expr_GreaterThanOrEqual

thisown

The membership flag

class OCC.Expr.Expr_IndexedMapNodeOfMapOfNamedUnknown(*args)

Bases: OCC.TCollection.TCollection_MapNode

GetHandle()

Expr_IndexedMapNodeOfMapOfNamedUnknown_GetHandle(Expr_IndexedMapNodeOfMapOfNamedUnknown self) -> Handle_Expr_IndexedMapNodeOfMapOfNamedUnknown

GetKey2()

Expr_IndexedMapNodeOfMapOfNamedUnknown_GetKey2(Expr_IndexedMapNodeOfMapOfNamedUnknown self) -> Standard_Integer

Key1()
Return type:Handle_Expr_NamedUnknown
Next2()
Return type:TCollection_MapNodePtr
SetKey2()

Expr_IndexedMapNodeOfMapOfNamedUnknown_SetKey2(Expr_IndexedMapNodeOfMapOfNamedUnknown self, Standard_Integer value)

thisown

The membership flag

class OCC.Expr.Expr_LessThan(*args)

Bases: OCC.Expr.Expr_SingleRelation

GetHandle()

Expr_LessThan_GetHandle(Expr_LessThan self) -> Handle_Expr_LessThan

thisown

The membership flag

class OCC.Expr.Expr_LessThanOrEqual(*args)

Bases: OCC.Expr.Expr_SingleRelation

GetHandle()

Expr_LessThanOrEqual_GetHandle(Expr_LessThanOrEqual self) -> Handle_Expr_LessThanOrEqual

thisown

The membership flag

class OCC.Expr.Expr_LogOf10(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_LogOf10_GetHandle(Expr_LogOf10 self) -> Handle_Expr_LogOf10

thisown

The membership flag

class OCC.Expr.Expr_LogOfe(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_LogOfe_GetHandle(Expr_LogOfe self) -> Handle_Expr_LogOfe

thisown

The membership flag

class OCC.Expr.Expr_MapOfNamedUnknown(NbBuckets=1)

Bases: OCC.TCollection.TCollection_BasicMap

Add()
Parameters:K (Handle_Expr_NamedUnknown &) –
Return type:int
Assign()
Parameters:Other (Expr_MapOfNamedUnknown &) –
Return type:Expr_MapOfNamedUnknown
Clear()
Return type:None
Contains()
Parameters:K (Handle_Expr_NamedUnknown &) –
Return type:bool
FindIndex()
Parameters:K (Handle_Expr_NamedUnknown &) –
Return type:int
FindKey()
Parameters:I (Standard_Integer) –
Return type:Handle_Expr_NamedUnknown
ReSize()
Parameters:NbBuckets (Standard_Integer) –
Return type:None
RemoveLast()
Return type:None
Set()
Parameters:Other (Expr_MapOfNamedUnknown &) –
Return type:Expr_MapOfNamedUnknown
Substitute()
Parameters:
  • I (Standard_Integer) –
  • K (Handle_Expr_NamedUnknown &) –
Return type:

None

thisown

The membership flag

class OCC.Expr.Expr_NamedConstant(*args)

Bases: OCC.Expr.Expr_NamedExpression

GetHandle()

Expr_NamedConstant_GetHandle(Expr_NamedConstant self) -> Handle_Expr_NamedConstant

GetValue()
Return type:float
thisown

The membership flag

class OCC.Expr.Expr_NamedExpression(*args, **kwargs)

Bases: OCC.Expr.Expr_GeneralExpression

GetHandle()

Expr_NamedExpression_GetHandle(Expr_NamedExpression self) -> Handle_Expr_NamedExpression

GetName()
Return type:TCollection_AsciiString
SetName()
Parameters:name (TCollection_AsciiString &) –
Return type:None
thisown

The membership flag

class OCC.Expr.Expr_NamedFunction(*args)

Bases: OCC.Expr.Expr_GeneralFunction

Derivative()
  • Returns Derivative of <self> for variable <var>.
Parameters:var (Handle_Expr_NamedUnknown &) –
Return type:Handle_Expr_GeneralFunction
  • Returns Derivative of <self> for variable <var> with degree <deg>.
Parameters:
  • var (Handle_Expr_NamedUnknown &) –
  • deg (Standard_Integer) –
Return type:

Handle_Expr_GeneralFunction

Expression()
  • Returns equivalent expression of <self>.
Return type:Handle_Expr_GeneralExpression
GetHandle()

Expr_NamedFunction_GetHandle(Expr_NamedFunction self) -> Handle_Expr_NamedFunction

GetName()
  • Returns the name assigned to <self>
Return type:TCollection_AsciiString
SetExpression()
  • Modifies expression of <self>. Warning: Beware of derivatives. See FunctionDerivative
Parameters:exp (Handle_Expr_GeneralExpression &) –
Return type:None
SetName()
  • Sets the name <newname> to <self>.
Parameters:newname (TCollection_AsciiString &) –
Return type:None
thisown

The membership flag

class OCC.Expr.Expr_NamedUnknown(*args)

Bases: OCC.Expr.Expr_NamedExpression

Assign()
  • Assigns <self> to <exp> expression. Raises exception if <exp> refers to <self>.
Parameters:exp (Handle_Expr_GeneralExpression &) –
Return type:None
AssignedExpression()
  • If exists, returns the assigned expression. An exception is raised if the expression does not exist.
Return type:Handle_Expr_GeneralExpression
Deassign()
  • Supresses the assigned expression
Return type:None
GetHandle()

Expr_NamedUnknown_GetHandle(Expr_NamedUnknown self) -> Handle_Expr_NamedUnknown

IsAssigned()
  • Tests if an expression is assigned to <self>.
Return type:bool
thisown

The membership flag

class OCC.Expr.Expr_NumericValue(*args)

Bases: OCC.Expr.Expr_GeneralExpression

GetHandle()

Expr_NumericValue_GetHandle(Expr_NumericValue self) -> Handle_Expr_NumericValue

GetValue()
Return type:float
SetValue()
Parameters:val (float) –
Return type:None
thisown

The membership flag

class OCC.Expr.Expr_PolyExpression(*args, **kwargs)

Bases: OCC.Expr.Expr_GeneralExpression

GetHandle()

Expr_PolyExpression_GetHandle(Expr_PolyExpression self) -> Handle_Expr_PolyExpression

NbOperands()
  • returns the number of operands contained in <self>
Return type:int
Operand()
  • Returns the <index>-th operand used in <self>. An exception is raised if index is out of range
Parameters:index (Standard_Integer) –
Return type:Handle_Expr_GeneralExpression
SetOperand()
  • Sets the <index>-th operand used in <self>. An exception is raised if <index> is out of range Raises InvalidOperand if <exp> contains <self>.
Parameters:
  • exp (Handle_Expr_GeneralExpression &) –
  • index (Standard_Integer) –
Return type:

None

thisown

The membership flag

class OCC.Expr.Expr_PolyFunction(*args)

Bases: OCC.Expr.Expr_PolyExpression

Function()
  • Returns the function defining <self>.
Return type:Handle_Expr_GeneralFunction
GetHandle()

Expr_PolyFunction_GetHandle(Expr_PolyFunction self) -> Handle_Expr_PolyFunction

thisown

The membership flag

class OCC.Expr.Expr_Product(*args)

Bases: OCC.Expr.Expr_PolyExpression

GetHandle()

Expr_Product_GetHandle(Expr_Product self) -> Handle_Expr_Product

thisown

The membership flag

class OCC.Expr.Expr_RUIterator(*args)

Bases: object

More()
  • Returns False if on other unknown remains.
Return type:bool
Next()
Return type:None
Value()
  • Returns current NamedUnknown. Raises exception if no more unknowns remain.
Return type:Handle_Expr_NamedUnknown
thisown

The membership flag

class OCC.Expr.Expr_RelationIterator(*args)

Bases: object

More()
  • Returns False if no other relation remains.
Return type:bool
Next()
Return type:None
Value()
  • Returns current basic relation. Exception is raised if no more relation remains.
Return type:Handle_Expr_SingleRelation
thisown

The membership flag

class OCC.Expr.Expr_SequenceNodeOfSequenceOfGeneralExpression(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

Expr_SequenceNodeOfSequenceOfGeneralExpression_GetHandle(Expr_SequenceNodeOfSequenceOfGeneralExpression self) -> Handle_Expr_SequenceNodeOfSequenceOfGeneralExpression

Value()
Return type:Handle_Expr_GeneralExpression
thisown

The membership flag

class OCC.Expr.Expr_SequenceNodeOfSequenceOfGeneralRelation(*args)

Bases: OCC.TCollection.TCollection_SeqNode

GetHandle()

Expr_SequenceNodeOfSequenceOfGeneralRelation_GetHandle(Expr_SequenceNodeOfSequenceOfGeneralRelation self) -> Handle_Expr_SequenceNodeOfSequenceOfGeneralRelation

Value()
Return type:Handle_Expr_GeneralRelation
thisown

The membership flag

class OCC.Expr.Expr_SequenceOfGeneralExpression

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (Handle_Expr_GeneralExpression &) –
  • S (Expr_SequenceOfGeneralExpression &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (Expr_SequenceOfGeneralExpression &) –
Return type:Expr_SequenceOfGeneralExpression
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:Handle_Expr_GeneralExpression
Clear()
Return type:None
First()
Return type:Handle_Expr_GeneralExpression
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (Handle_Expr_GeneralExpression &) –
  • Index
  • S (Expr_SequenceOfGeneralExpression &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (Handle_Expr_GeneralExpression &) –
  • Index
  • S (Expr_SequenceOfGeneralExpression &) –
Return type:

None

Return type:

None

Last()
Return type:Handle_Expr_GeneralExpression
Prepend()
Parameters:
  • T (Handle_Expr_GeneralExpression &) –
  • S (Expr_SequenceOfGeneralExpression &) –
Return type:

None

Return type:

None

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

None

Return type:

None

Set()
Parameters:Other (Expr_SequenceOfGeneralExpression &) –
Return type:Expr_SequenceOfGeneralExpression
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • I (Handle_Expr_GeneralExpression &) –
Return type:

None

Split()
Parameters:
  • Index (Standard_Integer) –
  • Sub (Expr_SequenceOfGeneralExpression &) –
Return type:

None

Value()
Parameters:Index (Standard_Integer) –
Return type:Handle_Expr_GeneralExpression
thisown

The membership flag

class OCC.Expr.Expr_SequenceOfGeneralRelation

Bases: OCC.TCollection.TCollection_BaseSequence

Append()
Parameters:
  • T (Handle_Expr_GeneralRelation &) –
  • S (Expr_SequenceOfGeneralRelation &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (Expr_SequenceOfGeneralRelation &) –
Return type:Expr_SequenceOfGeneralRelation
ChangeValue()
Parameters:Index (Standard_Integer) –
Return type:Handle_Expr_GeneralRelation
Clear()
Return type:None
First()
Return type:Handle_Expr_GeneralRelation
InsertAfter()
Parameters:
  • Index (Standard_Integer) –
  • T (Handle_Expr_GeneralRelation &) –
  • Index
  • S (Expr_SequenceOfGeneralRelation &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (Standard_Integer) –
  • T (Handle_Expr_GeneralRelation &) –
  • Index
  • S (Expr_SequenceOfGeneralRelation &) –
Return type:

None

Return type:

None

Last()
Return type:Handle_Expr_GeneralRelation
Prepend()
Parameters:
  • T (Handle_Expr_GeneralRelation &) –
  • S (Expr_SequenceOfGeneralRelation &) –
Return type:

None

Return type:

None

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

None

Return type:

None

Set()
Parameters:Other (Expr_SequenceOfGeneralRelation &) –
Return type:Expr_SequenceOfGeneralRelation
SetValue()
Parameters:
  • Index (Standard_Integer) –
  • I (Handle_Expr_GeneralRelation &) –
Return type:

None

Split()
Parameters:
  • Index (Standard_Integer) –
  • Sub (Expr_SequenceOfGeneralRelation &) –
Return type:

None

Value()
Parameters:Index (Standard_Integer) –
Return type:Handle_Expr_GeneralRelation
thisown

The membership flag

class OCC.Expr.Expr_Sine(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_Sine_GetHandle(Expr_Sine self) -> Handle_Expr_Sine

thisown

The membership flag

class OCC.Expr.Expr_SingleRelation(*args, **kwargs)

Bases: OCC.Expr.Expr_GeneralRelation

FirstMember()
  • Returns the first member of the relation
Return type:Handle_Expr_GeneralExpression
GetHandle()

Expr_SingleRelation_GetHandle(Expr_SingleRelation self) -> Handle_Expr_SingleRelation

SecondMember()
  • Returns the second member of the relation
Return type:Handle_Expr_GeneralExpression
SetFirstMember()
  • Defines the first member of the relation
Parameters:exp (Handle_Expr_GeneralExpression &) –
Return type:None
SetSecondMember()
  • Defines the second member of the relation
Parameters:exp (Handle_Expr_GeneralExpression &) –
Return type:None
thisown

The membership flag

class OCC.Expr.Expr_Sinh(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_Sinh_GetHandle(Expr_Sinh self) -> Handle_Expr_Sinh

thisown

The membership flag

class OCC.Expr.Expr_Square(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_Square_GetHandle(Expr_Square self) -> Handle_Expr_Square

thisown

The membership flag

class OCC.Expr.Expr_SquareRoot(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_SquareRoot_GetHandle(Expr_SquareRoot self) -> Handle_Expr_SquareRoot

thisown

The membership flag

class OCC.Expr.Expr_Sum(*args)

Bases: OCC.Expr.Expr_PolyExpression

GetHandle()

Expr_Sum_GetHandle(Expr_Sum self) -> Handle_Expr_Sum

thisown

The membership flag

class OCC.Expr.Expr_SystemRelation(*args)

Bases: OCC.Expr.Expr_GeneralRelation

Add()
  • Appends <relation> in the list of components of <self>.
Parameters:relation (Handle_Expr_GeneralRelation &) –
Return type:None
GetHandle()

Expr_SystemRelation_GetHandle(Expr_SystemRelation self) -> Handle_Expr_SystemRelation

Remove()
Parameters:relation (Handle_Expr_GeneralRelation &) –
Return type:None
thisown

The membership flag

class OCC.Expr.Expr_Tangent(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_Tangent_GetHandle(Expr_Tangent self) -> Handle_Expr_Tangent

thisown

The membership flag

class OCC.Expr.Expr_Tanh(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_Tanh_GetHandle(Expr_Tanh self) -> Handle_Expr_Tanh

thisown

The membership flag

class OCC.Expr.Expr_UnaryExpression(*args, **kwargs)

Bases: OCC.Expr.Expr_GeneralExpression

GetHandle()

Expr_UnaryExpression_GetHandle(Expr_UnaryExpression self) -> Handle_Expr_UnaryExpression

Operand()
  • Returns the operand used
Return type:Handle_Expr_GeneralExpression
SetOperand()
  • Sets the operand used Raises InvalidOperand if <exp> contains <self>.
Parameters:exp (Handle_Expr_GeneralExpression &) –
Return type:None
thisown

The membership flag

class OCC.Expr.Expr_UnaryFunction(*args)

Bases: OCC.Expr.Expr_UnaryExpression

Function()
  • Returns the function defining <self>.
Return type:Handle_Expr_GeneralFunction
GetHandle()

Expr_UnaryFunction_GetHandle(Expr_UnaryFunction self) -> Handle_Expr_UnaryFunction

thisown

The membership flag

class OCC.Expr.Expr_UnaryMinus(*args)

Bases: OCC.Expr.Expr_UnaryExpression

GetHandle()

Expr_UnaryMinus_GetHandle(Expr_UnaryMinus self) -> Handle_Expr_UnaryMinus

thisown

The membership flag

class OCC.Expr.Expr_UnknownIterator(*args)

Bases: object

More()
Return type:bool
Next()
Return type:None
Value()
Return type:Handle_Expr_NamedUnknown
thisown

The membership flag

class OCC.Expr.Handle_Expr_Absolute(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_ArcCosine(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_ArcSine(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_ArcTangent(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_ArgCosh(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_ArgSinh(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_ArgTanh(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_BinaryExpression(*args)

Bases: OCC.Expr.Handle_Expr_GeneralExpression

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

The membership flag

class OCC.Expr.Handle_Expr_BinaryFunction(*args)

Bases: OCC.Expr.Handle_Expr_BinaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_Cosh(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_Cosine(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_Difference(*args)

Bases: OCC.Expr.Handle_Expr_BinaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_Different(*args)

Bases: OCC.Expr.Handle_Expr_SingleRelation

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

The membership flag

class OCC.Expr.Handle_Expr_Division(*args)

Bases: OCC.Expr.Handle_Expr_BinaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_Equal(*args)

Bases: OCC.Expr.Handle_Expr_SingleRelation

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

The membership flag

class OCC.Expr.Handle_Expr_Exponential(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_Exponentiate(*args)

Bases: OCC.Expr.Handle_Expr_BinaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_FunctionDerivative(*args)

Bases: OCC.Expr.Handle_Expr_GeneralFunction

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

The membership flag

class OCC.Expr.Handle_Expr_GeneralExpression(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.Expr.Handle_Expr_GeneralFunction(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.Expr.Handle_Expr_GeneralRelation(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

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

The membership flag

class OCC.Expr.Handle_Expr_GreaterThan(*args)

Bases: OCC.Expr.Handle_Expr_SingleRelation

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

The membership flag

class OCC.Expr.Handle_Expr_GreaterThanOrEqual(*args)

Bases: OCC.Expr.Handle_Expr_SingleRelation

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

The membership flag

class OCC.Expr.Handle_Expr_IndexedMapNodeOfMapOfNamedUnknown(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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

The membership flag

class OCC.Expr.Handle_Expr_LessThan(*args)

Bases: OCC.Expr.Handle_Expr_SingleRelation

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

The membership flag

class OCC.Expr.Handle_Expr_LessThanOrEqual(*args)

Bases: OCC.Expr.Handle_Expr_SingleRelation

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

The membership flag

class OCC.Expr.Handle_Expr_LogOf10(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_LogOfe(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_NamedConstant(*args)

Bases: OCC.Expr.Handle_Expr_NamedExpression

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

The membership flag

class OCC.Expr.Handle_Expr_NamedExpression(*args)

Bases: OCC.Expr.Handle_Expr_GeneralExpression

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

The membership flag

class OCC.Expr.Handle_Expr_NamedFunction(*args)

Bases: OCC.Expr.Handle_Expr_GeneralFunction

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

The membership flag

class OCC.Expr.Handle_Expr_NamedUnknown(*args)

Bases: OCC.Expr.Handle_Expr_NamedExpression

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

The membership flag

class OCC.Expr.Handle_Expr_NumericValue(*args)

Bases: OCC.Expr.Handle_Expr_GeneralExpression

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

The membership flag

class OCC.Expr.Handle_Expr_PolyExpression(*args)

Bases: OCC.Expr.Handle_Expr_GeneralExpression

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

The membership flag

class OCC.Expr.Handle_Expr_PolyFunction(*args)

Bases: OCC.Expr.Handle_Expr_PolyExpression

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

The membership flag

class OCC.Expr.Handle_Expr_Product(*args)

Bases: OCC.Expr.Handle_Expr_PolyExpression

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

The membership flag

class OCC.Expr.Handle_Expr_SequenceNodeOfSequenceOfGeneralExpression(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.Expr.Handle_Expr_SequenceNodeOfSequenceOfGeneralRelation(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

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

The membership flag

class OCC.Expr.Handle_Expr_Sine(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_SingleRelation(*args)

Bases: OCC.Expr.Handle_Expr_GeneralRelation

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

The membership flag

class OCC.Expr.Handle_Expr_Sinh(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_Square(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_SquareRoot(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_Sum(*args)

Bases: OCC.Expr.Handle_Expr_PolyExpression

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

The membership flag

class OCC.Expr.Handle_Expr_SystemRelation(*args)

Bases: OCC.Expr.Handle_Expr_GeneralRelation

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

The membership flag

class OCC.Expr.Handle_Expr_Tangent(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_Tanh(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_UnaryExpression(*args)

Bases: OCC.Expr.Handle_Expr_GeneralExpression

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

The membership flag

class OCC.Expr.Handle_Expr_UnaryFunction(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

class OCC.Expr.Handle_Expr_UnaryMinus(*args)

Bases: OCC.Expr.Handle_Expr_UnaryExpression

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

The membership flag

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

Bases: object

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

The membership flag

value()
class OCC.Expr.expr(*args, **kwargs)

Bases: object

static CopyShare(*args)
Parameters:exp (Handle_Expr_GeneralExpression &) –
Return type:Handle_Expr_GeneralExpression
static NbOfFreeVariables(*args)
Parameters:
  • exp (Handle_Expr_GeneralRelation &) –
  • exp
Return type:

int

Return type:

int

static Sign(*args)
Parameters:val (float) –
Return type:float
thisown

The membership flag

OCC.Expr.expr_CopyShare(*args)
Parameters:exp (Handle_Expr_GeneralExpression &) –
Return type:Handle_Expr_GeneralExpression
OCC.Expr.expr_NbOfFreeVariables(*args)
Parameters:
  • exp (Handle_Expr_GeneralRelation &) –
  • exp
Return type:

int

Return type:

int

OCC.Expr.expr_Sign(*args)
Parameters:val (float) –
Return type:float