v_sim.ScalarFieldBinaryOp¶
- Subclasses:
None
Methods¶
- Inherited:
v_sim.ScalarField (19), GObject.Object (37), v_sim.Boxed (2), v_sim.Pointset (9)
- Structs:
class |
|
class |
|
class |
|
|
|
|
Virtual Methods¶
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class v_sim.ScalarFieldBinaryOp(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
An opaque structure for the scalar field.
- classmethod new(op, a, b)¶
- Parameters:
op (
v_sim.ScalarFieldBinaryOpTypes) – the type of binary operator.a (
v_sim.ScalarField) – av_sim.ScalarFieldobject.b (
v_sim.ScalarField) – av_sim.ScalarFieldobject.
- Returns:
a newly created
v_sim.ScalarFieldBinaryOpobject.- Return type:
Create a new
v_sim.ScalarFieldobject as the operation between scalar field a and b.New in version 3.8.
- classmethod new_withLeftConst(op, lValue, b)¶
- Parameters:
op (
v_sim.ScalarFieldBinaryOpTypes) – the type of binary operator.lValue (
float) – a constant.b (
v_sim.ScalarField) – av_sim.ScalarFieldobject.
- Returns:
a newly created
v_sim.ScalarFieldBinaryOpobject.- Return type:
Like
v_sim.ScalarFieldBinaryOp.new() but with the left member being a constant.New in version 3.8.
- classmethod new_withRightConst(op, a, rValue)¶
- Parameters:
op (
v_sim.ScalarFieldBinaryOpTypes) – the type of binary operator.a (
v_sim.ScalarField) – av_sim.ScalarFieldobject.rValue (
float) – a constant.
- Returns:
a newly created
v_sim.ScalarFieldBinaryOpobject.- Return type:
Like
v_sim.ScalarFieldBinaryOp.new() but with the right member being a constant.New in version 3.8.
- setLeftField(field)¶
- Parameters:
field (
v_sim.ScalarField) – av_sim.ScalarFieldobject.- Returns:
Trueif the left operator is actually changed.- Return type:
Change the left hand side operator to be field.
- setRightField(field)¶
- Parameters:
field (
v_sim.ScalarField) – av_sim.ScalarFieldobject.- Returns:
Trueif the right operator is actually changed.- Return type:
Change the right hand side operator to be field.