Aardvark.Base


Scale3f

A three dimensional scaling transform with different scaling values in each dimension.

Constructors

ConstructorDescription
new(x, y, z)
Signature: (x:float32 * y:float32 * z:float32) -> unit

Initializes a using three floats.

new(v)
Signature: v:V3f -> unit
new(uniform)
Signature: uniform:float32 -> unit

Initializes a using a uniform float value.

new(array)
Signature: (array:float32 []) -> unit

Initializes a class from float-array.

new(array, start)
Signature: (array:float32 [] * start:int) -> unit

Initializes a class from float-array starting from passed index

Instance members

Instance memberDescription
Equals(obj)
Signature: obj:obj -> bool
Modifiers: abstract
GetHashCode()
Signature: unit -> int
Modifiers: abstract
Inverse
Signature: Scale3f
[()]
Signature: unit -> int
Length
Signature: float32

Calculates the length of a .

LengthSquared
Signature: float32

Calculates the squared length of a .

ToString()
Signature: unit -> string
Modifiers: abstract
X()
Signature: unit -> unit

Gets and sets the X coordinate.

Y()
Signature: unit -> unit

Gets and sets the Y coordinate.

Z()
Signature: unit -> unit

Gets and sets the Z coordinate.

Static members

Static memberDescription
Divide(scale, val)
Signature: (scale:Scale3f * val:float32) -> Scale3f

Division of a instance with a float scalar.

Divide(val, scale)
Signature: (val:float32 * scale:Scale3f) -> Scale3f

Division of a float scalar with a .

Multiply(scale, value)
Signature: (scale:Scale3f * value:float32) -> Scale3f

Multiplacation of a float scalar with a .

Multiply(scale0, scale1)
Signature: (scale0:Scale3f * scale1:Scale3f) -> Scale3f

Multiplication of two s.

Multiply(scale, rot)
Signature: (scale:Scale3f * rot:Rot3f) -> M33f
Multiply(scale, v)
Signature: (scale:Scale3f * v:V2f) -> V2f

Multiplacation of a with a .

Multiply(scale, v)
Signature: (scale:Scale3f * v:V3f) -> V3f

Multiplacation of a with a .

Multiply(scale, vec)
Signature: (scale:Scale3f * vec:V4f) -> V4f

Multiplacation of a with a .

Multiply(scale, mat)
Signature: (scale:Scale3f * mat:M22f) -> M33f

Multiplacation of a with a .

Multiply(scale, mat)
Signature: (scale:Scale3f * mat:M33f) -> M33f

Multiplacation of a with a .

Multiply(scale, mat)
Signature: (scale:Scale3f * mat:M34f) -> M34f

Multiplacation of a with a .

Multiply(scale, mat)
Signature: (scale:Scale3f * mat:M44f) -> M44f

Multiplacation of a with a .

Multiply(scale, rot)
Signature: (scale:Scale3f * rot:Rot2f) -> M33f
Multiply(scale, shift)
Signature: (scale:Scale3f * shift:Shift3f) -> M34f

Multiplacation of a with a .

Negate(scale)
Signature: scale:Scale3f -> Scale3f

Negates all values of a .

op_Division(scale, value)
Signature: (scale:Scale3f * value:float32) -> Scale3f

Calculates the division of a with a float scalar.

op_Division(value, scale)
Signature: (value:float32 * scale:Scale3f) -> Scale3f

Calculates the division of a float scalar with a .

op_Equality(s0, s1)
Signature: (s0:Scale3f * s1:Scale3f) -> bool

Checks whether two s are equal.

op_Explicit(s)
Signature: s:Scale3f -> M33f
op_Explicit(s)
Signature: s:Scale3f -> M44f
op_Explicit(s)
Signature: s:Scale3f -> M34f
op_Explicit(s)
Signature: s:Scale3f -> float32 []
op_GreaterThan(s0, s1)
Signature: (s0:Scale3f * s1:Scale3f) -> bool

Checks whether all components of a
are bigger then the components of the second .

op_GreaterThanOrEqual(s0, s1)
Signature: (s0:Scale3f * s1:Scale3f) -> bool

Checks whether all components of a
are bigger or equal then the components of the second .

op_Inequality(s0, s1)
Signature: (s0:Scale3f * s1:Scale3f) -> bool

Checks whether two instances are different.

op_LessThan(s0, s1)
Signature: (s0:Scale3f * s1:Scale3f) -> bool

Checks whether all components of a
are smaller then the components of the second .

op_LessThanOrEqual(s0, s1)
Signature: (s0:Scale3f * s1:Scale3f) -> bool

Checks whether all components of a
are smaller or equal then the components of the second .

op_Multiply(scale, scalar)
Signature: (scale:Scale3f * scalar:float32) -> Scale3f

Calculates the multiplacation of a float scalar with a .

op_Multiply(scale, vector)
Signature: (scale:Scale3f * vector:V2f) -> V2f

Calculates the multiplacation of a with a .

op_Multiply(scale, vector)
Signature: (scale:Scale3f * vector:V3f) -> V3f

Calculates the multiplacation of a with a .

op_Multiply(scale, vector)
Signature: (scale:Scale3f * vector:V4f) -> V4f

Calculates the multiplacation of a with a .

op_Multiply(scale, matrix)
Signature: (scale:Scale3f * matrix:M22f) -> M33f

Calculates the multiplacation of a with a .

op_Multiply(scale, matrix)
Signature: (scale:Scale3f * matrix:M33f) -> M33f

Calculates the multiplacation of a with a .

op_Multiply(scale, matrix)
Signature: (scale:Scale3f * matrix:M34f) -> M34f

Calculates the multiplacation of a with a .

op_Multiply(scale, matrix)
Signature: (scale:Scale3f * matrix:M44f) -> M44f

Calculates the multiplacation of a with a .

op_Multiply(scale, quaternion)
Signature: (scale:Scale3f * quaternion:Rot3f) -> M33f
op_Multiply(scale, rotation)
Signature: (scale:Scale3f * rotation:Rot2f) -> M33f
op_Multiply(scalar, scale)
Signature: (scalar:float32 * scale:Scale3f) -> Scale3f

Calculates the multiplacation of a with a float scalar.

op_Multiply(scale1, scale2)
Signature: (scale1:Scale3f * scale2:Scale3f) -> Scale3f

Calculates the multiplacation of a with a .

op_Multiply(vector, scale)
Signature: (vector:V3f * scale:Scale3f) -> V3f

Calculates the multiplacation of a with a .

op_Multiply(scale, shift)
Signature: (scale:Scale3f * shift:Shift3f) -> M34f

Calculates the multiplacation of a with a .

op_UnaryNegation(scalingVector)
Signature: scalingVector:Scale3f -> Scale3f

Negates the values of a instance.

Parse(s)
Signature: s:string -> Scale3f
Reciprocal(scale)
Signature: scale:Scale3f -> Scale3f

Calculates the reciprocal of a .

Fork me on GitHub