Rot2d
Constructors
Constructor | Description |
new(angleInRadians)
Signature: angleInRadians:float -> unit
|
Instance members
Instance member | Description |
Equals(obj)
Signature: obj:obj -> bool
Modifiers: abstract |
Checks if 2 objects are equal. |
GetHashCode()
Signature: unit -> int
Modifiers: abstract |
Calculates Hash-code of the given rotation. |
Inverse
Signature: Rot2d
|
|
Invert()
Signature: unit -> unit
|
|
InvTransformDir(v)
Signature: v:V2d -> V2d
|
Transforms a direction vector. |
InvTransformPos(v)
Signature: v:V2d -> V2d
|
Transforms a position vector. |
ToString()
Signature: unit -> string
Modifiers: abstract |
|
TransformDir(v)
Signature: v:V2d -> V2d
|
Transforms a direction vector. |
TransformPos(v)
Signature: v:V2d -> V2d
|
Transforms a position vector. |
Static members
Static member | Description |
Add(r0, r1)
Signature: (r0:Rot2d * r1:Rot2d) -> Rot2d
|
Adds 2 rotations. |
Add(rot, val)
Signature: (rot:Rot2d * val:float) -> Rot2d
|
Adds scalar to a rotation. |
ApproxEqual(r0, r1)
Signature: (r0:Rot2d * r1:Rot2d) -> bool
|
|
ApproxEqual(r0, r1, tolerance)
Signature: (r0:Rot2d * r1:Rot2d * tolerance:float) -> bool
|
|
Divide(rot, val)
Signature: (rot:Rot2d * val:float) -> Rot2d
|
Divides scalar by a rotation. |
FromM22d(m)
Signature: m:M22d -> Rot2d
|
|
InvTransformDir(rot, v)
Signature: (rot:Rot2d * v:V2d) -> V2d
|
Inverse transforms a direction vector. |
InvTransformPos(rot, v)
Signature: (rot:Rot2d * v:V2d) -> V2d
|
Transforms a position vector. |
Multiply(rot, val)
Signature: (rot:Rot2d * val:float) -> Rot2d
|
Multiplies scalar with a rotation. |
Multiply(rot, vec)
Signature: (rot:Rot2d * vec:V2d) -> V2d
|
|
Multiply(rot, vec)
Signature: (rot:Rot2d * vec:V3d) -> V3d
|
|
Multiply(rot, vec)
Signature: (rot:Rot2d * vec:V4d) -> V4d
|
|
Multiply(rot, mat)
Signature: (rot:Rot2d * mat:M22d) -> M22d
|
|
Multiply(rot, mat)
Signature: (rot:Rot2d * mat:M33d) -> M33d
|
|
Multiply(rot, mat)
Signature: (rot:Rot2d * mat:M34d) -> M34d
|
|
Multiply(rot, mat)
Signature: (rot:Rot2d * mat:M44d) -> M44d
|
|
Multiply(rot2, rot3)
Signature: (rot2:Rot2d * rot3:Rot3d) -> M33d
|
|
Multiply(r0, r2)
Signature: (r0:Rot2d * r2:Rot2d) -> Rot2d
|
Multiplies 2 rotations. |
Multiply(rot, scale)
Signature: (rot:Rot2d * scale:Scale3d) -> M33d
|
|
Multiply(rot, shift)
Signature: (rot:Rot2d * shift:Shift3d) -> M34d
|
|
Negate(rot)
Signature: rot:Rot2d -> Rot2d
|
Negates rotation. |
op_Addition(r0, r1)
Signature: (r0:Rot2d * r1:Rot2d) -> Rot2d
|
Adds 2 rotations. |
op_Addition(rot, angle)
Signature: (rot:Rot2d * angle:float) -> Rot2d
|
Adds a rotation and a scalar value. |
op_Addition(angle, rot)
Signature: (angle:float * rot:Rot2d) -> Rot2d
|
Adds a rotation and a scalar value. |
op_Division(rot, val)
Signature: (rot:Rot2d * val:float) -> Rot2d
|
Divides rotation by scalar value. |
op_Equality(rotation1, rotation2)
Signature: (rotation1:Rot2d * rotation2:Rot2d) -> bool
|
Checks if 2 rotations are equal. |
op_Explicit(r)
Signature: r:Rot2d -> M22d
|
|
op_Explicit(r)
Signature: r:Rot2d -> M23d
|
|
op_Explicit(r)
Signature: r:Rot2d -> M33d
|
|
op_Inequality(rotation1, rotation2)
Signature: (rotation1:Rot2d * rotation2:Rot2d) -> bool
|
Checks if 2 rotations are not equal. |
op_Multiply(rot, val)
Signature: (rot:Rot2d * val:float) -> Rot2d
|
Multiplies rotation with scalar value. |
op_Multiply(val, rot)
Signature: (val:float * rot:Rot2d) -> Rot2d
|
Multiplies rotation with scalar value. |
op_Multiply(rot, vec)
Signature: (rot:Rot2d * vec:V2d) -> V2d
|
|
op_Multiply(rot, vec)
Signature: (rot:Rot2d * vec:V3d) -> V3d
|
|
op_Multiply(rot, vec)
Signature: (rot:Rot2d * vec:V4d) -> V4d
|
|
op_Multiply(rot, mat)
Signature: (rot:Rot2d * mat:M22d) -> M22d
|
|
op_Multiply(rot, mat)
Signature: (rot:Rot2d * mat:M33d) -> M33d
|
|
op_Multiply(rot, mat)
Signature: (rot:Rot2d * mat:M34d) -> M34d
|
|
op_Multiply(rot, mat)
Signature: (rot:Rot2d * mat:M44d) -> M44d
|
|
op_Multiply(rot2, rot3)
Signature: (rot2:Rot2d * rot3:Rot3d) -> M33d
|
|
op_Multiply(r0, r1)
Signature: (r0:Rot2d * r1:Rot2d) -> Rot2d
|
|
op_Multiply(rot, scale)
Signature: (rot:Rot2d * scale:Scale3d) -> M33d
|
|
op_Multiply(rot, shift)
Signature: (rot:Rot2d * shift:Shift3d) -> M34d
|
|
op_Subtraction(r0, r1)
Signature: (r0:Rot2d * r1:Rot2d) -> Rot2d
|
Subtracts 2 rotations. |
op_Subtraction(rot, angle)
Signature: (rot:Rot2d * angle:float) -> Rot2d
|
Subtracts a rotation from a scalar value. |
op_Subtraction(angle, rot)
Signature: (angle:float * rot:Rot2d) -> Rot2d
|
Subtracts a rotation from a scalar value. |
op_UnaryNegation(rot)
Signature: rot:Rot2d -> Rot2d
|
Negates the rotation. |
Parse(s)
Signature: s:string -> Rot2d
|
|
Subtract(r0, r1)
Signature: (r0:Rot2d * r1:Rot2d) -> Rot2d
|
Subtracts 2 rotations. |
Subtract(rot, angle)
Signature: (rot:Rot2d * angle:float) -> Rot2d
|
Subtracts scalar from a rotation. |
Subtract(angle, rot)
Signature: (angle:float * rot:Rot2d) -> Rot2d
|
Subtracts rotation from a scalar. |
TransformDir(rot, v)
Signature: (rot:Rot2d * v:V2d) -> V2d
|
Transforms a direction vector. |
TransformPos(rot, v)
Signature: (rot:Rot2d * v:V2d) -> V2d
|
Transforms a position vector. |