MeshLib C# Docs
Loading...
Searching...
No Matches
MR.ConstBox_AffineXf3f Class Reference

affine transformation: y = A*x + b, where A in VxV, and b in V Generated from class MR.AffineXf3f. This is the const reference to the struct. More...

+ Inheritance diagram for MR.ConstBox_AffineXf3f:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe ConstBox_AffineXf3f (AffineXf3f other)
 Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)
 
unsafe ConstBox_AffineXf3f (ConstBox_AffineXf3f _other)
 Generated copy constructor.
 
unsafe ConstBox_AffineXf3f ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_AffineXf3f (in MR.Matrix3f A, in MR.Vector3f b)
 Generated from constructor MR.AffineXf3f.AffineXf3f.
 
unsafe ConstBox_AffineXf3f (in MR.AffineXf3d xf)
 Generated from constructor MR.AffineXf3f.AffineXf3f.
 
unsafe MR.Vector3f call (in MR.Vector3f x)
 application of the transformation to a point Generated from method MR.AffineXf3f.operator().
 
unsafe MR.Vector3f linearOnly (in MR.Vector3f x)
 applies only linear part of the transformation to given vector (e.g. to normal) skipping adding shift (b) for example if this is a rigid transformation, then only rotates input vector Generated from method MR.AffineXf3f.linearOnly.
 
unsafe MR.AffineXf3f inverse ()
 computes inverse transformation Generated from method MR.AffineXf3f.inverse.
 
bool Equals (MR.ConstBox_AffineXf3f? b)
 
override bool Equals (object? other)
 

Static Public Member Functions

static implicit operator ConstBox_AffineXf3f (AffineXf3f other)
 Convert from a struct by copying it. Note that only ConstBox_AffineXf3f has this conversion, Box_AffineXf3f intentionally doesn't.
 
static unsafe MR.AffineXf3f translation (in MR.Vector3f b)
 creates translation-only transformation (with identity linear component) Generated from method MR.AffineXf3f.translation.
 
static unsafe MR.AffineXf3f linear (in MR.Matrix3f A)
 creates linear-only transformation (without translation) Generated from method MR.AffineXf3f.linear.
 
static unsafe MR.AffineXf3f xfAround (in MR.Matrix3f A, in MR.Vector3f stable)
 creates transformation with given linear part with given stable point Generated from method MR.AffineXf3f.xfAround.
 
static unsafe MR.AffineXf3f operator* (MR.ConstBox_AffineXf3f u, in MR.AffineXf3f v)
 composition of two transformations: \( y = (u * v) ( x ) = u( v( x ) ) = ( u.A * ( v.A * x + v.b ) + u.b ) = ( u.A * v.A ) * x + ( u.A * v.b + u.b ) \) Generated from function MR.operator*.
 
static unsafe bool operator== (MR.ConstBox_AffineXf3f a, MR.ConstBox_AffineXf3f b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_AffineXf3f a, MR.ConstBox_AffineXf3f b)
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

ref readonly MR.Matrix3f a [get]
 
ref readonly MR.Vector3f b [get]
 

Detailed Description

affine transformation: y = A*x + b, where A in VxV, and b in V Generated from class MR.AffineXf3f. This is the const reference to the struct.

Constructor & Destructor Documentation

◆ ConstBox_AffineXf3f() [1/5]

unsafe MR.ConstBox_AffineXf3f.ConstBox_AffineXf3f ( AffineXf3f other)
inline

Make a copy of a struct. (Even though we initially pass is_owning: false, we then use the copy constructor to produce an owning instance.)

◆ ConstBox_AffineXf3f() [2/5]

unsafe MR.ConstBox_AffineXf3f.ConstBox_AffineXf3f ( ConstBox_AffineXf3f _other)
inline

Generated copy constructor.

◆ ConstBox_AffineXf3f() [3/5]

unsafe MR.ConstBox_AffineXf3f.ConstBox_AffineXf3f ( )
inline

Constructs an empty (default-constructed) instance.

◆ ConstBox_AffineXf3f() [4/5]

unsafe MR.ConstBox_AffineXf3f.ConstBox_AffineXf3f ( in MR.Matrix3f A,
in MR.Vector3f b )
inline

Generated from constructor MR.AffineXf3f.AffineXf3f.

◆ ConstBox_AffineXf3f() [5/5]

unsafe MR.ConstBox_AffineXf3f.ConstBox_AffineXf3f ( in MR.AffineXf3d xf)
inline

Generated from constructor MR.AffineXf3f.AffineXf3f.

Member Function Documentation

◆ call()

unsafe MR.Vector3f MR.ConstBox_AffineXf3f.call ( in MR.Vector3f x)
inline

application of the transformation to a point Generated from method MR.AffineXf3f.operator().

◆ Dispose() [1/2]

virtual void MR.ConstBox_AffineXf3f.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.ConstBox_AffineXf3f.Dispose ( bool disposing)
inlineprotectedvirtual

◆ Equals() [1/2]

bool MR.ConstBox_AffineXf3f.Equals ( MR.ConstBox_AffineXf3f? b)
inline

◆ Equals() [2/2]

override bool MR.ConstBox_AffineXf3f.Equals ( object? other)
inline

◆ inverse()

unsafe MR.AffineXf3f MR.ConstBox_AffineXf3f.inverse ( )
inline

computes inverse transformation Generated from method MR.AffineXf3f.inverse.

◆ linear()

static unsafe MR.AffineXf3f MR.ConstBox_AffineXf3f.linear ( in MR.Matrix3f A)
inlinestatic

creates linear-only transformation (without translation) Generated from method MR.AffineXf3f.linear.

◆ linearOnly()

unsafe MR.Vector3f MR.ConstBox_AffineXf3f.linearOnly ( in MR.Vector3f x)
inline

applies only linear part of the transformation to given vector (e.g. to normal) skipping adding shift (b) for example if this is a rigid transformation, then only rotates input vector Generated from method MR.AffineXf3f.linearOnly.

◆ operator ConstBox_AffineXf3f()

static implicit MR.ConstBox_AffineXf3f.operator ConstBox_AffineXf3f ( AffineXf3f other)
inlinestatic

Convert from a struct by copying it. Note that only ConstBox_AffineXf3f has this conversion, Box_AffineXf3f intentionally doesn't.

◆ operator!=()

static unsafe bool MR.ConstBox_AffineXf3f.operator!= ( MR.ConstBox_AffineXf3f a,
MR.ConstBox_AffineXf3f b )
inlinestatic

◆ operator*()

static unsafe MR.AffineXf3f MR.ConstBox_AffineXf3f.operator* ( MR.ConstBox_AffineXf3f u,
in MR.AffineXf3f v )
inlinestatic

composition of two transformations: \( y = (u * v) ( x ) = u( v( x ) ) = ( u.A * ( v.A * x + v.b ) + u.b ) = ( u.A * v.A ) * x + ( u.A * v.b + u.b ) \) Generated from function MR.operator*.

◆ operator==()

static unsafe bool MR.ConstBox_AffineXf3f.operator== ( MR.ConstBox_AffineXf3f a,
MR.ConstBox_AffineXf3f b )
inlinestatic

Generated from function MR.operator==.

◆ translation()

static unsafe MR.AffineXf3f MR.ConstBox_AffineXf3f.translation ( in MR.Vector3f b)
inlinestatic

creates translation-only transformation (with identity linear component) Generated from method MR.AffineXf3f.translation.

◆ xfAround()

static unsafe MR.AffineXf3f MR.ConstBox_AffineXf3f.xfAround ( in MR.Matrix3f A,
in MR.Vector3f stable )
inlinestatic

creates transformation with given linear part with given stable point Generated from method MR.AffineXf3f.xfAround.

Property Documentation

◆ a

ref readonly MR.Matrix3f MR.ConstBox_AffineXf3f.a
get

◆ b

ref readonly MR.Vector3f MR.ConstBox_AffineXf3f.b
get

The documentation for this class was generated from the following file: