SwoLib
1.0.0
jvm
SwoLib
/
cshcyberhawks.swolib.math
/
Polar
Polar
class
Polar
(
var
theta
:
Double
=
0.0
,
var
r
:
Double
=
0.0
)
A class to represent a polar vector
Parameters
theta
The angle of the vector
r
The length of the vector
Members
Constructors
Polar
Link copied to clipboard
constructor
(
theta
:
Double
=
0.0
,
r
:
Double
=
0.0
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
Properties
r
Link copied to clipboard
var
r
:
Double
theta
Link copied to clipboard
var
theta
:
Double