
## angle_between(self, dir) {#aspose.threed.utilities.Vector3}

Calculate the inner angle between two direction
Two direction can be non-normalized vectors


### Returns 


inner angle in radian


```python

def angle_between(self, dir):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| dir | aspose.threed.utilities.Vector3 | The direction vector to compare with |


## angle_between(self, dir, up) {#aspose.threed.utilities.Vector3-aspose.threed.utilities.Vector3}

Calculate the inner angle between two direction
Two direction can be non-normalized vectors


### Returns 


inner angle in radian


```python

def angle_between(self, dir, up):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| dir | aspose.threed.utilities.Vector3 | The direction vector to compare with |
| up | aspose.threed.utilities.Vector3 | The up vector of the two direction's shared plane |



### See Also
* module [`aspose.threed.utilities`](../../)
* class [`Vector3`](/3d/python-net/aspose.threed.utilities/vector3)
