Aardvark.Base


Scale3d

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

Constructors

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

Initializes a using three doubles.

new(v)
Signature: v:V3d -> unit
new(uniform)
Signature: uniform:float -> unit

Initializes a using a uniform double value.

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

Initializes a class from double-array.

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

Initializes a class from double-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: Scale3d
[()]
Signature: unit -> int
Length
Signature: float

Calculates the length of a .

LengthSquared
Signature: float

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:Scale3d * val:float) -> Scale3d

Division of a instance with a double scalar.

Divide(val, scale)
Signature: (val:float * scale:Scale3d) -> Scale3d

Division of a double scalar with a .

Multiply(scale, value)
Signature: (scale:Scale3d * value:float) -> Scale3d

Multiplacation of a double scalar with a .

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

Multiplication of two s.

Multiply(scale, rot)
Signature: (scale:Scale3d * rot:Rot3d) -> M33d
Multiply(scale, v)
Signature: (scale:Scale3d * v:V2d) -> V2d

Multiplacation of a with a .

Multiply(scale, v)
Signature: (scale:Scale3d * v:V3d) -> V3d

Multiplacation of a with a .

Multiply(scale, vec)
Signature: (scale:Scale3d * vec:V4d) -> V4d

Multiplacation of a with a .

Multiply(scale, mat)
Signature: (scale:Scale3d * mat:M22d) -> M33d

Multiplacation of a with a .

Multiply(scale, mat)
Signature: (scale:Scale3d * mat:M33d) -> M33d

Multiplacation of a with a .

Multiply(scale, mat)
Signature: (scale:Scale3d * mat:M34d) -> M34d

Multiplacation of a with a .

Multiply(scale, mat)
Signature: (scale:Scale3d * mat:M44d) -> M44d

Multiplacation of a with a .

Multiply(scale, rot)
Signature: (scale:Scale3d * rot:Rot2d) -> M33d
Multiply(scale, shift)
Signature: (scale:Scale3d * shift:Shift3d) -> M34d

Multiplacation of a with a .

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

Negates all values of a .

op_Division(scale, value)
Signature: (scale:Scale3d * value:float) -> Scale3d

Calculates the division of a with a double scalar.

op_Division(value, scale)
Signature: (value:float * scale:Scale3d) -> Scale3d

Calculates the division of a double scalar with a .

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

Checks whether two s are equal.

op_Explicit(s)
Signature: s:Scale3d -> M33d
op_Explicit(s)
Signature: s:Scale3d -> M44d
op_Explicit(s)
Signature: s:Scale3d -> M34d
op_Explicit(s)
Signature: s:Scale3d -> float []
op_GreaterThan(s0, s1)
Signature: (s0:Scale3d * s1:Scale3d) -> bool

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

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

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

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

Checks whether two instances are different.

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

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

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

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

op_Multiply(scale, scalar)
Signature: (scale:Scale3d * scalar:float) -> Scale3d

Calculates the multiplacation of a double scalar with a .

op_Multiply(scale, vector)
Signature: (scale:Scale3d * vector:V2d) -> V2d

Calculates the multiplacation of a with a .

op_Multiply(scale, vector)
Signature: (scale:Scale3d * vector:V3d) -> V3d

Calculates the multiplacation of a with a .

op_Multiply(scale, vector)
Signature: (scale:Scale3d * vector:V4d) -> V4d

Calculates the multiplacation of a with a .

op_Multiply(scale, matrix)
Signature: (scale:Scale3d * matrix:M22d) -> M33d

Calculates the multiplacation of a with a .

op_Multiply(scale, matrix)
Signature: (scale:Scale3d * matrix:M33d) -> M33d

Calculates the multiplacation of a with a .

op_Multiply(scale, matrix)
Signature: (scale:Scale3d * matrix:M34d) -> M34d

Calculates the multiplacation of a with a .

op_Multiply(scale, matrix)
Signature: (scale:Scale3d * matrix:M44d) -> M44d

Calculates the multiplacation of a with a .

op_Multiply(scale, quaternion)
Signature: (scale:Scale3d * quaternion:Rot3d) -> M33d
op_Multiply(scale, rotation)
Signature: (scale:Scale3d * rotation:Rot2d) -> M33d
op_Multiply(scalar, scale)
Signature: (scalar:float * scale:Scale3d) -> Scale3d

Calculates the multiplacation of a with a double scalar.

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

Calculates the multiplacation of a with a .

op_Multiply(vector, scale)
Signature: (vector:V3d * scale:Scale3d) -> V3d

Calculates the multiplacation of a with a .

op_Multiply(scale, shift)
Signature: (scale:Scale3d * shift:Shift3d) -> M34d

Calculates the multiplacation of a with a .

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

Negates the values of a instance.

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

Calculates the reciprocal of a .

Fork me on GitHub