agx-openplx 0.15.22__cp39-cp39-win_amd64.whl → 0.16.1__cp39-cp39-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {agx_openplx-0.15.22.dist-info → agx_openplx-0.16.1.dist-info}/METADATA +2 -2
- agx_openplx-0.16.1.dist-info/RECORD +41 -0
- openplx/DriveTrain.py +3318 -1690
- openplx/Math.py +528 -528
- openplx/Physics.py +3368 -2098
- openplx/Physics1D.py +272 -272
- openplx/Physics3D.py +2308 -2308
- openplx/Robotics.py +882 -882
- openplx/Simulation.py +46 -46
- openplx/Terrain.py +182 -182
- openplx/Urdf.py +25 -24
- openplx/Vehicles.py +436 -436
- openplx/Visuals.py +188 -188
- openplx/_AgxOpenPlxPyApi.cp39-win_amd64.pyd +0 -0
- openplx/_CorePythonSwig.cp39-win_amd64.pyd +0 -0
- openplx/_DriveTrainSwig.cp39-win_amd64.pyd +0 -0
- openplx/_MathSwig.cp39-win_amd64.pyd +0 -0
- openplx/_Physics1DSwig.cp39-win_amd64.pyd +0 -0
- openplx/_Physics3DSwig.cp39-win_amd64.pyd +0 -0
- openplx/_PhysicsSwig.cp39-win_amd64.pyd +0 -0
- openplx/_RoboticsSwig.cp39-win_amd64.pyd +0 -0
- openplx/_SimulationSwig.cp39-win_amd64.pyd +0 -0
- openplx/_TerrainSwig.cp39-win_amd64.pyd +0 -0
- openplx/_UrdfSwig.cp39-win_amd64.pyd +0 -0
- openplx/_VehiclesSwig.cp39-win_amd64.pyd +0 -0
- openplx/_VisualsSwig.cp39-win_amd64.pyd +0 -0
- openplx/__init__.py +1 -1
- openplx/api.py +23 -1
- openplx/migrations.py +12 -0
- openplx/openplx_application.py +11 -1
- openplx/openplx_validate.py +8 -1
- agx_openplx-0.15.22.dist-info/RECORD +0 -41
- {agx_openplx-0.15.22.dist-info → agx_openplx-0.16.1.dist-info}/WHEEL +0 -0
- {agx_openplx-0.15.22.dist-info → agx_openplx-0.16.1.dist-info}/entry_points.txt +0 -0
openplx/Math.py
CHANGED
@@ -2786,28 +2786,28 @@ class Math_Vec3_Vector(object):
|
|
2786
2786
|
# Register Math_Vec3_Vector in _MathSwig:
|
2787
2787
|
_MathSwig.Math_Vec3_Vector_swigregister(Math_Vec3_Vector)
|
2788
2788
|
|
2789
|
-
class
|
2789
|
+
class Math_AffineTransform(openplx.Core.Object):
|
2790
2790
|
r"""Proxy of C++ openplx::Math::AffineTransform class."""
|
2791
2791
|
|
2792
2792
|
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
2793
2793
|
__repr__ = _swig_repr
|
2794
2794
|
|
2795
2795
|
def __init__(self):
|
2796
|
-
r"""__init__(
|
2797
|
-
_MathSwig.
|
2796
|
+
r"""__init__(Math_AffineTransform self) -> Math_AffineTransform"""
|
2797
|
+
_MathSwig.Math_AffineTransform_swiginit(self, _MathSwig.new_Math_AffineTransform())
|
2798
2798
|
|
2799
2799
|
def position(self):
|
2800
|
-
r"""position(
|
2801
|
-
return _MathSwig.
|
2800
|
+
r"""position(Math_AffineTransform self) -> std::shared_ptr< openplx::Math::Vec3 >"""
|
2801
|
+
return _MathSwig.Math_AffineTransform_position(self)
|
2802
2802
|
|
2803
2803
|
def rotation(self):
|
2804
|
-
r"""rotation(
|
2805
|
-
return _MathSwig.
|
2804
|
+
r"""rotation(Math_AffineTransform self) -> std::shared_ptr< openplx::Math::Quat >"""
|
2805
|
+
return _MathSwig.Math_AffineTransform_rotation(self)
|
2806
2806
|
|
2807
2807
|
@staticmethod
|
2808
2808
|
def create():
|
2809
2809
|
r"""create() -> std::shared_ptr< openplx::Math::AffineTransform >"""
|
2810
|
-
return _MathSwig.
|
2810
|
+
return _MathSwig.Math_AffineTransform_create()
|
2811
2811
|
|
2812
2812
|
@staticmethod
|
2813
2813
|
def _from(p, r):
|
@@ -2820,7 +2820,7 @@ class AffineTransform(openplx.Core.Object):
|
|
2820
2820
|
r: std::shared_ptr< openplx::Math::Quat >
|
2821
2821
|
|
2822
2822
|
"""
|
2823
|
-
return _MathSwig.
|
2823
|
+
return _MathSwig.Math_AffineTransform__from(p, r)
|
2824
2824
|
|
2825
2825
|
@staticmethod
|
2826
2826
|
def from_axes(new_Z, new_X, position):
|
@@ -2834,7 +2834,7 @@ class AffineTransform(openplx.Core.Object):
|
|
2834
2834
|
position: std::shared_ptr< openplx::Math::Vec3 >
|
2835
2835
|
|
2836
2836
|
"""
|
2837
|
-
return _MathSwig.
|
2837
|
+
return _MathSwig.Math_AffineTransform_from_axes(new_Z, new_X, position)
|
2838
2838
|
|
2839
2839
|
@staticmethod
|
2840
2840
|
def inverse_of(p, r):
|
@@ -2847,37 +2847,37 @@ class AffineTransform(openplx.Core.Object):
|
|
2847
2847
|
r: std::shared_ptr< openplx::Math::Quat >
|
2848
2848
|
|
2849
2849
|
"""
|
2850
|
-
return _MathSwig.
|
2850
|
+
return _MathSwig.Math_AffineTransform_inverse_of(p, r)
|
2851
2851
|
|
2852
2852
|
def inverse(self):
|
2853
|
-
r"""inverse(
|
2854
|
-
return _MathSwig.
|
2853
|
+
r"""inverse(Math_AffineTransform self) -> std::shared_ptr< openplx::Math::AffineTransform >"""
|
2854
|
+
return _MathSwig.Math_AffineTransform_inverse(self)
|
2855
2855
|
|
2856
2856
|
def transform_vec3_point(self, _in):
|
2857
2857
|
r"""
|
2858
|
-
transform_vec3_point(
|
2858
|
+
transform_vec3_point(Math_AffineTransform self, std::shared_ptr< openplx::Math::Vec3 > _in) -> std::shared_ptr< openplx::Math::Vec3 >
|
2859
2859
|
|
2860
2860
|
Parameters
|
2861
2861
|
----------
|
2862
2862
|
in: std::shared_ptr< openplx::Math::Vec3 >
|
2863
2863
|
|
2864
2864
|
"""
|
2865
|
-
return _MathSwig.
|
2865
|
+
return _MathSwig.Math_AffineTransform_transform_vec3_point(self, _in)
|
2866
2866
|
|
2867
2867
|
def transform_vec3_vector(self, _in):
|
2868
2868
|
r"""
|
2869
|
-
transform_vec3_vector(
|
2869
|
+
transform_vec3_vector(Math_AffineTransform self, std::shared_ptr< openplx::Math::Vec3 > _in) -> std::shared_ptr< openplx::Math::Vec3 >
|
2870
2870
|
|
2871
2871
|
Parameters
|
2872
2872
|
----------
|
2873
2873
|
in: std::shared_ptr< openplx::Math::Vec3 >
|
2874
2874
|
|
2875
2875
|
"""
|
2876
|
-
return _MathSwig.
|
2876
|
+
return _MathSwig.Math_AffineTransform_transform_vec3_vector(self, _in)
|
2877
2877
|
|
2878
2878
|
def setDynamic(self, key, value):
|
2879
2879
|
r"""
|
2880
|
-
setDynamic(
|
2880
|
+
setDynamic(Math_AffineTransform self, std::string const & key, Any value)
|
2881
2881
|
|
2882
2882
|
Parameters
|
2883
2883
|
----------
|
@@ -2885,22 +2885,22 @@ class AffineTransform(openplx.Core.Object):
|
|
2885
2885
|
value: openplx::Core::Any &&
|
2886
2886
|
|
2887
2887
|
"""
|
2888
|
-
return _MathSwig.
|
2888
|
+
return _MathSwig.Math_AffineTransform_setDynamic(self, key, value)
|
2889
2889
|
|
2890
2890
|
def getDynamic(self, key):
|
2891
2891
|
r"""
|
2892
|
-
getDynamic(
|
2892
|
+
getDynamic(Math_AffineTransform self, std::string const & key) -> Any
|
2893
2893
|
|
2894
2894
|
Parameters
|
2895
2895
|
----------
|
2896
2896
|
key: std::string const &
|
2897
2897
|
|
2898
2898
|
"""
|
2899
|
-
return _MathSwig.
|
2899
|
+
return _MathSwig.Math_AffineTransform_getDynamic(self, key)
|
2900
2900
|
|
2901
2901
|
def callDynamic(self, key, args):
|
2902
2902
|
r"""
|
2903
|
-
callDynamic(
|
2903
|
+
callDynamic(Math_AffineTransform self, std::string const & key, AnyVector args) -> Any
|
2904
2904
|
|
2905
2905
|
Parameters
|
2906
2906
|
----------
|
@@ -2908,52 +2908,52 @@ class AffineTransform(openplx.Core.Object):
|
|
2908
2908
|
args: std::vector< openplx::Core::Any,std::allocator< openplx::Core::Any > > const &
|
2909
2909
|
|
2910
2910
|
"""
|
2911
|
-
return _MathSwig.
|
2911
|
+
return _MathSwig.Math_AffineTransform_callDynamic(self, key, args)
|
2912
2912
|
|
2913
2913
|
def extractObjectFieldsTo(self, output):
|
2914
2914
|
r"""
|
2915
|
-
extractObjectFieldsTo(
|
2915
|
+
extractObjectFieldsTo(Math_AffineTransform self, ObjectVector output)
|
2916
2916
|
|
2917
2917
|
Parameters
|
2918
2918
|
----------
|
2919
2919
|
output: std::vector< std::shared_ptr< openplx::Core::Object >,std::allocator< std::shared_ptr< openplx::Core::Object > > > &
|
2920
2920
|
|
2921
2921
|
"""
|
2922
|
-
return _MathSwig.
|
2922
|
+
return _MathSwig.Math_AffineTransform_extractObjectFieldsTo(self, output)
|
2923
2923
|
|
2924
2924
|
def extractEntriesTo(self, output):
|
2925
2925
|
r"""
|
2926
|
-
extractEntriesTo(
|
2926
|
+
extractEntriesTo(Math_AffineTransform self, std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > & output)
|
2927
2927
|
|
2928
2928
|
Parameters
|
2929
2929
|
----------
|
2930
2930
|
output: std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > &
|
2931
2931
|
|
2932
2932
|
"""
|
2933
|
-
return _MathSwig.
|
2933
|
+
return _MathSwig.Math_AffineTransform_extractEntriesTo(self, output)
|
2934
2934
|
|
2935
2935
|
def triggerOnInit(self, context):
|
2936
2936
|
r"""
|
2937
|
-
triggerOnInit(
|
2937
|
+
triggerOnInit(Math_AffineTransform self, openplx::RuntimeContext const & context)
|
2938
2938
|
|
2939
2939
|
Parameters
|
2940
2940
|
----------
|
2941
2941
|
context: openplx::RuntimeContext const &
|
2942
2942
|
|
2943
2943
|
"""
|
2944
|
-
return _MathSwig.
|
2945
|
-
__swig_destroy__ = _MathSwig.
|
2944
|
+
return _MathSwig.Math_AffineTransform_triggerOnInit(self, context)
|
2945
|
+
__swig_destroy__ = _MathSwig.delete_Math_AffineTransform
|
2946
2946
|
|
2947
|
-
# Register
|
2948
|
-
_MathSwig.
|
2947
|
+
# Register Math_AffineTransform in _MathSwig:
|
2948
|
+
_MathSwig.Math_AffineTransform_swigregister(Math_AffineTransform)
|
2949
2949
|
|
2950
|
-
def
|
2951
|
-
r"""
|
2952
|
-
return _MathSwig.
|
2950
|
+
def Math_AffineTransform_create():
|
2951
|
+
r"""Math_AffineTransform_create() -> std::shared_ptr< openplx::Math::AffineTransform >"""
|
2952
|
+
return _MathSwig.Math_AffineTransform_create()
|
2953
2953
|
|
2954
|
-
def
|
2954
|
+
def Math_AffineTransform__from(p, r):
|
2955
2955
|
r"""
|
2956
|
-
|
2956
|
+
Math_AffineTransform__from(std::shared_ptr< openplx::Math::Vec3 > p, std::shared_ptr< openplx::Math::Quat > r) -> std::shared_ptr< openplx::Math::AffineTransform >
|
2957
2957
|
|
2958
2958
|
Parameters
|
2959
2959
|
----------
|
@@ -2961,11 +2961,11 @@ def AffineTransform__from(p, r):
|
|
2961
2961
|
r: std::shared_ptr< openplx::Math::Quat >
|
2962
2962
|
|
2963
2963
|
"""
|
2964
|
-
return _MathSwig.
|
2964
|
+
return _MathSwig.Math_AffineTransform__from(p, r)
|
2965
2965
|
|
2966
|
-
def
|
2966
|
+
def Math_AffineTransform_from_axes(new_Z, new_X, position):
|
2967
2967
|
r"""
|
2968
|
-
|
2968
|
+
Math_AffineTransform_from_axes(std::shared_ptr< openplx::Math::Vec3 > new_Z, std::shared_ptr< openplx::Math::Vec3 > new_X, std::shared_ptr< openplx::Math::Vec3 > position) -> std::shared_ptr< openplx::Math::AffineTransform >
|
2969
2969
|
|
2970
2970
|
Parameters
|
2971
2971
|
----------
|
@@ -2974,11 +2974,11 @@ def AffineTransform_from_axes(new_Z, new_X, position):
|
|
2974
2974
|
position: std::shared_ptr< openplx::Math::Vec3 >
|
2975
2975
|
|
2976
2976
|
"""
|
2977
|
-
return _MathSwig.
|
2977
|
+
return _MathSwig.Math_AffineTransform_from_axes(new_Z, new_X, position)
|
2978
2978
|
|
2979
|
-
def
|
2979
|
+
def Math_AffineTransform_inverse_of(p, r):
|
2980
2980
|
r"""
|
2981
|
-
|
2981
|
+
Math_AffineTransform_inverse_of(std::shared_ptr< openplx::Math::Vec3 > p, std::shared_ptr< openplx::Math::Quat > r) -> std::shared_ptr< openplx::Math::AffineTransform >
|
2982
2982
|
|
2983
2983
|
Parameters
|
2984
2984
|
----------
|
@@ -2986,17 +2986,17 @@ def AffineTransform_inverse_of(p, r):
|
|
2986
2986
|
r: std::shared_ptr< openplx::Math::Quat >
|
2987
2987
|
|
2988
2988
|
"""
|
2989
|
-
return _MathSwig.
|
2989
|
+
return _MathSwig.Math_AffineTransform_inverse_of(p, r)
|
2990
2990
|
|
2991
|
-
class
|
2991
|
+
class Math_Functions(openplx.Core.Object):
|
2992
2992
|
r"""Proxy of C++ openplx::Math::Functions class."""
|
2993
2993
|
|
2994
2994
|
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
2995
2995
|
__repr__ = _swig_repr
|
2996
2996
|
|
2997
2997
|
def __init__(self):
|
2998
|
-
r"""__init__(
|
2999
|
-
_MathSwig.
|
2998
|
+
r"""__init__(Math_Functions self) -> Math_Functions"""
|
2999
|
+
_MathSwig.Math_Functions_swiginit(self, _MathSwig.new_Math_Functions())
|
3000
3000
|
|
3001
3001
|
@staticmethod
|
3002
3002
|
def sin(x):
|
@@ -3008,7 +3008,7 @@ class Functions(openplx.Core.Object):
|
|
3008
3008
|
x: double
|
3009
3009
|
|
3010
3010
|
"""
|
3011
|
-
return _MathSwig.
|
3011
|
+
return _MathSwig.Math_Functions_sin(x)
|
3012
3012
|
|
3013
3013
|
@staticmethod
|
3014
3014
|
def cos(x):
|
@@ -3020,7 +3020,7 @@ class Functions(openplx.Core.Object):
|
|
3020
3020
|
x: double
|
3021
3021
|
|
3022
3022
|
"""
|
3023
|
-
return _MathSwig.
|
3023
|
+
return _MathSwig.Math_Functions_cos(x)
|
3024
3024
|
|
3025
3025
|
@staticmethod
|
3026
3026
|
def tan(x):
|
@@ -3032,7 +3032,7 @@ class Functions(openplx.Core.Object):
|
|
3032
3032
|
x: double
|
3033
3033
|
|
3034
3034
|
"""
|
3035
|
-
return _MathSwig.
|
3035
|
+
return _MathSwig.Math_Functions_tan(x)
|
3036
3036
|
|
3037
3037
|
@staticmethod
|
3038
3038
|
def arcsin(x):
|
@@ -3044,7 +3044,7 @@ class Functions(openplx.Core.Object):
|
|
3044
3044
|
x: double
|
3045
3045
|
|
3046
3046
|
"""
|
3047
|
-
return _MathSwig.
|
3047
|
+
return _MathSwig.Math_Functions_arcsin(x)
|
3048
3048
|
|
3049
3049
|
@staticmethod
|
3050
3050
|
def arccos(x):
|
@@ -3056,7 +3056,7 @@ class Functions(openplx.Core.Object):
|
|
3056
3056
|
x: double
|
3057
3057
|
|
3058
3058
|
"""
|
3059
|
-
return _MathSwig.
|
3059
|
+
return _MathSwig.Math_Functions_arccos(x)
|
3060
3060
|
|
3061
3061
|
@staticmethod
|
3062
3062
|
def arctan(x):
|
@@ -3068,7 +3068,7 @@ class Functions(openplx.Core.Object):
|
|
3068
3068
|
x: double
|
3069
3069
|
|
3070
3070
|
"""
|
3071
|
-
return _MathSwig.
|
3071
|
+
return _MathSwig.Math_Functions_arctan(x)
|
3072
3072
|
|
3073
3073
|
@staticmethod
|
3074
3074
|
def arctan2(x, y):
|
@@ -3081,7 +3081,7 @@ class Functions(openplx.Core.Object):
|
|
3081
3081
|
y: double
|
3082
3082
|
|
3083
3083
|
"""
|
3084
|
-
return _MathSwig.
|
3084
|
+
return _MathSwig.Math_Functions_arctan2(x, y)
|
3085
3085
|
|
3086
3086
|
@staticmethod
|
3087
3087
|
def sqrt(values):
|
@@ -3093,7 +3093,7 @@ class Functions(openplx.Core.Object):
|
|
3093
3093
|
values: double
|
3094
3094
|
|
3095
3095
|
"""
|
3096
|
-
return _MathSwig.
|
3096
|
+
return _MathSwig.Math_Functions_sqrt(values)
|
3097
3097
|
|
3098
3098
|
@staticmethod
|
3099
3099
|
def pow(base, exponent):
|
@@ -3106,7 +3106,7 @@ class Functions(openplx.Core.Object):
|
|
3106
3106
|
exponent: double
|
3107
3107
|
|
3108
3108
|
"""
|
3109
|
-
return _MathSwig.
|
3109
|
+
return _MathSwig.Math_Functions_pow(base, exponent)
|
3110
3110
|
|
3111
3111
|
@staticmethod
|
3112
3112
|
def mean(values):
|
@@ -3118,7 +3118,7 @@ class Functions(openplx.Core.Object):
|
|
3118
3118
|
values: std::vector< double,std::allocator< double > >
|
3119
3119
|
|
3120
3120
|
"""
|
3121
|
-
return _MathSwig.
|
3121
|
+
return _MathSwig.Math_Functions_mean(values)
|
3122
3122
|
|
3123
3123
|
@staticmethod
|
3124
3124
|
def median(values):
|
@@ -3130,7 +3130,7 @@ class Functions(openplx.Core.Object):
|
|
3130
3130
|
values: std::vector< double,std::allocator< double > >
|
3131
3131
|
|
3132
3132
|
"""
|
3133
|
-
return _MathSwig.
|
3133
|
+
return _MathSwig.Math_Functions_median(values)
|
3134
3134
|
|
3135
3135
|
@staticmethod
|
3136
3136
|
def harmonic_mean(values):
|
@@ -3142,7 +3142,7 @@ class Functions(openplx.Core.Object):
|
|
3142
3142
|
values: std::vector< double,std::allocator< double > >
|
3143
3143
|
|
3144
3144
|
"""
|
3145
|
-
return _MathSwig.
|
3145
|
+
return _MathSwig.Math_Functions_harmonic_mean(values)
|
3146
3146
|
|
3147
3147
|
@staticmethod
|
3148
3148
|
def min(values):
|
@@ -3154,7 +3154,7 @@ class Functions(openplx.Core.Object):
|
|
3154
3154
|
values: std::vector< double,std::allocator< double > >
|
3155
3155
|
|
3156
3156
|
"""
|
3157
|
-
return _MathSwig.
|
3157
|
+
return _MathSwig.Math_Functions_min(values)
|
3158
3158
|
|
3159
3159
|
@staticmethod
|
3160
3160
|
def max(values):
|
@@ -3166,7 +3166,7 @@ class Functions(openplx.Core.Object):
|
|
3166
3166
|
values: std::vector< double,std::allocator< double > >
|
3167
3167
|
|
3168
3168
|
"""
|
3169
|
-
return _MathSwig.
|
3169
|
+
return _MathSwig.Math_Functions_max(values)
|
3170
3170
|
|
3171
3171
|
@staticmethod
|
3172
3172
|
def sum(values):
|
@@ -3178,7 +3178,7 @@ class Functions(openplx.Core.Object):
|
|
3178
3178
|
values: std::vector< double,std::allocator< double > >
|
3179
3179
|
|
3180
3180
|
"""
|
3181
|
-
return _MathSwig.
|
3181
|
+
return _MathSwig.Math_Functions_sum(values)
|
3182
3182
|
|
3183
3183
|
@staticmethod
|
3184
3184
|
def equals_approx(value, reference):
|
@@ -3191,21 +3191,21 @@ class Functions(openplx.Core.Object):
|
|
3191
3191
|
reference: double
|
3192
3192
|
|
3193
3193
|
"""
|
3194
|
-
return _MathSwig.
|
3194
|
+
return _MathSwig.Math_Functions_equals_approx(value, reference)
|
3195
3195
|
|
3196
3196
|
@staticmethod
|
3197
3197
|
def inf():
|
3198
3198
|
r"""inf() -> double"""
|
3199
|
-
return _MathSwig.
|
3199
|
+
return _MathSwig.Math_Functions_inf()
|
3200
3200
|
|
3201
3201
|
@staticmethod
|
3202
3202
|
def neg_inf():
|
3203
3203
|
r"""neg_inf() -> double"""
|
3204
|
-
return _MathSwig.
|
3204
|
+
return _MathSwig.Math_Functions_neg_inf()
|
3205
3205
|
|
3206
3206
|
def setDynamic(self, key, value):
|
3207
3207
|
r"""
|
3208
|
-
setDynamic(
|
3208
|
+
setDynamic(Math_Functions self, std::string const & key, Any value)
|
3209
3209
|
|
3210
3210
|
Parameters
|
3211
3211
|
----------
|
@@ -3213,22 +3213,22 @@ class Functions(openplx.Core.Object):
|
|
3213
3213
|
value: openplx::Core::Any &&
|
3214
3214
|
|
3215
3215
|
"""
|
3216
|
-
return _MathSwig.
|
3216
|
+
return _MathSwig.Math_Functions_setDynamic(self, key, value)
|
3217
3217
|
|
3218
3218
|
def getDynamic(self, key):
|
3219
3219
|
r"""
|
3220
|
-
getDynamic(
|
3220
|
+
getDynamic(Math_Functions self, std::string const & key) -> Any
|
3221
3221
|
|
3222
3222
|
Parameters
|
3223
3223
|
----------
|
3224
3224
|
key: std::string const &
|
3225
3225
|
|
3226
3226
|
"""
|
3227
|
-
return _MathSwig.
|
3227
|
+
return _MathSwig.Math_Functions_getDynamic(self, key)
|
3228
3228
|
|
3229
3229
|
def callDynamic(self, key, args):
|
3230
3230
|
r"""
|
3231
|
-
callDynamic(
|
3231
|
+
callDynamic(Math_Functions self, std::string const & key, AnyVector args) -> Any
|
3232
3232
|
|
3233
3233
|
Parameters
|
3234
3234
|
----------
|
@@ -3236,114 +3236,114 @@ class Functions(openplx.Core.Object):
|
|
3236
3236
|
args: std::vector< openplx::Core::Any,std::allocator< openplx::Core::Any > > const &
|
3237
3237
|
|
3238
3238
|
"""
|
3239
|
-
return _MathSwig.
|
3239
|
+
return _MathSwig.Math_Functions_callDynamic(self, key, args)
|
3240
3240
|
|
3241
3241
|
def extractObjectFieldsTo(self, output):
|
3242
3242
|
r"""
|
3243
|
-
extractObjectFieldsTo(
|
3243
|
+
extractObjectFieldsTo(Math_Functions self, ObjectVector output)
|
3244
3244
|
|
3245
3245
|
Parameters
|
3246
3246
|
----------
|
3247
3247
|
output: std::vector< std::shared_ptr< openplx::Core::Object >,std::allocator< std::shared_ptr< openplx::Core::Object > > > &
|
3248
3248
|
|
3249
3249
|
"""
|
3250
|
-
return _MathSwig.
|
3250
|
+
return _MathSwig.Math_Functions_extractObjectFieldsTo(self, output)
|
3251
3251
|
|
3252
3252
|
def extractEntriesTo(self, output):
|
3253
3253
|
r"""
|
3254
|
-
extractEntriesTo(
|
3254
|
+
extractEntriesTo(Math_Functions self, std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > & output)
|
3255
3255
|
|
3256
3256
|
Parameters
|
3257
3257
|
----------
|
3258
3258
|
output: std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > &
|
3259
3259
|
|
3260
3260
|
"""
|
3261
|
-
return _MathSwig.
|
3261
|
+
return _MathSwig.Math_Functions_extractEntriesTo(self, output)
|
3262
3262
|
|
3263
3263
|
def triggerOnInit(self, context):
|
3264
3264
|
r"""
|
3265
|
-
triggerOnInit(
|
3265
|
+
triggerOnInit(Math_Functions self, openplx::RuntimeContext const & context)
|
3266
3266
|
|
3267
3267
|
Parameters
|
3268
3268
|
----------
|
3269
3269
|
context: openplx::RuntimeContext const &
|
3270
3270
|
|
3271
3271
|
"""
|
3272
|
-
return _MathSwig.
|
3273
|
-
__swig_destroy__ = _MathSwig.
|
3272
|
+
return _MathSwig.Math_Functions_triggerOnInit(self, context)
|
3273
|
+
__swig_destroy__ = _MathSwig.delete_Math_Functions
|
3274
3274
|
|
3275
|
-
# Register
|
3276
|
-
_MathSwig.
|
3275
|
+
# Register Math_Functions in _MathSwig:
|
3276
|
+
_MathSwig.Math_Functions_swigregister(Math_Functions)
|
3277
3277
|
|
3278
|
-
def
|
3278
|
+
def Math_Functions_sin(x):
|
3279
3279
|
r"""
|
3280
|
-
|
3280
|
+
Math_Functions_sin(double x) -> double
|
3281
3281
|
|
3282
3282
|
Parameters
|
3283
3283
|
----------
|
3284
3284
|
x: double
|
3285
3285
|
|
3286
3286
|
"""
|
3287
|
-
return _MathSwig.
|
3287
|
+
return _MathSwig.Math_Functions_sin(x)
|
3288
3288
|
|
3289
|
-
def
|
3289
|
+
def Math_Functions_cos(x):
|
3290
3290
|
r"""
|
3291
|
-
|
3291
|
+
Math_Functions_cos(double x) -> double
|
3292
3292
|
|
3293
3293
|
Parameters
|
3294
3294
|
----------
|
3295
3295
|
x: double
|
3296
3296
|
|
3297
3297
|
"""
|
3298
|
-
return _MathSwig.
|
3298
|
+
return _MathSwig.Math_Functions_cos(x)
|
3299
3299
|
|
3300
|
-
def
|
3300
|
+
def Math_Functions_tan(x):
|
3301
3301
|
r"""
|
3302
|
-
|
3302
|
+
Math_Functions_tan(double x) -> double
|
3303
3303
|
|
3304
3304
|
Parameters
|
3305
3305
|
----------
|
3306
3306
|
x: double
|
3307
3307
|
|
3308
3308
|
"""
|
3309
|
-
return _MathSwig.
|
3309
|
+
return _MathSwig.Math_Functions_tan(x)
|
3310
3310
|
|
3311
|
-
def
|
3311
|
+
def Math_Functions_arcsin(x):
|
3312
3312
|
r"""
|
3313
|
-
|
3313
|
+
Math_Functions_arcsin(double x) -> double
|
3314
3314
|
|
3315
3315
|
Parameters
|
3316
3316
|
----------
|
3317
3317
|
x: double
|
3318
3318
|
|
3319
3319
|
"""
|
3320
|
-
return _MathSwig.
|
3320
|
+
return _MathSwig.Math_Functions_arcsin(x)
|
3321
3321
|
|
3322
|
-
def
|
3322
|
+
def Math_Functions_arccos(x):
|
3323
3323
|
r"""
|
3324
|
-
|
3324
|
+
Math_Functions_arccos(double x) -> double
|
3325
3325
|
|
3326
3326
|
Parameters
|
3327
3327
|
----------
|
3328
3328
|
x: double
|
3329
3329
|
|
3330
3330
|
"""
|
3331
|
-
return _MathSwig.
|
3331
|
+
return _MathSwig.Math_Functions_arccos(x)
|
3332
3332
|
|
3333
|
-
def
|
3333
|
+
def Math_Functions_arctan(x):
|
3334
3334
|
r"""
|
3335
|
-
|
3335
|
+
Math_Functions_arctan(double x) -> double
|
3336
3336
|
|
3337
3337
|
Parameters
|
3338
3338
|
----------
|
3339
3339
|
x: double
|
3340
3340
|
|
3341
3341
|
"""
|
3342
|
-
return _MathSwig.
|
3342
|
+
return _MathSwig.Math_Functions_arctan(x)
|
3343
3343
|
|
3344
|
-
def
|
3344
|
+
def Math_Functions_arctan2(x, y):
|
3345
3345
|
r"""
|
3346
|
-
|
3346
|
+
Math_Functions_arctan2(double x, double y) -> double
|
3347
3347
|
|
3348
3348
|
Parameters
|
3349
3349
|
----------
|
@@ -3351,22 +3351,22 @@ def Functions_arctan2(x, y):
|
|
3351
3351
|
y: double
|
3352
3352
|
|
3353
3353
|
"""
|
3354
|
-
return _MathSwig.
|
3354
|
+
return _MathSwig.Math_Functions_arctan2(x, y)
|
3355
3355
|
|
3356
|
-
def
|
3356
|
+
def Math_Functions_sqrt(values):
|
3357
3357
|
r"""
|
3358
|
-
|
3358
|
+
Math_Functions_sqrt(double values) -> double
|
3359
3359
|
|
3360
3360
|
Parameters
|
3361
3361
|
----------
|
3362
3362
|
values: double
|
3363
3363
|
|
3364
3364
|
"""
|
3365
|
-
return _MathSwig.
|
3365
|
+
return _MathSwig.Math_Functions_sqrt(values)
|
3366
3366
|
|
3367
|
-
def
|
3367
|
+
def Math_Functions_pow(base, exponent):
|
3368
3368
|
r"""
|
3369
|
-
|
3369
|
+
Math_Functions_pow(double base, double exponent) -> double
|
3370
3370
|
|
3371
3371
|
Parameters
|
3372
3372
|
----------
|
@@ -3374,77 +3374,77 @@ def Functions_pow(base, exponent):
|
|
3374
3374
|
exponent: double
|
3375
3375
|
|
3376
3376
|
"""
|
3377
|
-
return _MathSwig.
|
3377
|
+
return _MathSwig.Math_Functions_pow(base, exponent)
|
3378
3378
|
|
3379
|
-
def
|
3379
|
+
def Math_Functions_mean(values):
|
3380
3380
|
r"""
|
3381
|
-
|
3381
|
+
Math_Functions_mean(DoubleVector values) -> double
|
3382
3382
|
|
3383
3383
|
Parameters
|
3384
3384
|
----------
|
3385
3385
|
values: std::vector< double,std::allocator< double > >
|
3386
3386
|
|
3387
3387
|
"""
|
3388
|
-
return _MathSwig.
|
3388
|
+
return _MathSwig.Math_Functions_mean(values)
|
3389
3389
|
|
3390
|
-
def
|
3390
|
+
def Math_Functions_median(values):
|
3391
3391
|
r"""
|
3392
|
-
|
3392
|
+
Math_Functions_median(DoubleVector values) -> double
|
3393
3393
|
|
3394
3394
|
Parameters
|
3395
3395
|
----------
|
3396
3396
|
values: std::vector< double,std::allocator< double > >
|
3397
3397
|
|
3398
3398
|
"""
|
3399
|
-
return _MathSwig.
|
3399
|
+
return _MathSwig.Math_Functions_median(values)
|
3400
3400
|
|
3401
|
-
def
|
3401
|
+
def Math_Functions_harmonic_mean(values):
|
3402
3402
|
r"""
|
3403
|
-
|
3403
|
+
Math_Functions_harmonic_mean(DoubleVector values) -> double
|
3404
3404
|
|
3405
3405
|
Parameters
|
3406
3406
|
----------
|
3407
3407
|
values: std::vector< double,std::allocator< double > >
|
3408
3408
|
|
3409
3409
|
"""
|
3410
|
-
return _MathSwig.
|
3410
|
+
return _MathSwig.Math_Functions_harmonic_mean(values)
|
3411
3411
|
|
3412
|
-
def
|
3412
|
+
def Math_Functions_min(values):
|
3413
3413
|
r"""
|
3414
|
-
|
3414
|
+
Math_Functions_min(DoubleVector values) -> double
|
3415
3415
|
|
3416
3416
|
Parameters
|
3417
3417
|
----------
|
3418
3418
|
values: std::vector< double,std::allocator< double > >
|
3419
3419
|
|
3420
3420
|
"""
|
3421
|
-
return _MathSwig.
|
3421
|
+
return _MathSwig.Math_Functions_min(values)
|
3422
3422
|
|
3423
|
-
def
|
3423
|
+
def Math_Functions_max(values):
|
3424
3424
|
r"""
|
3425
|
-
|
3425
|
+
Math_Functions_max(DoubleVector values) -> double
|
3426
3426
|
|
3427
3427
|
Parameters
|
3428
3428
|
----------
|
3429
3429
|
values: std::vector< double,std::allocator< double > >
|
3430
3430
|
|
3431
3431
|
"""
|
3432
|
-
return _MathSwig.
|
3432
|
+
return _MathSwig.Math_Functions_max(values)
|
3433
3433
|
|
3434
|
-
def
|
3434
|
+
def Math_Functions_sum(values):
|
3435
3435
|
r"""
|
3436
|
-
|
3436
|
+
Math_Functions_sum(DoubleVector values) -> double
|
3437
3437
|
|
3438
3438
|
Parameters
|
3439
3439
|
----------
|
3440
3440
|
values: std::vector< double,std::allocator< double > >
|
3441
3441
|
|
3442
3442
|
"""
|
3443
|
-
return _MathSwig.
|
3443
|
+
return _MathSwig.Math_Functions_sum(values)
|
3444
3444
|
|
3445
|
-
def
|
3445
|
+
def Math_Functions_equals_approx(value, reference):
|
3446
3446
|
r"""
|
3447
|
-
|
3447
|
+
Math_Functions_equals_approx(double value, double reference) -> bool
|
3448
3448
|
|
3449
3449
|
Parameters
|
3450
3450
|
----------
|
@@ -3452,33 +3452,33 @@ def Functions_equals_approx(value, reference):
|
|
3452
3452
|
reference: double
|
3453
3453
|
|
3454
3454
|
"""
|
3455
|
-
return _MathSwig.
|
3455
|
+
return _MathSwig.Math_Functions_equals_approx(value, reference)
|
3456
3456
|
|
3457
|
-
def
|
3458
|
-
r"""
|
3459
|
-
return _MathSwig.
|
3457
|
+
def Math_Functions_inf():
|
3458
|
+
r"""Math_Functions_inf() -> double"""
|
3459
|
+
return _MathSwig.Math_Functions_inf()
|
3460
3460
|
|
3461
|
-
def
|
3462
|
-
r"""
|
3463
|
-
return _MathSwig.
|
3461
|
+
def Math_Functions_neg_inf():
|
3462
|
+
r"""Math_Functions_neg_inf() -> double"""
|
3463
|
+
return _MathSwig.Math_Functions_neg_inf()
|
3464
3464
|
|
3465
|
-
class
|
3465
|
+
class Math_Line(openplx.Core.Object):
|
3466
3466
|
r"""Proxy of C++ openplx::Math::Line class."""
|
3467
3467
|
|
3468
3468
|
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
3469
3469
|
__repr__ = _swig_repr
|
3470
3470
|
|
3471
3471
|
def __init__(self):
|
3472
|
-
r"""__init__(
|
3473
|
-
_MathSwig.
|
3472
|
+
r"""__init__(Math_Line self) -> Math_Line"""
|
3473
|
+
_MathSwig.Math_Line_swiginit(self, _MathSwig.new_Math_Line())
|
3474
3474
|
|
3475
3475
|
def start(self):
|
3476
|
-
r"""start(
|
3477
|
-
return _MathSwig.
|
3476
|
+
r"""start(Math_Line self) -> std::shared_ptr< openplx::Math::Vec3 >"""
|
3477
|
+
return _MathSwig.Math_Line_start(self)
|
3478
3478
|
|
3479
3479
|
def end(self):
|
3480
|
-
r"""end(
|
3481
|
-
return _MathSwig.
|
3480
|
+
r"""end(Math_Line self) -> std::shared_ptr< openplx::Math::Vec3 >"""
|
3481
|
+
return _MathSwig.Math_Line_end(self)
|
3482
3482
|
|
3483
3483
|
@staticmethod
|
3484
3484
|
def from_points(start, end):
|
@@ -3491,11 +3491,11 @@ class Line(openplx.Core.Object):
|
|
3491
3491
|
end: std::shared_ptr< openplx::Math::Vec3 >
|
3492
3492
|
|
3493
3493
|
"""
|
3494
|
-
return _MathSwig.
|
3494
|
+
return _MathSwig.Math_Line_from_points(start, end)
|
3495
3495
|
|
3496
3496
|
def setDynamic(self, key, value):
|
3497
3497
|
r"""
|
3498
|
-
setDynamic(
|
3498
|
+
setDynamic(Math_Line self, std::string const & key, Any value)
|
3499
3499
|
|
3500
3500
|
Parameters
|
3501
3501
|
----------
|
@@ -3503,22 +3503,22 @@ class Line(openplx.Core.Object):
|
|
3503
3503
|
value: openplx::Core::Any &&
|
3504
3504
|
|
3505
3505
|
"""
|
3506
|
-
return _MathSwig.
|
3506
|
+
return _MathSwig.Math_Line_setDynamic(self, key, value)
|
3507
3507
|
|
3508
3508
|
def getDynamic(self, key):
|
3509
3509
|
r"""
|
3510
|
-
getDynamic(
|
3510
|
+
getDynamic(Math_Line self, std::string const & key) -> Any
|
3511
3511
|
|
3512
3512
|
Parameters
|
3513
3513
|
----------
|
3514
3514
|
key: std::string const &
|
3515
3515
|
|
3516
3516
|
"""
|
3517
|
-
return _MathSwig.
|
3517
|
+
return _MathSwig.Math_Line_getDynamic(self, key)
|
3518
3518
|
|
3519
3519
|
def callDynamic(self, key, args):
|
3520
3520
|
r"""
|
3521
|
-
callDynamic(
|
3521
|
+
callDynamic(Math_Line self, std::string const & key, AnyVector args) -> Any
|
3522
3522
|
|
3523
3523
|
Parameters
|
3524
3524
|
----------
|
@@ -3526,48 +3526,48 @@ class Line(openplx.Core.Object):
|
|
3526
3526
|
args: std::vector< openplx::Core::Any,std::allocator< openplx::Core::Any > > const &
|
3527
3527
|
|
3528
3528
|
"""
|
3529
|
-
return _MathSwig.
|
3529
|
+
return _MathSwig.Math_Line_callDynamic(self, key, args)
|
3530
3530
|
|
3531
3531
|
def extractObjectFieldsTo(self, output):
|
3532
3532
|
r"""
|
3533
|
-
extractObjectFieldsTo(
|
3533
|
+
extractObjectFieldsTo(Math_Line self, ObjectVector output)
|
3534
3534
|
|
3535
3535
|
Parameters
|
3536
3536
|
----------
|
3537
3537
|
output: std::vector< std::shared_ptr< openplx::Core::Object >,std::allocator< std::shared_ptr< openplx::Core::Object > > > &
|
3538
3538
|
|
3539
3539
|
"""
|
3540
|
-
return _MathSwig.
|
3540
|
+
return _MathSwig.Math_Line_extractObjectFieldsTo(self, output)
|
3541
3541
|
|
3542
3542
|
def extractEntriesTo(self, output):
|
3543
3543
|
r"""
|
3544
|
-
extractEntriesTo(
|
3544
|
+
extractEntriesTo(Math_Line self, std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > & output)
|
3545
3545
|
|
3546
3546
|
Parameters
|
3547
3547
|
----------
|
3548
3548
|
output: std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > &
|
3549
3549
|
|
3550
3550
|
"""
|
3551
|
-
return _MathSwig.
|
3551
|
+
return _MathSwig.Math_Line_extractEntriesTo(self, output)
|
3552
3552
|
|
3553
3553
|
def triggerOnInit(self, context):
|
3554
3554
|
r"""
|
3555
|
-
triggerOnInit(
|
3555
|
+
triggerOnInit(Math_Line self, openplx::RuntimeContext const & context)
|
3556
3556
|
|
3557
3557
|
Parameters
|
3558
3558
|
----------
|
3559
3559
|
context: openplx::RuntimeContext const &
|
3560
3560
|
|
3561
3561
|
"""
|
3562
|
-
return _MathSwig.
|
3563
|
-
__swig_destroy__ = _MathSwig.
|
3562
|
+
return _MathSwig.Math_Line_triggerOnInit(self, context)
|
3563
|
+
__swig_destroy__ = _MathSwig.delete_Math_Line
|
3564
3564
|
|
3565
|
-
# Register
|
3566
|
-
_MathSwig.
|
3565
|
+
# Register Math_Line in _MathSwig:
|
3566
|
+
_MathSwig.Math_Line_swigregister(Math_Line)
|
3567
3567
|
|
3568
|
-
def
|
3568
|
+
def Math_Line_from_points(start, end):
|
3569
3569
|
r"""
|
3570
|
-
|
3570
|
+
Math_Line_from_points(std::shared_ptr< openplx::Math::Vec3 > start, std::shared_ptr< openplx::Math::Vec3 > end) -> std::shared_ptr< openplx::Math::Line >
|
3571
3571
|
|
3572
3572
|
Parameters
|
3573
3573
|
----------
|
@@ -3575,53 +3575,53 @@ def Line_from_points(start, end):
|
|
3575
3575
|
end: std::shared_ptr< openplx::Math::Vec3 >
|
3576
3576
|
|
3577
3577
|
"""
|
3578
|
-
return _MathSwig.
|
3578
|
+
return _MathSwig.Math_Line_from_points(start, end)
|
3579
3579
|
|
3580
|
-
class
|
3580
|
+
class Math_Matrix3x3(openplx.Core.Object):
|
3581
3581
|
r"""Proxy of C++ openplx::Math::Matrix3x3 class."""
|
3582
3582
|
|
3583
3583
|
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
3584
3584
|
__repr__ = _swig_repr
|
3585
3585
|
|
3586
3586
|
def __init__(self):
|
3587
|
-
r"""__init__(
|
3588
|
-
_MathSwig.
|
3587
|
+
r"""__init__(Math_Matrix3x3 self) -> Math_Matrix3x3"""
|
3588
|
+
_MathSwig.Math_Matrix3x3_swiginit(self, _MathSwig.new_Math_Matrix3x3())
|
3589
3589
|
|
3590
3590
|
def e00(self):
|
3591
|
-
r"""e00(
|
3592
|
-
return _MathSwig.
|
3591
|
+
r"""e00(Math_Matrix3x3 self) -> double"""
|
3592
|
+
return _MathSwig.Math_Matrix3x3_e00(self)
|
3593
3593
|
|
3594
3594
|
def e01(self):
|
3595
|
-
r"""e01(
|
3596
|
-
return _MathSwig.
|
3595
|
+
r"""e01(Math_Matrix3x3 self) -> double"""
|
3596
|
+
return _MathSwig.Math_Matrix3x3_e01(self)
|
3597
3597
|
|
3598
3598
|
def e02(self):
|
3599
|
-
r"""e02(
|
3600
|
-
return _MathSwig.
|
3599
|
+
r"""e02(Math_Matrix3x3 self) -> double"""
|
3600
|
+
return _MathSwig.Math_Matrix3x3_e02(self)
|
3601
3601
|
|
3602
3602
|
def e10(self):
|
3603
|
-
r"""e10(
|
3604
|
-
return _MathSwig.
|
3603
|
+
r"""e10(Math_Matrix3x3 self) -> double"""
|
3604
|
+
return _MathSwig.Math_Matrix3x3_e10(self)
|
3605
3605
|
|
3606
3606
|
def e11(self):
|
3607
|
-
r"""e11(
|
3608
|
-
return _MathSwig.
|
3607
|
+
r"""e11(Math_Matrix3x3 self) -> double"""
|
3608
|
+
return _MathSwig.Math_Matrix3x3_e11(self)
|
3609
3609
|
|
3610
3610
|
def e12(self):
|
3611
|
-
r"""e12(
|
3612
|
-
return _MathSwig.
|
3611
|
+
r"""e12(Math_Matrix3x3 self) -> double"""
|
3612
|
+
return _MathSwig.Math_Matrix3x3_e12(self)
|
3613
3613
|
|
3614
3614
|
def e20(self):
|
3615
|
-
r"""e20(
|
3616
|
-
return _MathSwig.
|
3615
|
+
r"""e20(Math_Matrix3x3 self) -> double"""
|
3616
|
+
return _MathSwig.Math_Matrix3x3_e20(self)
|
3617
3617
|
|
3618
3618
|
def e21(self):
|
3619
|
-
r"""e21(
|
3620
|
-
return _MathSwig.
|
3619
|
+
r"""e21(Math_Matrix3x3 self) -> double"""
|
3620
|
+
return _MathSwig.Math_Matrix3x3_e21(self)
|
3621
3621
|
|
3622
3622
|
def e22(self):
|
3623
|
-
r"""e22(
|
3624
|
-
return _MathSwig.
|
3623
|
+
r"""e22(Math_Matrix3x3 self) -> double"""
|
3624
|
+
return _MathSwig.Math_Matrix3x3_e22(self)
|
3625
3625
|
|
3626
3626
|
@staticmethod
|
3627
3627
|
def from_row_major(r0c0, r0c1, r0c2, r1c0, r1c1, r1c2, r2c0, r2c1, r2c2):
|
@@ -3641,7 +3641,7 @@ class Matrix3x3(openplx.Core.Object):
|
|
3641
3641
|
r2c2: double
|
3642
3642
|
|
3643
3643
|
"""
|
3644
|
-
return _MathSwig.
|
3644
|
+
return _MathSwig.Math_Matrix3x3_from_row_major(r0c0, r0c1, r0c2, r1c0, r1c1, r1c2, r2c0, r2c1, r2c2)
|
3645
3645
|
|
3646
3646
|
@staticmethod
|
3647
3647
|
def from_rows(r0, r1, r2):
|
@@ -3655,7 +3655,7 @@ class Matrix3x3(openplx.Core.Object):
|
|
3655
3655
|
r2: std::vector< double,std::allocator< double > >
|
3656
3656
|
|
3657
3657
|
"""
|
3658
|
-
return _MathSwig.
|
3658
|
+
return _MathSwig.Math_Matrix3x3_from_rows(r0, r1, r2)
|
3659
3659
|
|
3660
3660
|
@staticmethod
|
3661
3661
|
def from_columns(c0, c1, c2):
|
@@ -3669,7 +3669,7 @@ class Matrix3x3(openplx.Core.Object):
|
|
3669
3669
|
c2: std::vector< double,std::allocator< double > >
|
3670
3670
|
|
3671
3671
|
"""
|
3672
|
-
return _MathSwig.
|
3672
|
+
return _MathSwig.Math_Matrix3x3_from_columns(c0, c1, c2)
|
3673
3673
|
|
3674
3674
|
@staticmethod
|
3675
3675
|
def diag(x, y, z):
|
@@ -3683,11 +3683,11 @@ class Matrix3x3(openplx.Core.Object):
|
|
3683
3683
|
z: double
|
3684
3684
|
|
3685
3685
|
"""
|
3686
|
-
return _MathSwig.
|
3686
|
+
return _MathSwig.Math_Matrix3x3_diag(x, y, z)
|
3687
3687
|
|
3688
3688
|
def setDynamic(self, key, value):
|
3689
3689
|
r"""
|
3690
|
-
setDynamic(
|
3690
|
+
setDynamic(Math_Matrix3x3 self, std::string const & key, Any value)
|
3691
3691
|
|
3692
3692
|
Parameters
|
3693
3693
|
----------
|
@@ -3695,22 +3695,22 @@ class Matrix3x3(openplx.Core.Object):
|
|
3695
3695
|
value: openplx::Core::Any &&
|
3696
3696
|
|
3697
3697
|
"""
|
3698
|
-
return _MathSwig.
|
3698
|
+
return _MathSwig.Math_Matrix3x3_setDynamic(self, key, value)
|
3699
3699
|
|
3700
3700
|
def getDynamic(self, key):
|
3701
3701
|
r"""
|
3702
|
-
getDynamic(
|
3702
|
+
getDynamic(Math_Matrix3x3 self, std::string const & key) -> Any
|
3703
3703
|
|
3704
3704
|
Parameters
|
3705
3705
|
----------
|
3706
3706
|
key: std::string const &
|
3707
3707
|
|
3708
3708
|
"""
|
3709
|
-
return _MathSwig.
|
3709
|
+
return _MathSwig.Math_Matrix3x3_getDynamic(self, key)
|
3710
3710
|
|
3711
3711
|
def callDynamic(self, key, args):
|
3712
3712
|
r"""
|
3713
|
-
callDynamic(
|
3713
|
+
callDynamic(Math_Matrix3x3 self, std::string const & key, AnyVector args) -> Any
|
3714
3714
|
|
3715
3715
|
Parameters
|
3716
3716
|
----------
|
@@ -3718,48 +3718,48 @@ class Matrix3x3(openplx.Core.Object):
|
|
3718
3718
|
args: std::vector< openplx::Core::Any,std::allocator< openplx::Core::Any > > const &
|
3719
3719
|
|
3720
3720
|
"""
|
3721
|
-
return _MathSwig.
|
3721
|
+
return _MathSwig.Math_Matrix3x3_callDynamic(self, key, args)
|
3722
3722
|
|
3723
3723
|
def extractObjectFieldsTo(self, output):
|
3724
3724
|
r"""
|
3725
|
-
extractObjectFieldsTo(
|
3725
|
+
extractObjectFieldsTo(Math_Matrix3x3 self, ObjectVector output)
|
3726
3726
|
|
3727
3727
|
Parameters
|
3728
3728
|
----------
|
3729
3729
|
output: std::vector< std::shared_ptr< openplx::Core::Object >,std::allocator< std::shared_ptr< openplx::Core::Object > > > &
|
3730
3730
|
|
3731
3731
|
"""
|
3732
|
-
return _MathSwig.
|
3732
|
+
return _MathSwig.Math_Matrix3x3_extractObjectFieldsTo(self, output)
|
3733
3733
|
|
3734
3734
|
def extractEntriesTo(self, output):
|
3735
3735
|
r"""
|
3736
|
-
extractEntriesTo(
|
3736
|
+
extractEntriesTo(Math_Matrix3x3 self, std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > & output)
|
3737
3737
|
|
3738
3738
|
Parameters
|
3739
3739
|
----------
|
3740
3740
|
output: std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > &
|
3741
3741
|
|
3742
3742
|
"""
|
3743
|
-
return _MathSwig.
|
3743
|
+
return _MathSwig.Math_Matrix3x3_extractEntriesTo(self, output)
|
3744
3744
|
|
3745
3745
|
def triggerOnInit(self, context):
|
3746
3746
|
r"""
|
3747
|
-
triggerOnInit(
|
3747
|
+
triggerOnInit(Math_Matrix3x3 self, openplx::RuntimeContext const & context)
|
3748
3748
|
|
3749
3749
|
Parameters
|
3750
3750
|
----------
|
3751
3751
|
context: openplx::RuntimeContext const &
|
3752
3752
|
|
3753
3753
|
"""
|
3754
|
-
return _MathSwig.
|
3755
|
-
__swig_destroy__ = _MathSwig.
|
3754
|
+
return _MathSwig.Math_Matrix3x3_triggerOnInit(self, context)
|
3755
|
+
__swig_destroy__ = _MathSwig.delete_Math_Matrix3x3
|
3756
3756
|
|
3757
|
-
# Register
|
3758
|
-
_MathSwig.
|
3757
|
+
# Register Math_Matrix3x3 in _MathSwig:
|
3758
|
+
_MathSwig.Math_Matrix3x3_swigregister(Math_Matrix3x3)
|
3759
3759
|
|
3760
|
-
def
|
3760
|
+
def Math_Matrix3x3_from_row_major(r0c0, r0c1, r0c2, r1c0, r1c1, r1c2, r2c0, r2c1, r2c2):
|
3761
3761
|
r"""
|
3762
|
-
|
3762
|
+
Math_Matrix3x3_from_row_major(double r0c0, double r0c1, double r0c2, double r1c0, double r1c1, double r1c2, double r2c0, double r2c1, double r2c2) -> std::shared_ptr< openplx::Math::Matrix3x3 >
|
3763
3763
|
|
3764
3764
|
Parameters
|
3765
3765
|
----------
|
@@ -3774,11 +3774,11 @@ def Matrix3x3_from_row_major(r0c0, r0c1, r0c2, r1c0, r1c1, r1c2, r2c0, r2c1, r2c
|
|
3774
3774
|
r2c2: double
|
3775
3775
|
|
3776
3776
|
"""
|
3777
|
-
return _MathSwig.
|
3777
|
+
return _MathSwig.Math_Matrix3x3_from_row_major(r0c0, r0c1, r0c2, r1c0, r1c1, r1c2, r2c0, r2c1, r2c2)
|
3778
3778
|
|
3779
|
-
def
|
3779
|
+
def Math_Matrix3x3_from_rows(r0, r1, r2):
|
3780
3780
|
r"""
|
3781
|
-
|
3781
|
+
Math_Matrix3x3_from_rows(DoubleVector r0, DoubleVector r1, DoubleVector r2) -> std::shared_ptr< openplx::Math::Matrix3x3 >
|
3782
3782
|
|
3783
3783
|
Parameters
|
3784
3784
|
----------
|
@@ -3787,11 +3787,11 @@ def Matrix3x3_from_rows(r0, r1, r2):
|
|
3787
3787
|
r2: std::vector< double,std::allocator< double > >
|
3788
3788
|
|
3789
3789
|
"""
|
3790
|
-
return _MathSwig.
|
3790
|
+
return _MathSwig.Math_Matrix3x3_from_rows(r0, r1, r2)
|
3791
3791
|
|
3792
|
-
def
|
3792
|
+
def Math_Matrix3x3_from_columns(c0, c1, c2):
|
3793
3793
|
r"""
|
3794
|
-
|
3794
|
+
Math_Matrix3x3_from_columns(DoubleVector c0, DoubleVector c1, DoubleVector c2) -> std::shared_ptr< openplx::Math::Matrix3x3 >
|
3795
3795
|
|
3796
3796
|
Parameters
|
3797
3797
|
----------
|
@@ -3800,11 +3800,11 @@ def Matrix3x3_from_columns(c0, c1, c2):
|
|
3800
3800
|
c2: std::vector< double,std::allocator< double > >
|
3801
3801
|
|
3802
3802
|
"""
|
3803
|
-
return _MathSwig.
|
3803
|
+
return _MathSwig.Math_Matrix3x3_from_columns(c0, c1, c2)
|
3804
3804
|
|
3805
|
-
def
|
3805
|
+
def Math_Matrix3x3_diag(x, y, z):
|
3806
3806
|
r"""
|
3807
|
-
|
3807
|
+
Math_Matrix3x3_diag(double x, double y, double z) -> std::shared_ptr< openplx::Math::Matrix3x3 >
|
3808
3808
|
|
3809
3809
|
Parameters
|
3810
3810
|
----------
|
@@ -3813,81 +3813,81 @@ def Matrix3x3_diag(x, y, z):
|
|
3813
3813
|
z: double
|
3814
3814
|
|
3815
3815
|
"""
|
3816
|
-
return _MathSwig.
|
3816
|
+
return _MathSwig.Math_Matrix3x3_diag(x, y, z)
|
3817
3817
|
|
3818
|
-
class
|
3818
|
+
class Math_Matrix4x4(openplx.Core.Object):
|
3819
3819
|
r"""Proxy of C++ openplx::Math::Matrix4x4 class."""
|
3820
3820
|
|
3821
3821
|
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
3822
3822
|
__repr__ = _swig_repr
|
3823
3823
|
|
3824
3824
|
def __init__(self):
|
3825
|
-
r"""__init__(
|
3826
|
-
_MathSwig.
|
3825
|
+
r"""__init__(Math_Matrix4x4 self) -> Math_Matrix4x4"""
|
3826
|
+
_MathSwig.Math_Matrix4x4_swiginit(self, _MathSwig.new_Math_Matrix4x4())
|
3827
3827
|
|
3828
3828
|
def e00(self):
|
3829
|
-
r"""e00(
|
3830
|
-
return _MathSwig.
|
3829
|
+
r"""e00(Math_Matrix4x4 self) -> double"""
|
3830
|
+
return _MathSwig.Math_Matrix4x4_e00(self)
|
3831
3831
|
|
3832
3832
|
def e01(self):
|
3833
|
-
r"""e01(
|
3834
|
-
return _MathSwig.
|
3833
|
+
r"""e01(Math_Matrix4x4 self) -> double"""
|
3834
|
+
return _MathSwig.Math_Matrix4x4_e01(self)
|
3835
3835
|
|
3836
3836
|
def e02(self):
|
3837
|
-
r"""e02(
|
3838
|
-
return _MathSwig.
|
3837
|
+
r"""e02(Math_Matrix4x4 self) -> double"""
|
3838
|
+
return _MathSwig.Math_Matrix4x4_e02(self)
|
3839
3839
|
|
3840
3840
|
def e03(self):
|
3841
|
-
r"""e03(
|
3842
|
-
return _MathSwig.
|
3841
|
+
r"""e03(Math_Matrix4x4 self) -> double"""
|
3842
|
+
return _MathSwig.Math_Matrix4x4_e03(self)
|
3843
3843
|
|
3844
3844
|
def e10(self):
|
3845
|
-
r"""e10(
|
3846
|
-
return _MathSwig.
|
3845
|
+
r"""e10(Math_Matrix4x4 self) -> double"""
|
3846
|
+
return _MathSwig.Math_Matrix4x4_e10(self)
|
3847
3847
|
|
3848
3848
|
def e11(self):
|
3849
|
-
r"""e11(
|
3850
|
-
return _MathSwig.
|
3849
|
+
r"""e11(Math_Matrix4x4 self) -> double"""
|
3850
|
+
return _MathSwig.Math_Matrix4x4_e11(self)
|
3851
3851
|
|
3852
3852
|
def e12(self):
|
3853
|
-
r"""e12(
|
3854
|
-
return _MathSwig.
|
3853
|
+
r"""e12(Math_Matrix4x4 self) -> double"""
|
3854
|
+
return _MathSwig.Math_Matrix4x4_e12(self)
|
3855
3855
|
|
3856
3856
|
def e13(self):
|
3857
|
-
r"""e13(
|
3858
|
-
return _MathSwig.
|
3857
|
+
r"""e13(Math_Matrix4x4 self) -> double"""
|
3858
|
+
return _MathSwig.Math_Matrix4x4_e13(self)
|
3859
3859
|
|
3860
3860
|
def e20(self):
|
3861
|
-
r"""e20(
|
3862
|
-
return _MathSwig.
|
3861
|
+
r"""e20(Math_Matrix4x4 self) -> double"""
|
3862
|
+
return _MathSwig.Math_Matrix4x4_e20(self)
|
3863
3863
|
|
3864
3864
|
def e21(self):
|
3865
|
-
r"""e21(
|
3866
|
-
return _MathSwig.
|
3865
|
+
r"""e21(Math_Matrix4x4 self) -> double"""
|
3866
|
+
return _MathSwig.Math_Matrix4x4_e21(self)
|
3867
3867
|
|
3868
3868
|
def e22(self):
|
3869
|
-
r"""e22(
|
3870
|
-
return _MathSwig.
|
3869
|
+
r"""e22(Math_Matrix4x4 self) -> double"""
|
3870
|
+
return _MathSwig.Math_Matrix4x4_e22(self)
|
3871
3871
|
|
3872
3872
|
def e23(self):
|
3873
|
-
r"""e23(
|
3874
|
-
return _MathSwig.
|
3873
|
+
r"""e23(Math_Matrix4x4 self) -> double"""
|
3874
|
+
return _MathSwig.Math_Matrix4x4_e23(self)
|
3875
3875
|
|
3876
3876
|
def e30(self):
|
3877
|
-
r"""e30(
|
3878
|
-
return _MathSwig.
|
3877
|
+
r"""e30(Math_Matrix4x4 self) -> double"""
|
3878
|
+
return _MathSwig.Math_Matrix4x4_e30(self)
|
3879
3879
|
|
3880
3880
|
def e31(self):
|
3881
|
-
r"""e31(
|
3882
|
-
return _MathSwig.
|
3881
|
+
r"""e31(Math_Matrix4x4 self) -> double"""
|
3882
|
+
return _MathSwig.Math_Matrix4x4_e31(self)
|
3883
3883
|
|
3884
3884
|
def e32(self):
|
3885
|
-
r"""e32(
|
3886
|
-
return _MathSwig.
|
3885
|
+
r"""e32(Math_Matrix4x4 self) -> double"""
|
3886
|
+
return _MathSwig.Math_Matrix4x4_e32(self)
|
3887
3887
|
|
3888
3888
|
def e33(self):
|
3889
|
-
r"""e33(
|
3890
|
-
return _MathSwig.
|
3889
|
+
r"""e33(Math_Matrix4x4 self) -> double"""
|
3890
|
+
return _MathSwig.Math_Matrix4x4_e33(self)
|
3891
3891
|
|
3892
3892
|
@staticmethod
|
3893
3893
|
def from_row_major(r0c0, r0c1, r0c2, r0c3, r1c0, r1c1, r1c2, r1c3, r2c0, r2c1, r2c2, r2c3, r3c0, r3c1, r3c2, r3c3):
|
@@ -3914,7 +3914,7 @@ class Matrix4x4(openplx.Core.Object):
|
|
3914
3914
|
r3c3: double
|
3915
3915
|
|
3916
3916
|
"""
|
3917
|
-
return _MathSwig.
|
3917
|
+
return _MathSwig.Math_Matrix4x4_from_row_major(r0c0, r0c1, r0c2, r0c3, r1c0, r1c1, r1c2, r1c3, r2c0, r2c1, r2c2, r2c3, r3c0, r3c1, r3c2, r3c3)
|
3918
3918
|
|
3919
3919
|
@staticmethod
|
3920
3920
|
def from_rows(r0, r1, r2, r3):
|
@@ -3929,7 +3929,7 @@ class Matrix4x4(openplx.Core.Object):
|
|
3929
3929
|
r3: std::vector< double,std::allocator< double > >
|
3930
3930
|
|
3931
3931
|
"""
|
3932
|
-
return _MathSwig.
|
3932
|
+
return _MathSwig.Math_Matrix4x4_from_rows(r0, r1, r2, r3)
|
3933
3933
|
|
3934
3934
|
@staticmethod
|
3935
3935
|
def from_columns(c0, c1, c2, c3):
|
@@ -3944,7 +3944,7 @@ class Matrix4x4(openplx.Core.Object):
|
|
3944
3944
|
c3: std::vector< double,std::allocator< double > >
|
3945
3945
|
|
3946
3946
|
"""
|
3947
|
-
return _MathSwig.
|
3947
|
+
return _MathSwig.Math_Matrix4x4_from_columns(c0, c1, c2, c3)
|
3948
3948
|
|
3949
3949
|
@staticmethod
|
3950
3950
|
def from_vec3_quat(v, q):
|
@@ -3957,27 +3957,27 @@ class Matrix4x4(openplx.Core.Object):
|
|
3957
3957
|
q: std::shared_ptr< openplx::Math::Quat >
|
3958
3958
|
|
3959
3959
|
"""
|
3960
|
-
return _MathSwig.
|
3960
|
+
return _MathSwig.Math_Matrix4x4_from_vec3_quat(v, q)
|
3961
3961
|
|
3962
3962
|
def transpose(self):
|
3963
|
-
r"""transpose(
|
3964
|
-
return _MathSwig.
|
3963
|
+
r"""transpose(Math_Matrix4x4 self) -> std::shared_ptr< openplx::Math::Matrix4x4 >"""
|
3964
|
+
return _MathSwig.Math_Matrix4x4_transpose(self)
|
3965
3965
|
|
3966
3966
|
def copy(self):
|
3967
|
-
r"""copy(
|
3968
|
-
return _MathSwig.
|
3967
|
+
r"""copy(Math_Matrix4x4 self) -> std::shared_ptr< openplx::Math::Matrix4x4 >"""
|
3968
|
+
return _MathSwig.Math_Matrix4x4_copy(self)
|
3969
3969
|
|
3970
3970
|
def get_affine_translation(self):
|
3971
|
-
r"""get_affine_translation(
|
3972
|
-
return _MathSwig.
|
3971
|
+
r"""get_affine_translation(Math_Matrix4x4 self) -> std::shared_ptr< openplx::Math::Vec3 >"""
|
3972
|
+
return _MathSwig.Math_Matrix4x4_get_affine_translation(self)
|
3973
3973
|
|
3974
3974
|
def get_affine_rotation(self):
|
3975
|
-
r"""get_affine_rotation(
|
3976
|
-
return _MathSwig.
|
3975
|
+
r"""get_affine_rotation(Math_Matrix4x4 self) -> std::shared_ptr< openplx::Math::Quat >"""
|
3976
|
+
return _MathSwig.Math_Matrix4x4_get_affine_rotation(self)
|
3977
3977
|
|
3978
3978
|
def setDynamic(self, key, value):
|
3979
3979
|
r"""
|
3980
|
-
setDynamic(
|
3980
|
+
setDynamic(Math_Matrix4x4 self, std::string const & key, Any value)
|
3981
3981
|
|
3982
3982
|
Parameters
|
3983
3983
|
----------
|
@@ -3985,22 +3985,22 @@ class Matrix4x4(openplx.Core.Object):
|
|
3985
3985
|
value: openplx::Core::Any &&
|
3986
3986
|
|
3987
3987
|
"""
|
3988
|
-
return _MathSwig.
|
3988
|
+
return _MathSwig.Math_Matrix4x4_setDynamic(self, key, value)
|
3989
3989
|
|
3990
3990
|
def getDynamic(self, key):
|
3991
3991
|
r"""
|
3992
|
-
getDynamic(
|
3992
|
+
getDynamic(Math_Matrix4x4 self, std::string const & key) -> Any
|
3993
3993
|
|
3994
3994
|
Parameters
|
3995
3995
|
----------
|
3996
3996
|
key: std::string const &
|
3997
3997
|
|
3998
3998
|
"""
|
3999
|
-
return _MathSwig.
|
3999
|
+
return _MathSwig.Math_Matrix4x4_getDynamic(self, key)
|
4000
4000
|
|
4001
4001
|
def callDynamic(self, key, args):
|
4002
4002
|
r"""
|
4003
|
-
callDynamic(
|
4003
|
+
callDynamic(Math_Matrix4x4 self, std::string const & key, AnyVector args) -> Any
|
4004
4004
|
|
4005
4005
|
Parameters
|
4006
4006
|
----------
|
@@ -4008,48 +4008,48 @@ class Matrix4x4(openplx.Core.Object):
|
|
4008
4008
|
args: std::vector< openplx::Core::Any,std::allocator< openplx::Core::Any > > const &
|
4009
4009
|
|
4010
4010
|
"""
|
4011
|
-
return _MathSwig.
|
4011
|
+
return _MathSwig.Math_Matrix4x4_callDynamic(self, key, args)
|
4012
4012
|
|
4013
4013
|
def extractObjectFieldsTo(self, output):
|
4014
4014
|
r"""
|
4015
|
-
extractObjectFieldsTo(
|
4015
|
+
extractObjectFieldsTo(Math_Matrix4x4 self, ObjectVector output)
|
4016
4016
|
|
4017
4017
|
Parameters
|
4018
4018
|
----------
|
4019
4019
|
output: std::vector< std::shared_ptr< openplx::Core::Object >,std::allocator< std::shared_ptr< openplx::Core::Object > > > &
|
4020
4020
|
|
4021
4021
|
"""
|
4022
|
-
return _MathSwig.
|
4022
|
+
return _MathSwig.Math_Matrix4x4_extractObjectFieldsTo(self, output)
|
4023
4023
|
|
4024
4024
|
def extractEntriesTo(self, output):
|
4025
4025
|
r"""
|
4026
|
-
extractEntriesTo(
|
4026
|
+
extractEntriesTo(Math_Matrix4x4 self, std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > & output)
|
4027
4027
|
|
4028
4028
|
Parameters
|
4029
4029
|
----------
|
4030
4030
|
output: std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > &
|
4031
4031
|
|
4032
4032
|
"""
|
4033
|
-
return _MathSwig.
|
4033
|
+
return _MathSwig.Math_Matrix4x4_extractEntriesTo(self, output)
|
4034
4034
|
|
4035
4035
|
def triggerOnInit(self, context):
|
4036
4036
|
r"""
|
4037
|
-
triggerOnInit(
|
4037
|
+
triggerOnInit(Math_Matrix4x4 self, openplx::RuntimeContext const & context)
|
4038
4038
|
|
4039
4039
|
Parameters
|
4040
4040
|
----------
|
4041
4041
|
context: openplx::RuntimeContext const &
|
4042
4042
|
|
4043
4043
|
"""
|
4044
|
-
return _MathSwig.
|
4045
|
-
__swig_destroy__ = _MathSwig.
|
4044
|
+
return _MathSwig.Math_Matrix4x4_triggerOnInit(self, context)
|
4045
|
+
__swig_destroy__ = _MathSwig.delete_Math_Matrix4x4
|
4046
4046
|
|
4047
|
-
# Register
|
4048
|
-
_MathSwig.
|
4047
|
+
# Register Math_Matrix4x4 in _MathSwig:
|
4048
|
+
_MathSwig.Math_Matrix4x4_swigregister(Math_Matrix4x4)
|
4049
4049
|
|
4050
|
-
def
|
4050
|
+
def Math_Matrix4x4_from_row_major(r0c0, r0c1, r0c2, r0c3, r1c0, r1c1, r1c2, r1c3, r2c0, r2c1, r2c2, r2c3, r3c0, r3c1, r3c2, r3c3):
|
4051
4051
|
r"""
|
4052
|
-
|
4052
|
+
Math_Matrix4x4_from_row_major(double r0c0, double r0c1, double r0c2, double r0c3, double r1c0, double r1c1, double r1c2, double r1c3, double r2c0, double r2c1, double r2c2, double r2c3, double r3c0, double r3c1, double r3c2, double r3c3) -> std::shared_ptr< openplx::Math::Matrix4x4 >
|
4053
4053
|
|
4054
4054
|
Parameters
|
4055
4055
|
----------
|
@@ -4071,11 +4071,11 @@ def Matrix4x4_from_row_major(r0c0, r0c1, r0c2, r0c3, r1c0, r1c1, r1c2, r1c3, r2c
|
|
4071
4071
|
r3c3: double
|
4072
4072
|
|
4073
4073
|
"""
|
4074
|
-
return _MathSwig.
|
4074
|
+
return _MathSwig.Math_Matrix4x4_from_row_major(r0c0, r0c1, r0c2, r0c3, r1c0, r1c1, r1c2, r1c3, r2c0, r2c1, r2c2, r2c3, r3c0, r3c1, r3c2, r3c3)
|
4075
4075
|
|
4076
|
-
def
|
4076
|
+
def Math_Matrix4x4_from_rows(r0, r1, r2, r3):
|
4077
4077
|
r"""
|
4078
|
-
|
4078
|
+
Math_Matrix4x4_from_rows(DoubleVector r0, DoubleVector r1, DoubleVector r2, DoubleVector r3) -> std::shared_ptr< openplx::Math::Matrix4x4 >
|
4079
4079
|
|
4080
4080
|
Parameters
|
4081
4081
|
----------
|
@@ -4085,11 +4085,11 @@ def Matrix4x4_from_rows(r0, r1, r2, r3):
|
|
4085
4085
|
r3: std::vector< double,std::allocator< double > >
|
4086
4086
|
|
4087
4087
|
"""
|
4088
|
-
return _MathSwig.
|
4088
|
+
return _MathSwig.Math_Matrix4x4_from_rows(r0, r1, r2, r3)
|
4089
4089
|
|
4090
|
-
def
|
4090
|
+
def Math_Matrix4x4_from_columns(c0, c1, c2, c3):
|
4091
4091
|
r"""
|
4092
|
-
|
4092
|
+
Math_Matrix4x4_from_columns(DoubleVector c0, DoubleVector c1, DoubleVector c2, DoubleVector c3) -> std::shared_ptr< openplx::Math::Matrix4x4 >
|
4093
4093
|
|
4094
4094
|
Parameters
|
4095
4095
|
----------
|
@@ -4099,11 +4099,11 @@ def Matrix4x4_from_columns(c0, c1, c2, c3):
|
|
4099
4099
|
c3: std::vector< double,std::allocator< double > >
|
4100
4100
|
|
4101
4101
|
"""
|
4102
|
-
return _MathSwig.
|
4102
|
+
return _MathSwig.Math_Matrix4x4_from_columns(c0, c1, c2, c3)
|
4103
4103
|
|
4104
|
-
def
|
4104
|
+
def Math_Matrix4x4_from_vec3_quat(v, q):
|
4105
4105
|
r"""
|
4106
|
-
|
4106
|
+
Math_Matrix4x4_from_vec3_quat(std::shared_ptr< openplx::Math::Vec3 > v, std::shared_ptr< openplx::Math::Quat > q) -> std::shared_ptr< openplx::Math::Matrix4x4 >
|
4107
4107
|
|
4108
4108
|
Parameters
|
4109
4109
|
----------
|
@@ -4111,52 +4111,52 @@ def Matrix4x4_from_vec3_quat(v, q):
|
|
4111
4111
|
q: std::shared_ptr< openplx::Math::Quat >
|
4112
4112
|
|
4113
4113
|
"""
|
4114
|
-
return _MathSwig.
|
4114
|
+
return _MathSwig.Math_Matrix4x4_from_vec3_quat(v, q)
|
4115
4115
|
|
4116
|
-
class
|
4116
|
+
class Math_Quat(openplx.Core.Object):
|
4117
4117
|
r"""Proxy of C++ openplx::Math::Quat class."""
|
4118
4118
|
|
4119
4119
|
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
4120
4120
|
__repr__ = _swig_repr
|
4121
4121
|
|
4122
4122
|
def __init__(self):
|
4123
|
-
r"""__init__(
|
4124
|
-
_MathSwig.
|
4123
|
+
r"""__init__(Math_Quat self) -> Math_Quat"""
|
4124
|
+
_MathSwig.Math_Quat_swiginit(self, _MathSwig.new_Math_Quat())
|
4125
4125
|
|
4126
4126
|
def x(self):
|
4127
|
-
r"""x(
|
4128
|
-
return _MathSwig.
|
4127
|
+
r"""x(Math_Quat self) -> double"""
|
4128
|
+
return _MathSwig.Math_Quat_x(self)
|
4129
4129
|
|
4130
4130
|
def y(self):
|
4131
|
-
r"""y(
|
4132
|
-
return _MathSwig.
|
4131
|
+
r"""y(Math_Quat self) -> double"""
|
4132
|
+
return _MathSwig.Math_Quat_y(self)
|
4133
4133
|
|
4134
4134
|
def z(self):
|
4135
|
-
r"""z(
|
4136
|
-
return _MathSwig.
|
4135
|
+
r"""z(Math_Quat self) -> double"""
|
4136
|
+
return _MathSwig.Math_Quat_z(self)
|
4137
4137
|
|
4138
4138
|
def w(self):
|
4139
|
-
r"""w(
|
4140
|
-
return _MathSwig.
|
4139
|
+
r"""w(Math_Quat self) -> double"""
|
4140
|
+
return _MathSwig.Math_Quat_w(self)
|
4141
4141
|
|
4142
4142
|
def rotate(self, v):
|
4143
4143
|
r"""
|
4144
|
-
rotate(
|
4144
|
+
rotate(Math_Quat self, std::shared_ptr< openplx::Math::Vec3 > v) -> std::shared_ptr< openplx::Math::Vec3 >
|
4145
4145
|
|
4146
4146
|
Parameters
|
4147
4147
|
----------
|
4148
4148
|
v: std::shared_ptr< openplx::Math::Vec3 >
|
4149
4149
|
|
4150
4150
|
"""
|
4151
|
-
return _MathSwig.
|
4151
|
+
return _MathSwig.Math_Quat_rotate(self, v)
|
4152
4152
|
|
4153
4153
|
def conj(self):
|
4154
|
-
r"""conj(
|
4155
|
-
return _MathSwig.
|
4154
|
+
r"""conj(Math_Quat self) -> std::shared_ptr< openplx::Math::Quat >"""
|
4155
|
+
return _MathSwig.Math_Quat_conj(self)
|
4156
4156
|
|
4157
4157
|
def inverse(self):
|
4158
|
-
r"""inverse(
|
4159
|
-
return _MathSwig.
|
4158
|
+
r"""inverse(Math_Quat self) -> std::shared_ptr< openplx::Math::Quat >"""
|
4159
|
+
return _MathSwig.Math_Quat_inverse(self)
|
4160
4160
|
|
4161
4161
|
@staticmethod
|
4162
4162
|
def angle_axis(angle, axis):
|
@@ -4169,7 +4169,7 @@ class Quat(openplx.Core.Object):
|
|
4169
4169
|
axis: std::shared_ptr< openplx::Math::Vec3 >
|
4170
4170
|
|
4171
4171
|
"""
|
4172
|
-
return _MathSwig.
|
4172
|
+
return _MathSwig.Math_Quat_angle_axis(angle, axis)
|
4173
4173
|
|
4174
4174
|
@staticmethod
|
4175
4175
|
def from_to(_from, to):
|
@@ -4182,7 +4182,7 @@ class Quat(openplx.Core.Object):
|
|
4182
4182
|
to: std::shared_ptr< openplx::Math::Vec3 >
|
4183
4183
|
|
4184
4184
|
"""
|
4185
|
-
return _MathSwig.
|
4185
|
+
return _MathSwig.Math_Quat_from_to(_from, to)
|
4186
4186
|
|
4187
4187
|
@staticmethod
|
4188
4188
|
def normal(q):
|
@@ -4194,7 +4194,7 @@ class Quat(openplx.Core.Object):
|
|
4194
4194
|
q: std::shared_ptr< openplx::Math::Quat >
|
4195
4195
|
|
4196
4196
|
"""
|
4197
|
-
return _MathSwig.
|
4197
|
+
return _MathSwig.Math_Quat_normal(q)
|
4198
4198
|
|
4199
4199
|
@staticmethod
|
4200
4200
|
def from_xyzw(x, y, z, w):
|
@@ -4209,7 +4209,7 @@ class Quat(openplx.Core.Object):
|
|
4209
4209
|
w: double
|
4210
4210
|
|
4211
4211
|
"""
|
4212
|
-
return _MathSwig.
|
4212
|
+
return _MathSwig.Math_Quat_from_xyzw(x, y, z, w)
|
4213
4213
|
|
4214
4214
|
@staticmethod
|
4215
4215
|
def from_euler_angles_xyzs(alpha, beta, gamma):
|
@@ -4223,7 +4223,7 @@ class Quat(openplx.Core.Object):
|
|
4223
4223
|
gamma: double
|
4224
4224
|
|
4225
4225
|
"""
|
4226
|
-
return _MathSwig.
|
4226
|
+
return _MathSwig.Math_Quat_from_euler_angles_xyzs(alpha, beta, gamma)
|
4227
4227
|
|
4228
4228
|
@staticmethod
|
4229
4229
|
def from_euler_angles_xyxs(alpha, beta, gamma):
|
@@ -4237,7 +4237,7 @@ class Quat(openplx.Core.Object):
|
|
4237
4237
|
gamma: double
|
4238
4238
|
|
4239
4239
|
"""
|
4240
|
-
return _MathSwig.
|
4240
|
+
return _MathSwig.Math_Quat_from_euler_angles_xyxs(alpha, beta, gamma)
|
4241
4241
|
|
4242
4242
|
@staticmethod
|
4243
4243
|
def from_euler_angles_xzys(alpha, beta, gamma):
|
@@ -4251,7 +4251,7 @@ class Quat(openplx.Core.Object):
|
|
4251
4251
|
gamma: double
|
4252
4252
|
|
4253
4253
|
"""
|
4254
|
-
return _MathSwig.
|
4254
|
+
return _MathSwig.Math_Quat_from_euler_angles_xzys(alpha, beta, gamma)
|
4255
4255
|
|
4256
4256
|
@staticmethod
|
4257
4257
|
def from_euler_angles_xzxs(alpha, beta, gamma):
|
@@ -4265,7 +4265,7 @@ class Quat(openplx.Core.Object):
|
|
4265
4265
|
gamma: double
|
4266
4266
|
|
4267
4267
|
"""
|
4268
|
-
return _MathSwig.
|
4268
|
+
return _MathSwig.Math_Quat_from_euler_angles_xzxs(alpha, beta, gamma)
|
4269
4269
|
|
4270
4270
|
@staticmethod
|
4271
4271
|
def from_euler_angles_yzxs(alpha, beta, gamma):
|
@@ -4279,7 +4279,7 @@ class Quat(openplx.Core.Object):
|
|
4279
4279
|
gamma: double
|
4280
4280
|
|
4281
4281
|
"""
|
4282
|
-
return _MathSwig.
|
4282
|
+
return _MathSwig.Math_Quat_from_euler_angles_yzxs(alpha, beta, gamma)
|
4283
4283
|
|
4284
4284
|
@staticmethod
|
4285
4285
|
def from_euler_angles_yzys(alpha, beta, gamma):
|
@@ -4293,7 +4293,7 @@ class Quat(openplx.Core.Object):
|
|
4293
4293
|
gamma: double
|
4294
4294
|
|
4295
4295
|
"""
|
4296
|
-
return _MathSwig.
|
4296
|
+
return _MathSwig.Math_Quat_from_euler_angles_yzys(alpha, beta, gamma)
|
4297
4297
|
|
4298
4298
|
@staticmethod
|
4299
4299
|
def from_euler_angles_yxzs(alpha, beta, gamma):
|
@@ -4307,7 +4307,7 @@ class Quat(openplx.Core.Object):
|
|
4307
4307
|
gamma: double
|
4308
4308
|
|
4309
4309
|
"""
|
4310
|
-
return _MathSwig.
|
4310
|
+
return _MathSwig.Math_Quat_from_euler_angles_yxzs(alpha, beta, gamma)
|
4311
4311
|
|
4312
4312
|
@staticmethod
|
4313
4313
|
def from_euler_angles_yxys(alpha, beta, gamma):
|
@@ -4321,7 +4321,7 @@ class Quat(openplx.Core.Object):
|
|
4321
4321
|
gamma: double
|
4322
4322
|
|
4323
4323
|
"""
|
4324
|
-
return _MathSwig.
|
4324
|
+
return _MathSwig.Math_Quat_from_euler_angles_yxys(alpha, beta, gamma)
|
4325
4325
|
|
4326
4326
|
@staticmethod
|
4327
4327
|
def from_euler_angles_zxys(alpha, beta, gamma):
|
@@ -4335,7 +4335,7 @@ class Quat(openplx.Core.Object):
|
|
4335
4335
|
gamma: double
|
4336
4336
|
|
4337
4337
|
"""
|
4338
|
-
return _MathSwig.
|
4338
|
+
return _MathSwig.Math_Quat_from_euler_angles_zxys(alpha, beta, gamma)
|
4339
4339
|
|
4340
4340
|
@staticmethod
|
4341
4341
|
def from_euler_angles_zxzs(alpha, beta, gamma):
|
@@ -4349,7 +4349,7 @@ class Quat(openplx.Core.Object):
|
|
4349
4349
|
gamma: double
|
4350
4350
|
|
4351
4351
|
"""
|
4352
|
-
return _MathSwig.
|
4352
|
+
return _MathSwig.Math_Quat_from_euler_angles_zxzs(alpha, beta, gamma)
|
4353
4353
|
|
4354
4354
|
@staticmethod
|
4355
4355
|
def from_euler_angles_zyxs(alpha, beta, gamma):
|
@@ -4363,7 +4363,7 @@ class Quat(openplx.Core.Object):
|
|
4363
4363
|
gamma: double
|
4364
4364
|
|
4365
4365
|
"""
|
4366
|
-
return _MathSwig.
|
4366
|
+
return _MathSwig.Math_Quat_from_euler_angles_zyxs(alpha, beta, gamma)
|
4367
4367
|
|
4368
4368
|
@staticmethod
|
4369
4369
|
def from_euler_angles_zyzs(alpha, beta, gamma):
|
@@ -4377,7 +4377,7 @@ class Quat(openplx.Core.Object):
|
|
4377
4377
|
gamma: double
|
4378
4378
|
|
4379
4379
|
"""
|
4380
|
-
return _MathSwig.
|
4380
|
+
return _MathSwig.Math_Quat_from_euler_angles_zyzs(alpha, beta, gamma)
|
4381
4381
|
|
4382
4382
|
@staticmethod
|
4383
4383
|
def from_euler_angles_zyxr(alpha, beta, gamma):
|
@@ -4391,7 +4391,7 @@ class Quat(openplx.Core.Object):
|
|
4391
4391
|
gamma: double
|
4392
4392
|
|
4393
4393
|
"""
|
4394
|
-
return _MathSwig.
|
4394
|
+
return _MathSwig.Math_Quat_from_euler_angles_zyxr(alpha, beta, gamma)
|
4395
4395
|
|
4396
4396
|
@staticmethod
|
4397
4397
|
def from_euler_angles_xyxr(alpha, beta, gamma):
|
@@ -4405,7 +4405,7 @@ class Quat(openplx.Core.Object):
|
|
4405
4405
|
gamma: double
|
4406
4406
|
|
4407
4407
|
"""
|
4408
|
-
return _MathSwig.
|
4408
|
+
return _MathSwig.Math_Quat_from_euler_angles_xyxr(alpha, beta, gamma)
|
4409
4409
|
|
4410
4410
|
@staticmethod
|
4411
4411
|
def from_euler_angles_yzxr(alpha, beta, gamma):
|
@@ -4419,7 +4419,7 @@ class Quat(openplx.Core.Object):
|
|
4419
4419
|
gamma: double
|
4420
4420
|
|
4421
4421
|
"""
|
4422
|
-
return _MathSwig.
|
4422
|
+
return _MathSwig.Math_Quat_from_euler_angles_yzxr(alpha, beta, gamma)
|
4423
4423
|
|
4424
4424
|
@staticmethod
|
4425
4425
|
def from_euler_angles_xzxr(alpha, beta, gamma):
|
@@ -4433,7 +4433,7 @@ class Quat(openplx.Core.Object):
|
|
4433
4433
|
gamma: double
|
4434
4434
|
|
4435
4435
|
"""
|
4436
|
-
return _MathSwig.
|
4436
|
+
return _MathSwig.Math_Quat_from_euler_angles_xzxr(alpha, beta, gamma)
|
4437
4437
|
|
4438
4438
|
@staticmethod
|
4439
4439
|
def from_euler_angles_xzyr(alpha, beta, gamma):
|
@@ -4447,7 +4447,7 @@ class Quat(openplx.Core.Object):
|
|
4447
4447
|
gamma: double
|
4448
4448
|
|
4449
4449
|
"""
|
4450
|
-
return _MathSwig.
|
4450
|
+
return _MathSwig.Math_Quat_from_euler_angles_xzyr(alpha, beta, gamma)
|
4451
4451
|
|
4452
4452
|
@staticmethod
|
4453
4453
|
def from_euler_angles_yzyr(alpha, beta, gamma):
|
@@ -4461,7 +4461,7 @@ class Quat(openplx.Core.Object):
|
|
4461
4461
|
gamma: double
|
4462
4462
|
|
4463
4463
|
"""
|
4464
|
-
return _MathSwig.
|
4464
|
+
return _MathSwig.Math_Quat_from_euler_angles_yzyr(alpha, beta, gamma)
|
4465
4465
|
|
4466
4466
|
@staticmethod
|
4467
4467
|
def from_euler_angles_zxyr(alpha, beta, gamma):
|
@@ -4475,7 +4475,7 @@ class Quat(openplx.Core.Object):
|
|
4475
4475
|
gamma: double
|
4476
4476
|
|
4477
4477
|
"""
|
4478
|
-
return _MathSwig.
|
4478
|
+
return _MathSwig.Math_Quat_from_euler_angles_zxyr(alpha, beta, gamma)
|
4479
4479
|
|
4480
4480
|
@staticmethod
|
4481
4481
|
def from_euler_angles_yxyr(alpha, beta, gamma):
|
@@ -4489,7 +4489,7 @@ class Quat(openplx.Core.Object):
|
|
4489
4489
|
gamma: double
|
4490
4490
|
|
4491
4491
|
"""
|
4492
|
-
return _MathSwig.
|
4492
|
+
return _MathSwig.Math_Quat_from_euler_angles_yxyr(alpha, beta, gamma)
|
4493
4493
|
|
4494
4494
|
@staticmethod
|
4495
4495
|
def from_euler_angles_yxzr(alpha, beta, gamma):
|
@@ -4503,7 +4503,7 @@ class Quat(openplx.Core.Object):
|
|
4503
4503
|
gamma: double
|
4504
4504
|
|
4505
4505
|
"""
|
4506
|
-
return _MathSwig.
|
4506
|
+
return _MathSwig.Math_Quat_from_euler_angles_yxzr(alpha, beta, gamma)
|
4507
4507
|
|
4508
4508
|
@staticmethod
|
4509
4509
|
def from_euler_angles_zxzr(alpha, beta, gamma):
|
@@ -4517,7 +4517,7 @@ class Quat(openplx.Core.Object):
|
|
4517
4517
|
gamma: double
|
4518
4518
|
|
4519
4519
|
"""
|
4520
|
-
return _MathSwig.
|
4520
|
+
return _MathSwig.Math_Quat_from_euler_angles_zxzr(alpha, beta, gamma)
|
4521
4521
|
|
4522
4522
|
@staticmethod
|
4523
4523
|
def from_euler_angles_xyzr(alpha, beta, gamma):
|
@@ -4531,7 +4531,7 @@ class Quat(openplx.Core.Object):
|
|
4531
4531
|
gamma: double
|
4532
4532
|
|
4533
4533
|
"""
|
4534
|
-
return _MathSwig.
|
4534
|
+
return _MathSwig.Math_Quat_from_euler_angles_xyzr(alpha, beta, gamma)
|
4535
4535
|
|
4536
4536
|
@staticmethod
|
4537
4537
|
def from_euler_angles_zyzr(alpha, beta, gamma):
|
@@ -4545,7 +4545,7 @@ class Quat(openplx.Core.Object):
|
|
4545
4545
|
gamma: double
|
4546
4546
|
|
4547
4547
|
"""
|
4548
|
-
return _MathSwig.
|
4548
|
+
return _MathSwig.Math_Quat_from_euler_angles_zyzr(alpha, beta, gamma)
|
4549
4549
|
|
4550
4550
|
@staticmethod
|
4551
4551
|
def from_euler_angles(alpha, beta, gamma):
|
@@ -4559,11 +4559,11 @@ class Quat(openplx.Core.Object):
|
|
4559
4559
|
gamma: double
|
4560
4560
|
|
4561
4561
|
"""
|
4562
|
-
return _MathSwig.
|
4562
|
+
return _MathSwig.Math_Quat_from_euler_angles(alpha, beta, gamma)
|
4563
4563
|
|
4564
4564
|
def setDynamic(self, key, value):
|
4565
4565
|
r"""
|
4566
|
-
setDynamic(
|
4566
|
+
setDynamic(Math_Quat self, std::string const & key, Any value)
|
4567
4567
|
|
4568
4568
|
Parameters
|
4569
4569
|
----------
|
@@ -4571,22 +4571,22 @@ class Quat(openplx.Core.Object):
|
|
4571
4571
|
value: openplx::Core::Any &&
|
4572
4572
|
|
4573
4573
|
"""
|
4574
|
-
return _MathSwig.
|
4574
|
+
return _MathSwig.Math_Quat_setDynamic(self, key, value)
|
4575
4575
|
|
4576
4576
|
def getDynamic(self, key):
|
4577
4577
|
r"""
|
4578
|
-
getDynamic(
|
4578
|
+
getDynamic(Math_Quat self, std::string const & key) -> Any
|
4579
4579
|
|
4580
4580
|
Parameters
|
4581
4581
|
----------
|
4582
4582
|
key: std::string const &
|
4583
4583
|
|
4584
4584
|
"""
|
4585
|
-
return _MathSwig.
|
4585
|
+
return _MathSwig.Math_Quat_getDynamic(self, key)
|
4586
4586
|
|
4587
4587
|
def callDynamic(self, key, args):
|
4588
4588
|
r"""
|
4589
|
-
callDynamic(
|
4589
|
+
callDynamic(Math_Quat self, std::string const & key, AnyVector args) -> Any
|
4590
4590
|
|
4591
4591
|
Parameters
|
4592
4592
|
----------
|
@@ -4594,48 +4594,48 @@ class Quat(openplx.Core.Object):
|
|
4594
4594
|
args: std::vector< openplx::Core::Any,std::allocator< openplx::Core::Any > > const &
|
4595
4595
|
|
4596
4596
|
"""
|
4597
|
-
return _MathSwig.
|
4597
|
+
return _MathSwig.Math_Quat_callDynamic(self, key, args)
|
4598
4598
|
|
4599
4599
|
def extractObjectFieldsTo(self, output):
|
4600
4600
|
r"""
|
4601
|
-
extractObjectFieldsTo(
|
4601
|
+
extractObjectFieldsTo(Math_Quat self, ObjectVector output)
|
4602
4602
|
|
4603
4603
|
Parameters
|
4604
4604
|
----------
|
4605
4605
|
output: std::vector< std::shared_ptr< openplx::Core::Object >,std::allocator< std::shared_ptr< openplx::Core::Object > > > &
|
4606
4606
|
|
4607
4607
|
"""
|
4608
|
-
return _MathSwig.
|
4608
|
+
return _MathSwig.Math_Quat_extractObjectFieldsTo(self, output)
|
4609
4609
|
|
4610
4610
|
def extractEntriesTo(self, output):
|
4611
4611
|
r"""
|
4612
|
-
extractEntriesTo(
|
4612
|
+
extractEntriesTo(Math_Quat self, std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > & output)
|
4613
4613
|
|
4614
4614
|
Parameters
|
4615
4615
|
----------
|
4616
4616
|
output: std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > &
|
4617
4617
|
|
4618
4618
|
"""
|
4619
|
-
return _MathSwig.
|
4619
|
+
return _MathSwig.Math_Quat_extractEntriesTo(self, output)
|
4620
4620
|
|
4621
4621
|
def triggerOnInit(self, context):
|
4622
4622
|
r"""
|
4623
|
-
triggerOnInit(
|
4623
|
+
triggerOnInit(Math_Quat self, openplx::RuntimeContext const & context)
|
4624
4624
|
|
4625
4625
|
Parameters
|
4626
4626
|
----------
|
4627
4627
|
context: openplx::RuntimeContext const &
|
4628
4628
|
|
4629
4629
|
"""
|
4630
|
-
return _MathSwig.
|
4631
|
-
__swig_destroy__ = _MathSwig.
|
4630
|
+
return _MathSwig.Math_Quat_triggerOnInit(self, context)
|
4631
|
+
__swig_destroy__ = _MathSwig.delete_Math_Quat
|
4632
4632
|
|
4633
|
-
# Register
|
4634
|
-
_MathSwig.
|
4633
|
+
# Register Math_Quat in _MathSwig:
|
4634
|
+
_MathSwig.Math_Quat_swigregister(Math_Quat)
|
4635
4635
|
|
4636
|
-
def
|
4636
|
+
def Math_Quat_angle_axis(angle, axis):
|
4637
4637
|
r"""
|
4638
|
-
|
4638
|
+
Math_Quat_angle_axis(double angle, std::shared_ptr< openplx::Math::Vec3 > axis) -> std::shared_ptr< openplx::Math::Quat >
|
4639
4639
|
|
4640
4640
|
Parameters
|
4641
4641
|
----------
|
@@ -4643,11 +4643,11 @@ def Quat_angle_axis(angle, axis):
|
|
4643
4643
|
axis: std::shared_ptr< openplx::Math::Vec3 >
|
4644
4644
|
|
4645
4645
|
"""
|
4646
|
-
return _MathSwig.
|
4646
|
+
return _MathSwig.Math_Quat_angle_axis(angle, axis)
|
4647
4647
|
|
4648
|
-
def
|
4648
|
+
def Math_Quat_from_to(_from, to):
|
4649
4649
|
r"""
|
4650
|
-
|
4650
|
+
Math_Quat_from_to(std::shared_ptr< openplx::Math::Vec3 > _from, std::shared_ptr< openplx::Math::Vec3 > to) -> std::shared_ptr< openplx::Math::Quat >
|
4651
4651
|
|
4652
4652
|
Parameters
|
4653
4653
|
----------
|
@@ -4655,22 +4655,22 @@ def Quat_from_to(_from, to):
|
|
4655
4655
|
to: std::shared_ptr< openplx::Math::Vec3 >
|
4656
4656
|
|
4657
4657
|
"""
|
4658
|
-
return _MathSwig.
|
4658
|
+
return _MathSwig.Math_Quat_from_to(_from, to)
|
4659
4659
|
|
4660
|
-
def
|
4660
|
+
def Math_Quat_normal(q):
|
4661
4661
|
r"""
|
4662
|
-
|
4662
|
+
Math_Quat_normal(std::shared_ptr< openplx::Math::Quat > q) -> std::shared_ptr< openplx::Math::Quat >
|
4663
4663
|
|
4664
4664
|
Parameters
|
4665
4665
|
----------
|
4666
4666
|
q: std::shared_ptr< openplx::Math::Quat >
|
4667
4667
|
|
4668
4668
|
"""
|
4669
|
-
return _MathSwig.
|
4669
|
+
return _MathSwig.Math_Quat_normal(q)
|
4670
4670
|
|
4671
|
-
def
|
4671
|
+
def Math_Quat_from_xyzw(x, y, z, w):
|
4672
4672
|
r"""
|
4673
|
-
|
4673
|
+
Math_Quat_from_xyzw(double x, double y, double z, double w) -> std::shared_ptr< openplx::Math::Quat >
|
4674
4674
|
|
4675
4675
|
Parameters
|
4676
4676
|
----------
|
@@ -4680,11 +4680,11 @@ def Quat_from_xyzw(x, y, z, w):
|
|
4680
4680
|
w: double
|
4681
4681
|
|
4682
4682
|
"""
|
4683
|
-
return _MathSwig.
|
4683
|
+
return _MathSwig.Math_Quat_from_xyzw(x, y, z, w)
|
4684
4684
|
|
4685
|
-
def
|
4685
|
+
def Math_Quat_from_euler_angles_xyzs(alpha, beta, gamma):
|
4686
4686
|
r"""
|
4687
|
-
|
4687
|
+
Math_Quat_from_euler_angles_xyzs(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4688
4688
|
|
4689
4689
|
Parameters
|
4690
4690
|
----------
|
@@ -4693,11 +4693,11 @@ def Quat_from_euler_angles_xyzs(alpha, beta, gamma):
|
|
4693
4693
|
gamma: double
|
4694
4694
|
|
4695
4695
|
"""
|
4696
|
-
return _MathSwig.
|
4696
|
+
return _MathSwig.Math_Quat_from_euler_angles_xyzs(alpha, beta, gamma)
|
4697
4697
|
|
4698
|
-
def
|
4698
|
+
def Math_Quat_from_euler_angles_xyxs(alpha, beta, gamma):
|
4699
4699
|
r"""
|
4700
|
-
|
4700
|
+
Math_Quat_from_euler_angles_xyxs(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4701
4701
|
|
4702
4702
|
Parameters
|
4703
4703
|
----------
|
@@ -4706,11 +4706,11 @@ def Quat_from_euler_angles_xyxs(alpha, beta, gamma):
|
|
4706
4706
|
gamma: double
|
4707
4707
|
|
4708
4708
|
"""
|
4709
|
-
return _MathSwig.
|
4709
|
+
return _MathSwig.Math_Quat_from_euler_angles_xyxs(alpha, beta, gamma)
|
4710
4710
|
|
4711
|
-
def
|
4711
|
+
def Math_Quat_from_euler_angles_xzys(alpha, beta, gamma):
|
4712
4712
|
r"""
|
4713
|
-
|
4713
|
+
Math_Quat_from_euler_angles_xzys(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4714
4714
|
|
4715
4715
|
Parameters
|
4716
4716
|
----------
|
@@ -4719,11 +4719,11 @@ def Quat_from_euler_angles_xzys(alpha, beta, gamma):
|
|
4719
4719
|
gamma: double
|
4720
4720
|
|
4721
4721
|
"""
|
4722
|
-
return _MathSwig.
|
4722
|
+
return _MathSwig.Math_Quat_from_euler_angles_xzys(alpha, beta, gamma)
|
4723
4723
|
|
4724
|
-
def
|
4724
|
+
def Math_Quat_from_euler_angles_xzxs(alpha, beta, gamma):
|
4725
4725
|
r"""
|
4726
|
-
|
4726
|
+
Math_Quat_from_euler_angles_xzxs(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4727
4727
|
|
4728
4728
|
Parameters
|
4729
4729
|
----------
|
@@ -4732,11 +4732,11 @@ def Quat_from_euler_angles_xzxs(alpha, beta, gamma):
|
|
4732
4732
|
gamma: double
|
4733
4733
|
|
4734
4734
|
"""
|
4735
|
-
return _MathSwig.
|
4735
|
+
return _MathSwig.Math_Quat_from_euler_angles_xzxs(alpha, beta, gamma)
|
4736
4736
|
|
4737
|
-
def
|
4737
|
+
def Math_Quat_from_euler_angles_yzxs(alpha, beta, gamma):
|
4738
4738
|
r"""
|
4739
|
-
|
4739
|
+
Math_Quat_from_euler_angles_yzxs(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4740
4740
|
|
4741
4741
|
Parameters
|
4742
4742
|
----------
|
@@ -4745,11 +4745,11 @@ def Quat_from_euler_angles_yzxs(alpha, beta, gamma):
|
|
4745
4745
|
gamma: double
|
4746
4746
|
|
4747
4747
|
"""
|
4748
|
-
return _MathSwig.
|
4748
|
+
return _MathSwig.Math_Quat_from_euler_angles_yzxs(alpha, beta, gamma)
|
4749
4749
|
|
4750
|
-
def
|
4750
|
+
def Math_Quat_from_euler_angles_yzys(alpha, beta, gamma):
|
4751
4751
|
r"""
|
4752
|
-
|
4752
|
+
Math_Quat_from_euler_angles_yzys(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4753
4753
|
|
4754
4754
|
Parameters
|
4755
4755
|
----------
|
@@ -4758,11 +4758,11 @@ def Quat_from_euler_angles_yzys(alpha, beta, gamma):
|
|
4758
4758
|
gamma: double
|
4759
4759
|
|
4760
4760
|
"""
|
4761
|
-
return _MathSwig.
|
4761
|
+
return _MathSwig.Math_Quat_from_euler_angles_yzys(alpha, beta, gamma)
|
4762
4762
|
|
4763
|
-
def
|
4763
|
+
def Math_Quat_from_euler_angles_yxzs(alpha, beta, gamma):
|
4764
4764
|
r"""
|
4765
|
-
|
4765
|
+
Math_Quat_from_euler_angles_yxzs(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4766
4766
|
|
4767
4767
|
Parameters
|
4768
4768
|
----------
|
@@ -4771,11 +4771,11 @@ def Quat_from_euler_angles_yxzs(alpha, beta, gamma):
|
|
4771
4771
|
gamma: double
|
4772
4772
|
|
4773
4773
|
"""
|
4774
|
-
return _MathSwig.
|
4774
|
+
return _MathSwig.Math_Quat_from_euler_angles_yxzs(alpha, beta, gamma)
|
4775
4775
|
|
4776
|
-
def
|
4776
|
+
def Math_Quat_from_euler_angles_yxys(alpha, beta, gamma):
|
4777
4777
|
r"""
|
4778
|
-
|
4778
|
+
Math_Quat_from_euler_angles_yxys(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4779
4779
|
|
4780
4780
|
Parameters
|
4781
4781
|
----------
|
@@ -4784,11 +4784,11 @@ def Quat_from_euler_angles_yxys(alpha, beta, gamma):
|
|
4784
4784
|
gamma: double
|
4785
4785
|
|
4786
4786
|
"""
|
4787
|
-
return _MathSwig.
|
4787
|
+
return _MathSwig.Math_Quat_from_euler_angles_yxys(alpha, beta, gamma)
|
4788
4788
|
|
4789
|
-
def
|
4789
|
+
def Math_Quat_from_euler_angles_zxys(alpha, beta, gamma):
|
4790
4790
|
r"""
|
4791
|
-
|
4791
|
+
Math_Quat_from_euler_angles_zxys(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4792
4792
|
|
4793
4793
|
Parameters
|
4794
4794
|
----------
|
@@ -4797,11 +4797,11 @@ def Quat_from_euler_angles_zxys(alpha, beta, gamma):
|
|
4797
4797
|
gamma: double
|
4798
4798
|
|
4799
4799
|
"""
|
4800
|
-
return _MathSwig.
|
4800
|
+
return _MathSwig.Math_Quat_from_euler_angles_zxys(alpha, beta, gamma)
|
4801
4801
|
|
4802
|
-
def
|
4802
|
+
def Math_Quat_from_euler_angles_zxzs(alpha, beta, gamma):
|
4803
4803
|
r"""
|
4804
|
-
|
4804
|
+
Math_Quat_from_euler_angles_zxzs(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4805
4805
|
|
4806
4806
|
Parameters
|
4807
4807
|
----------
|
@@ -4810,11 +4810,11 @@ def Quat_from_euler_angles_zxzs(alpha, beta, gamma):
|
|
4810
4810
|
gamma: double
|
4811
4811
|
|
4812
4812
|
"""
|
4813
|
-
return _MathSwig.
|
4813
|
+
return _MathSwig.Math_Quat_from_euler_angles_zxzs(alpha, beta, gamma)
|
4814
4814
|
|
4815
|
-
def
|
4815
|
+
def Math_Quat_from_euler_angles_zyxs(alpha, beta, gamma):
|
4816
4816
|
r"""
|
4817
|
-
|
4817
|
+
Math_Quat_from_euler_angles_zyxs(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4818
4818
|
|
4819
4819
|
Parameters
|
4820
4820
|
----------
|
@@ -4823,11 +4823,11 @@ def Quat_from_euler_angles_zyxs(alpha, beta, gamma):
|
|
4823
4823
|
gamma: double
|
4824
4824
|
|
4825
4825
|
"""
|
4826
|
-
return _MathSwig.
|
4826
|
+
return _MathSwig.Math_Quat_from_euler_angles_zyxs(alpha, beta, gamma)
|
4827
4827
|
|
4828
|
-
def
|
4828
|
+
def Math_Quat_from_euler_angles_zyzs(alpha, beta, gamma):
|
4829
4829
|
r"""
|
4830
|
-
|
4830
|
+
Math_Quat_from_euler_angles_zyzs(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4831
4831
|
|
4832
4832
|
Parameters
|
4833
4833
|
----------
|
@@ -4836,11 +4836,11 @@ def Quat_from_euler_angles_zyzs(alpha, beta, gamma):
|
|
4836
4836
|
gamma: double
|
4837
4837
|
|
4838
4838
|
"""
|
4839
|
-
return _MathSwig.
|
4839
|
+
return _MathSwig.Math_Quat_from_euler_angles_zyzs(alpha, beta, gamma)
|
4840
4840
|
|
4841
|
-
def
|
4841
|
+
def Math_Quat_from_euler_angles_zyxr(alpha, beta, gamma):
|
4842
4842
|
r"""
|
4843
|
-
|
4843
|
+
Math_Quat_from_euler_angles_zyxr(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4844
4844
|
|
4845
4845
|
Parameters
|
4846
4846
|
----------
|
@@ -4849,11 +4849,11 @@ def Quat_from_euler_angles_zyxr(alpha, beta, gamma):
|
|
4849
4849
|
gamma: double
|
4850
4850
|
|
4851
4851
|
"""
|
4852
|
-
return _MathSwig.
|
4852
|
+
return _MathSwig.Math_Quat_from_euler_angles_zyxr(alpha, beta, gamma)
|
4853
4853
|
|
4854
|
-
def
|
4854
|
+
def Math_Quat_from_euler_angles_xyxr(alpha, beta, gamma):
|
4855
4855
|
r"""
|
4856
|
-
|
4856
|
+
Math_Quat_from_euler_angles_xyxr(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4857
4857
|
|
4858
4858
|
Parameters
|
4859
4859
|
----------
|
@@ -4862,11 +4862,11 @@ def Quat_from_euler_angles_xyxr(alpha, beta, gamma):
|
|
4862
4862
|
gamma: double
|
4863
4863
|
|
4864
4864
|
"""
|
4865
|
-
return _MathSwig.
|
4865
|
+
return _MathSwig.Math_Quat_from_euler_angles_xyxr(alpha, beta, gamma)
|
4866
4866
|
|
4867
|
-
def
|
4867
|
+
def Math_Quat_from_euler_angles_yzxr(alpha, beta, gamma):
|
4868
4868
|
r"""
|
4869
|
-
|
4869
|
+
Math_Quat_from_euler_angles_yzxr(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4870
4870
|
|
4871
4871
|
Parameters
|
4872
4872
|
----------
|
@@ -4875,11 +4875,11 @@ def Quat_from_euler_angles_yzxr(alpha, beta, gamma):
|
|
4875
4875
|
gamma: double
|
4876
4876
|
|
4877
4877
|
"""
|
4878
|
-
return _MathSwig.
|
4878
|
+
return _MathSwig.Math_Quat_from_euler_angles_yzxr(alpha, beta, gamma)
|
4879
4879
|
|
4880
|
-
def
|
4880
|
+
def Math_Quat_from_euler_angles_xzxr(alpha, beta, gamma):
|
4881
4881
|
r"""
|
4882
|
-
|
4882
|
+
Math_Quat_from_euler_angles_xzxr(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4883
4883
|
|
4884
4884
|
Parameters
|
4885
4885
|
----------
|
@@ -4888,11 +4888,11 @@ def Quat_from_euler_angles_xzxr(alpha, beta, gamma):
|
|
4888
4888
|
gamma: double
|
4889
4889
|
|
4890
4890
|
"""
|
4891
|
-
return _MathSwig.
|
4891
|
+
return _MathSwig.Math_Quat_from_euler_angles_xzxr(alpha, beta, gamma)
|
4892
4892
|
|
4893
|
-
def
|
4893
|
+
def Math_Quat_from_euler_angles_xzyr(alpha, beta, gamma):
|
4894
4894
|
r"""
|
4895
|
-
|
4895
|
+
Math_Quat_from_euler_angles_xzyr(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4896
4896
|
|
4897
4897
|
Parameters
|
4898
4898
|
----------
|
@@ -4901,11 +4901,11 @@ def Quat_from_euler_angles_xzyr(alpha, beta, gamma):
|
|
4901
4901
|
gamma: double
|
4902
4902
|
|
4903
4903
|
"""
|
4904
|
-
return _MathSwig.
|
4904
|
+
return _MathSwig.Math_Quat_from_euler_angles_xzyr(alpha, beta, gamma)
|
4905
4905
|
|
4906
|
-
def
|
4906
|
+
def Math_Quat_from_euler_angles_yzyr(alpha, beta, gamma):
|
4907
4907
|
r"""
|
4908
|
-
|
4908
|
+
Math_Quat_from_euler_angles_yzyr(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4909
4909
|
|
4910
4910
|
Parameters
|
4911
4911
|
----------
|
@@ -4914,11 +4914,11 @@ def Quat_from_euler_angles_yzyr(alpha, beta, gamma):
|
|
4914
4914
|
gamma: double
|
4915
4915
|
|
4916
4916
|
"""
|
4917
|
-
return _MathSwig.
|
4917
|
+
return _MathSwig.Math_Quat_from_euler_angles_yzyr(alpha, beta, gamma)
|
4918
4918
|
|
4919
|
-
def
|
4919
|
+
def Math_Quat_from_euler_angles_zxyr(alpha, beta, gamma):
|
4920
4920
|
r"""
|
4921
|
-
|
4921
|
+
Math_Quat_from_euler_angles_zxyr(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4922
4922
|
|
4923
4923
|
Parameters
|
4924
4924
|
----------
|
@@ -4927,11 +4927,11 @@ def Quat_from_euler_angles_zxyr(alpha, beta, gamma):
|
|
4927
4927
|
gamma: double
|
4928
4928
|
|
4929
4929
|
"""
|
4930
|
-
return _MathSwig.
|
4930
|
+
return _MathSwig.Math_Quat_from_euler_angles_zxyr(alpha, beta, gamma)
|
4931
4931
|
|
4932
|
-
def
|
4932
|
+
def Math_Quat_from_euler_angles_yxyr(alpha, beta, gamma):
|
4933
4933
|
r"""
|
4934
|
-
|
4934
|
+
Math_Quat_from_euler_angles_yxyr(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4935
4935
|
|
4936
4936
|
Parameters
|
4937
4937
|
----------
|
@@ -4940,11 +4940,11 @@ def Quat_from_euler_angles_yxyr(alpha, beta, gamma):
|
|
4940
4940
|
gamma: double
|
4941
4941
|
|
4942
4942
|
"""
|
4943
|
-
return _MathSwig.
|
4943
|
+
return _MathSwig.Math_Quat_from_euler_angles_yxyr(alpha, beta, gamma)
|
4944
4944
|
|
4945
|
-
def
|
4945
|
+
def Math_Quat_from_euler_angles_yxzr(alpha, beta, gamma):
|
4946
4946
|
r"""
|
4947
|
-
|
4947
|
+
Math_Quat_from_euler_angles_yxzr(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4948
4948
|
|
4949
4949
|
Parameters
|
4950
4950
|
----------
|
@@ -4953,11 +4953,11 @@ def Quat_from_euler_angles_yxzr(alpha, beta, gamma):
|
|
4953
4953
|
gamma: double
|
4954
4954
|
|
4955
4955
|
"""
|
4956
|
-
return _MathSwig.
|
4956
|
+
return _MathSwig.Math_Quat_from_euler_angles_yxzr(alpha, beta, gamma)
|
4957
4957
|
|
4958
|
-
def
|
4958
|
+
def Math_Quat_from_euler_angles_zxzr(alpha, beta, gamma):
|
4959
4959
|
r"""
|
4960
|
-
|
4960
|
+
Math_Quat_from_euler_angles_zxzr(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4961
4961
|
|
4962
4962
|
Parameters
|
4963
4963
|
----------
|
@@ -4966,11 +4966,11 @@ def Quat_from_euler_angles_zxzr(alpha, beta, gamma):
|
|
4966
4966
|
gamma: double
|
4967
4967
|
|
4968
4968
|
"""
|
4969
|
-
return _MathSwig.
|
4969
|
+
return _MathSwig.Math_Quat_from_euler_angles_zxzr(alpha, beta, gamma)
|
4970
4970
|
|
4971
|
-
def
|
4971
|
+
def Math_Quat_from_euler_angles_xyzr(alpha, beta, gamma):
|
4972
4972
|
r"""
|
4973
|
-
|
4973
|
+
Math_Quat_from_euler_angles_xyzr(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4974
4974
|
|
4975
4975
|
Parameters
|
4976
4976
|
----------
|
@@ -4979,11 +4979,11 @@ def Quat_from_euler_angles_xyzr(alpha, beta, gamma):
|
|
4979
4979
|
gamma: double
|
4980
4980
|
|
4981
4981
|
"""
|
4982
|
-
return _MathSwig.
|
4982
|
+
return _MathSwig.Math_Quat_from_euler_angles_xyzr(alpha, beta, gamma)
|
4983
4983
|
|
4984
|
-
def
|
4984
|
+
def Math_Quat_from_euler_angles_zyzr(alpha, beta, gamma):
|
4985
4985
|
r"""
|
4986
|
-
|
4986
|
+
Math_Quat_from_euler_angles_zyzr(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
4987
4987
|
|
4988
4988
|
Parameters
|
4989
4989
|
----------
|
@@ -4992,11 +4992,11 @@ def Quat_from_euler_angles_zyzr(alpha, beta, gamma):
|
|
4992
4992
|
gamma: double
|
4993
4993
|
|
4994
4994
|
"""
|
4995
|
-
return _MathSwig.
|
4995
|
+
return _MathSwig.Math_Quat_from_euler_angles_zyzr(alpha, beta, gamma)
|
4996
4996
|
|
4997
|
-
def
|
4997
|
+
def Math_Quat_from_euler_angles(alpha, beta, gamma):
|
4998
4998
|
r"""
|
4999
|
-
|
4999
|
+
Math_Quat_from_euler_angles(double alpha, double beta, double gamma) -> std::shared_ptr< openplx::Math::Quat >
|
5000
5000
|
|
5001
5001
|
Parameters
|
5002
5002
|
----------
|
@@ -5005,35 +5005,35 @@ def Quat_from_euler_angles(alpha, beta, gamma):
|
|
5005
5005
|
gamma: double
|
5006
5006
|
|
5007
5007
|
"""
|
5008
|
-
return _MathSwig.
|
5008
|
+
return _MathSwig.Math_Quat_from_euler_angles(alpha, beta, gamma)
|
5009
5009
|
|
5010
|
-
class
|
5010
|
+
class Math_Vec2(openplx.Core.Object):
|
5011
5011
|
r"""Proxy of C++ openplx::Math::Vec2 class."""
|
5012
5012
|
|
5013
5013
|
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
5014
5014
|
__repr__ = _swig_repr
|
5015
5015
|
|
5016
5016
|
def __init__(self):
|
5017
|
-
r"""__init__(
|
5018
|
-
_MathSwig.
|
5017
|
+
r"""__init__(Math_Vec2 self) -> Math_Vec2"""
|
5018
|
+
_MathSwig.Math_Vec2_swiginit(self, _MathSwig.new_Math_Vec2())
|
5019
5019
|
|
5020
5020
|
def x(self):
|
5021
|
-
r"""x(
|
5022
|
-
return _MathSwig.
|
5021
|
+
r"""x(Math_Vec2 self) -> double"""
|
5022
|
+
return _MathSwig.Math_Vec2_x(self)
|
5023
5023
|
|
5024
5024
|
def y(self):
|
5025
|
-
r"""y(
|
5026
|
-
return _MathSwig.
|
5025
|
+
r"""y(Math_Vec2 self) -> double"""
|
5026
|
+
return _MathSwig.Math_Vec2_y(self)
|
5027
5027
|
|
5028
5028
|
@staticmethod
|
5029
5029
|
def X_AXIS():
|
5030
5030
|
r"""X_AXIS() -> std::shared_ptr< openplx::Math::Vec2 >"""
|
5031
|
-
return _MathSwig.
|
5031
|
+
return _MathSwig.Math_Vec2_X_AXIS()
|
5032
5032
|
|
5033
5033
|
@staticmethod
|
5034
5034
|
def Y_AXIS():
|
5035
5035
|
r"""Y_AXIS() -> std::shared_ptr< openplx::Math::Vec2 >"""
|
5036
|
-
return _MathSwig.
|
5036
|
+
return _MathSwig.Math_Vec2_Y_AXIS()
|
5037
5037
|
|
5038
5038
|
@staticmethod
|
5039
5039
|
def from_xy(x, y):
|
@@ -5046,30 +5046,30 @@ class Vec2(openplx.Core.Object):
|
|
5046
5046
|
y: double
|
5047
5047
|
|
5048
5048
|
"""
|
5049
|
-
return _MathSwig.
|
5049
|
+
return _MathSwig.Math_Vec2_from_xy(x, y)
|
5050
5050
|
|
5051
5051
|
def length(self):
|
5052
|
-
r"""length(
|
5053
|
-
return _MathSwig.
|
5052
|
+
r"""length(Math_Vec2 self) -> double"""
|
5053
|
+
return _MathSwig.Math_Vec2_length(self)
|
5054
5054
|
|
5055
5055
|
def normal(self):
|
5056
|
-
r"""normal(
|
5057
|
-
return _MathSwig.
|
5056
|
+
r"""normal(Math_Vec2 self) -> std::shared_ptr< openplx::Math::Vec2 >"""
|
5057
|
+
return _MathSwig.Math_Vec2_normal(self)
|
5058
5058
|
|
5059
5059
|
def dot(self, rhs):
|
5060
5060
|
r"""
|
5061
|
-
dot(
|
5061
|
+
dot(Math_Vec2 self, std::shared_ptr< openplx::Math::Vec2 > rhs) -> double
|
5062
5062
|
|
5063
5063
|
Parameters
|
5064
5064
|
----------
|
5065
5065
|
rhs: std::shared_ptr< openplx::Math::Vec2 >
|
5066
5066
|
|
5067
5067
|
"""
|
5068
|
-
return _MathSwig.
|
5068
|
+
return _MathSwig.Math_Vec2_dot(self, rhs)
|
5069
5069
|
|
5070
5070
|
def setDynamic(self, key, value):
|
5071
5071
|
r"""
|
5072
|
-
setDynamic(
|
5072
|
+
setDynamic(Math_Vec2 self, std::string const & key, Any value)
|
5073
5073
|
|
5074
5074
|
Parameters
|
5075
5075
|
----------
|
@@ -5077,22 +5077,22 @@ class Vec2(openplx.Core.Object):
|
|
5077
5077
|
value: openplx::Core::Any &&
|
5078
5078
|
|
5079
5079
|
"""
|
5080
|
-
return _MathSwig.
|
5080
|
+
return _MathSwig.Math_Vec2_setDynamic(self, key, value)
|
5081
5081
|
|
5082
5082
|
def getDynamic(self, key):
|
5083
5083
|
r"""
|
5084
|
-
getDynamic(
|
5084
|
+
getDynamic(Math_Vec2 self, std::string const & key) -> Any
|
5085
5085
|
|
5086
5086
|
Parameters
|
5087
5087
|
----------
|
5088
5088
|
key: std::string const &
|
5089
5089
|
|
5090
5090
|
"""
|
5091
|
-
return _MathSwig.
|
5091
|
+
return _MathSwig.Math_Vec2_getDynamic(self, key)
|
5092
5092
|
|
5093
5093
|
def callDynamic(self, key, args):
|
5094
5094
|
r"""
|
5095
|
-
callDynamic(
|
5095
|
+
callDynamic(Math_Vec2 self, std::string const & key, AnyVector args) -> Any
|
5096
5096
|
|
5097
5097
|
Parameters
|
5098
5098
|
----------
|
@@ -5100,56 +5100,56 @@ class Vec2(openplx.Core.Object):
|
|
5100
5100
|
args: std::vector< openplx::Core::Any,std::allocator< openplx::Core::Any > > const &
|
5101
5101
|
|
5102
5102
|
"""
|
5103
|
-
return _MathSwig.
|
5103
|
+
return _MathSwig.Math_Vec2_callDynamic(self, key, args)
|
5104
5104
|
|
5105
5105
|
def extractObjectFieldsTo(self, output):
|
5106
5106
|
r"""
|
5107
|
-
extractObjectFieldsTo(
|
5107
|
+
extractObjectFieldsTo(Math_Vec2 self, ObjectVector output)
|
5108
5108
|
|
5109
5109
|
Parameters
|
5110
5110
|
----------
|
5111
5111
|
output: std::vector< std::shared_ptr< openplx::Core::Object >,std::allocator< std::shared_ptr< openplx::Core::Object > > > &
|
5112
5112
|
|
5113
5113
|
"""
|
5114
|
-
return _MathSwig.
|
5114
|
+
return _MathSwig.Math_Vec2_extractObjectFieldsTo(self, output)
|
5115
5115
|
|
5116
5116
|
def extractEntriesTo(self, output):
|
5117
5117
|
r"""
|
5118
|
-
extractEntriesTo(
|
5118
|
+
extractEntriesTo(Math_Vec2 self, std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > & output)
|
5119
5119
|
|
5120
5120
|
Parameters
|
5121
5121
|
----------
|
5122
5122
|
output: std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > &
|
5123
5123
|
|
5124
5124
|
"""
|
5125
|
-
return _MathSwig.
|
5125
|
+
return _MathSwig.Math_Vec2_extractEntriesTo(self, output)
|
5126
5126
|
|
5127
5127
|
def triggerOnInit(self, context):
|
5128
5128
|
r"""
|
5129
|
-
triggerOnInit(
|
5129
|
+
triggerOnInit(Math_Vec2 self, openplx::RuntimeContext const & context)
|
5130
5130
|
|
5131
5131
|
Parameters
|
5132
5132
|
----------
|
5133
5133
|
context: openplx::RuntimeContext const &
|
5134
5134
|
|
5135
5135
|
"""
|
5136
|
-
return _MathSwig.
|
5137
|
-
__swig_destroy__ = _MathSwig.
|
5136
|
+
return _MathSwig.Math_Vec2_triggerOnInit(self, context)
|
5137
|
+
__swig_destroy__ = _MathSwig.delete_Math_Vec2
|
5138
5138
|
|
5139
|
-
# Register
|
5140
|
-
_MathSwig.
|
5139
|
+
# Register Math_Vec2 in _MathSwig:
|
5140
|
+
_MathSwig.Math_Vec2_swigregister(Math_Vec2)
|
5141
5141
|
|
5142
|
-
def
|
5143
|
-
r"""
|
5144
|
-
return _MathSwig.
|
5142
|
+
def Math_Vec2_X_AXIS():
|
5143
|
+
r"""Math_Vec2_X_AXIS() -> std::shared_ptr< openplx::Math::Vec2 >"""
|
5144
|
+
return _MathSwig.Math_Vec2_X_AXIS()
|
5145
5145
|
|
5146
|
-
def
|
5147
|
-
r"""
|
5148
|
-
return _MathSwig.
|
5146
|
+
def Math_Vec2_Y_AXIS():
|
5147
|
+
r"""Math_Vec2_Y_AXIS() -> std::shared_ptr< openplx::Math::Vec2 >"""
|
5148
|
+
return _MathSwig.Math_Vec2_Y_AXIS()
|
5149
5149
|
|
5150
|
-
def
|
5150
|
+
def Math_Vec2_from_xy(x, y):
|
5151
5151
|
r"""
|
5152
|
-
|
5152
|
+
Math_Vec2_from_xy(double x, double y) -> std::shared_ptr< openplx::Math::Vec2 >
|
5153
5153
|
|
5154
5154
|
Parameters
|
5155
5155
|
----------
|
@@ -5157,44 +5157,44 @@ def Vec2_from_xy(x, y):
|
|
5157
5157
|
y: double
|
5158
5158
|
|
5159
5159
|
"""
|
5160
|
-
return _MathSwig.
|
5160
|
+
return _MathSwig.Math_Vec2_from_xy(x, y)
|
5161
5161
|
|
5162
|
-
class
|
5162
|
+
class Math_Vec3(openplx.Core.Object):
|
5163
5163
|
r"""Proxy of C++ openplx::Math::Vec3 class."""
|
5164
5164
|
|
5165
5165
|
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
|
5166
5166
|
__repr__ = _swig_repr
|
5167
5167
|
|
5168
5168
|
def __init__(self):
|
5169
|
-
r"""__init__(
|
5170
|
-
_MathSwig.
|
5169
|
+
r"""__init__(Math_Vec3 self) -> Math_Vec3"""
|
5170
|
+
_MathSwig.Math_Vec3_swiginit(self, _MathSwig.new_Math_Vec3())
|
5171
5171
|
|
5172
5172
|
def x(self):
|
5173
|
-
r"""x(
|
5174
|
-
return _MathSwig.
|
5173
|
+
r"""x(Math_Vec3 self) -> double"""
|
5174
|
+
return _MathSwig.Math_Vec3_x(self)
|
5175
5175
|
|
5176
5176
|
def y(self):
|
5177
|
-
r"""y(
|
5178
|
-
return _MathSwig.
|
5177
|
+
r"""y(Math_Vec3 self) -> double"""
|
5178
|
+
return _MathSwig.Math_Vec3_y(self)
|
5179
5179
|
|
5180
5180
|
def z(self):
|
5181
|
-
r"""z(
|
5182
|
-
return _MathSwig.
|
5181
|
+
r"""z(Math_Vec3 self) -> double"""
|
5182
|
+
return _MathSwig.Math_Vec3_z(self)
|
5183
5183
|
|
5184
5184
|
@staticmethod
|
5185
5185
|
def X_AXIS():
|
5186
5186
|
r"""X_AXIS() -> std::shared_ptr< openplx::Math::Vec3 >"""
|
5187
|
-
return _MathSwig.
|
5187
|
+
return _MathSwig.Math_Vec3_X_AXIS()
|
5188
5188
|
|
5189
5189
|
@staticmethod
|
5190
5190
|
def Y_AXIS():
|
5191
5191
|
r"""Y_AXIS() -> std::shared_ptr< openplx::Math::Vec3 >"""
|
5192
|
-
return _MathSwig.
|
5192
|
+
return _MathSwig.Math_Vec3_Y_AXIS()
|
5193
5193
|
|
5194
5194
|
@staticmethod
|
5195
5195
|
def Z_AXIS():
|
5196
5196
|
r"""Z_AXIS() -> std::shared_ptr< openplx::Math::Vec3 >"""
|
5197
|
-
return _MathSwig.
|
5197
|
+
return _MathSwig.Math_Vec3_Z_AXIS()
|
5198
5198
|
|
5199
5199
|
@staticmethod
|
5200
5200
|
def from_xyz(x, y, z):
|
@@ -5208,41 +5208,41 @@ class Vec3(openplx.Core.Object):
|
|
5208
5208
|
z: double
|
5209
5209
|
|
5210
5210
|
"""
|
5211
|
-
return _MathSwig.
|
5211
|
+
return _MathSwig.Math_Vec3_from_xyz(x, y, z)
|
5212
5212
|
|
5213
5213
|
def length(self):
|
5214
|
-
r"""length(
|
5215
|
-
return _MathSwig.
|
5214
|
+
r"""length(Math_Vec3 self) -> double"""
|
5215
|
+
return _MathSwig.Math_Vec3_length(self)
|
5216
5216
|
|
5217
5217
|
def normal(self):
|
5218
|
-
r"""normal(
|
5219
|
-
return _MathSwig.
|
5218
|
+
r"""normal(Math_Vec3 self) -> std::shared_ptr< openplx::Math::Vec3 >"""
|
5219
|
+
return _MathSwig.Math_Vec3_normal(self)
|
5220
5220
|
|
5221
5221
|
def dot(self, rhs):
|
5222
5222
|
r"""
|
5223
|
-
dot(
|
5223
|
+
dot(Math_Vec3 self, std::shared_ptr< openplx::Math::Vec3 > rhs) -> double
|
5224
5224
|
|
5225
5225
|
Parameters
|
5226
5226
|
----------
|
5227
5227
|
rhs: std::shared_ptr< openplx::Math::Vec3 >
|
5228
5228
|
|
5229
5229
|
"""
|
5230
|
-
return _MathSwig.
|
5230
|
+
return _MathSwig.Math_Vec3_dot(self, rhs)
|
5231
5231
|
|
5232
5232
|
def cross(self, rhs):
|
5233
5233
|
r"""
|
5234
|
-
cross(
|
5234
|
+
cross(Math_Vec3 self, std::shared_ptr< openplx::Math::Vec3 > rhs) -> std::shared_ptr< openplx::Math::Vec3 >
|
5235
5235
|
|
5236
5236
|
Parameters
|
5237
5237
|
----------
|
5238
5238
|
rhs: std::shared_ptr< openplx::Math::Vec3 >
|
5239
5239
|
|
5240
5240
|
"""
|
5241
|
-
return _MathSwig.
|
5241
|
+
return _MathSwig.Math_Vec3_cross(self, rhs)
|
5242
5242
|
|
5243
5243
|
def get_orthogonal_unit_vector(self):
|
5244
|
-
r"""get_orthogonal_unit_vector(
|
5245
|
-
return _MathSwig.
|
5244
|
+
r"""get_orthogonal_unit_vector(Math_Vec3 self) -> std::shared_ptr< openplx::Math::Vec3 >"""
|
5245
|
+
return _MathSwig.Math_Vec3_get_orthogonal_unit_vector(self)
|
5246
5246
|
|
5247
5247
|
@staticmethod
|
5248
5248
|
def angle_between_vectors(vector1, vector2, rot_vector):
|
@@ -5256,11 +5256,11 @@ class Vec3(openplx.Core.Object):
|
|
5256
5256
|
rot_vector: std::shared_ptr< openplx::Math::Vec3 >
|
5257
5257
|
|
5258
5258
|
"""
|
5259
|
-
return _MathSwig.
|
5259
|
+
return _MathSwig.Math_Vec3_angle_between_vectors(vector1, vector2, rot_vector)
|
5260
5260
|
|
5261
5261
|
def setDynamic(self, key, value):
|
5262
5262
|
r"""
|
5263
|
-
setDynamic(
|
5263
|
+
setDynamic(Math_Vec3 self, std::string const & key, Any value)
|
5264
5264
|
|
5265
5265
|
Parameters
|
5266
5266
|
----------
|
@@ -5268,22 +5268,22 @@ class Vec3(openplx.Core.Object):
|
|
5268
5268
|
value: openplx::Core::Any &&
|
5269
5269
|
|
5270
5270
|
"""
|
5271
|
-
return _MathSwig.
|
5271
|
+
return _MathSwig.Math_Vec3_setDynamic(self, key, value)
|
5272
5272
|
|
5273
5273
|
def getDynamic(self, key):
|
5274
5274
|
r"""
|
5275
|
-
getDynamic(
|
5275
|
+
getDynamic(Math_Vec3 self, std::string const & key) -> Any
|
5276
5276
|
|
5277
5277
|
Parameters
|
5278
5278
|
----------
|
5279
5279
|
key: std::string const &
|
5280
5280
|
|
5281
5281
|
"""
|
5282
|
-
return _MathSwig.
|
5282
|
+
return _MathSwig.Math_Vec3_getDynamic(self, key)
|
5283
5283
|
|
5284
5284
|
def callDynamic(self, key, args):
|
5285
5285
|
r"""
|
5286
|
-
callDynamic(
|
5286
|
+
callDynamic(Math_Vec3 self, std::string const & key, AnyVector args) -> Any
|
5287
5287
|
|
5288
5288
|
Parameters
|
5289
5289
|
----------
|
@@ -5291,60 +5291,60 @@ class Vec3(openplx.Core.Object):
|
|
5291
5291
|
args: std::vector< openplx::Core::Any,std::allocator< openplx::Core::Any > > const &
|
5292
5292
|
|
5293
5293
|
"""
|
5294
|
-
return _MathSwig.
|
5294
|
+
return _MathSwig.Math_Vec3_callDynamic(self, key, args)
|
5295
5295
|
|
5296
5296
|
def extractObjectFieldsTo(self, output):
|
5297
5297
|
r"""
|
5298
|
-
extractObjectFieldsTo(
|
5298
|
+
extractObjectFieldsTo(Math_Vec3 self, ObjectVector output)
|
5299
5299
|
|
5300
5300
|
Parameters
|
5301
5301
|
----------
|
5302
5302
|
output: std::vector< std::shared_ptr< openplx::Core::Object >,std::allocator< std::shared_ptr< openplx::Core::Object > > > &
|
5303
5303
|
|
5304
5304
|
"""
|
5305
|
-
return _MathSwig.
|
5305
|
+
return _MathSwig.Math_Vec3_extractObjectFieldsTo(self, output)
|
5306
5306
|
|
5307
5307
|
def extractEntriesTo(self, output):
|
5308
5308
|
r"""
|
5309
|
-
extractEntriesTo(
|
5309
|
+
extractEntriesTo(Math_Vec3 self, std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > & output)
|
5310
5310
|
|
5311
5311
|
Parameters
|
5312
5312
|
----------
|
5313
5313
|
output: std::vector< std::pair< std::string,openplx::Core::Any >,std::allocator< std::pair< std::string,openplx::Core::Any > > > &
|
5314
5314
|
|
5315
5315
|
"""
|
5316
|
-
return _MathSwig.
|
5316
|
+
return _MathSwig.Math_Vec3_extractEntriesTo(self, output)
|
5317
5317
|
|
5318
5318
|
def triggerOnInit(self, context):
|
5319
5319
|
r"""
|
5320
|
-
triggerOnInit(
|
5320
|
+
triggerOnInit(Math_Vec3 self, openplx::RuntimeContext const & context)
|
5321
5321
|
|
5322
5322
|
Parameters
|
5323
5323
|
----------
|
5324
5324
|
context: openplx::RuntimeContext const &
|
5325
5325
|
|
5326
5326
|
"""
|
5327
|
-
return _MathSwig.
|
5328
|
-
__swig_destroy__ = _MathSwig.
|
5327
|
+
return _MathSwig.Math_Vec3_triggerOnInit(self, context)
|
5328
|
+
__swig_destroy__ = _MathSwig.delete_Math_Vec3
|
5329
5329
|
|
5330
|
-
# Register
|
5331
|
-
_MathSwig.
|
5330
|
+
# Register Math_Vec3 in _MathSwig:
|
5331
|
+
_MathSwig.Math_Vec3_swigregister(Math_Vec3)
|
5332
5332
|
|
5333
|
-
def
|
5334
|
-
r"""
|
5335
|
-
return _MathSwig.
|
5333
|
+
def Math_Vec3_X_AXIS():
|
5334
|
+
r"""Math_Vec3_X_AXIS() -> std::shared_ptr< openplx::Math::Vec3 >"""
|
5335
|
+
return _MathSwig.Math_Vec3_X_AXIS()
|
5336
5336
|
|
5337
|
-
def
|
5338
|
-
r"""
|
5339
|
-
return _MathSwig.
|
5337
|
+
def Math_Vec3_Y_AXIS():
|
5338
|
+
r"""Math_Vec3_Y_AXIS() -> std::shared_ptr< openplx::Math::Vec3 >"""
|
5339
|
+
return _MathSwig.Math_Vec3_Y_AXIS()
|
5340
5340
|
|
5341
|
-
def
|
5342
|
-
r"""
|
5343
|
-
return _MathSwig.
|
5341
|
+
def Math_Vec3_Z_AXIS():
|
5342
|
+
r"""Math_Vec3_Z_AXIS() -> std::shared_ptr< openplx::Math::Vec3 >"""
|
5343
|
+
return _MathSwig.Math_Vec3_Z_AXIS()
|
5344
5344
|
|
5345
|
-
def
|
5345
|
+
def Math_Vec3_from_xyz(x, y, z):
|
5346
5346
|
r"""
|
5347
|
-
|
5347
|
+
Math_Vec3_from_xyz(double x, double y, double z) -> std::shared_ptr< openplx::Math::Vec3 >
|
5348
5348
|
|
5349
5349
|
Parameters
|
5350
5350
|
----------
|
@@ -5353,11 +5353,11 @@ def Vec3_from_xyz(x, y, z):
|
|
5353
5353
|
z: double
|
5354
5354
|
|
5355
5355
|
"""
|
5356
|
-
return _MathSwig.
|
5356
|
+
return _MathSwig.Math_Vec3_from_xyz(x, y, z)
|
5357
5357
|
|
5358
|
-
def
|
5358
|
+
def Math_Vec3_angle_between_vectors(vector1, vector2, rot_vector):
|
5359
5359
|
r"""
|
5360
|
-
|
5360
|
+
Math_Vec3_angle_between_vectors(std::shared_ptr< openplx::Math::Vec3 > vector1, std::shared_ptr< openplx::Math::Vec3 > vector2, std::shared_ptr< openplx::Math::Vec3 > rot_vector) -> double
|
5361
5361
|
|
5362
5362
|
Parameters
|
5363
5363
|
----------
|
@@ -5366,7 +5366,7 @@ def Vec3_angle_between_vectors(vector1, vector2, rot_vector):
|
|
5366
5366
|
rot_vector: std::shared_ptr< openplx::Math::Vec3 >
|
5367
5367
|
|
5368
5368
|
"""
|
5369
|
-
return _MathSwig.
|
5369
|
+
return _MathSwig.Math_Vec3_angle_between_vectors(vector1, vector2, rot_vector)
|
5370
5370
|
|
5371
5371
|
|
5372
5372
|
|