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

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

+ Inheritance diagram for MR.Box_AffineXf3d:

Public Member Functions

unsafe Box_AffineXf3d (AffineXf3d 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 Box_AffineXf3d (ConstBox_AffineXf3d _other)
 Generated copy constructor.
 
void Assign (ConstBox_AffineXf3d _other)
 Generated copy assignment.
 
unsafe Box_AffineXf3d ()
 Constructs an empty (default-constructed) instance.
 
unsafe Box_AffineXf3d (in MR.Matrix3d A, in MR.Vector3d b)
 Generated from constructor MR.AffineXf3d.AffineXf3d.
 
- Public Member Functions inherited from MR.ConstBox_AffineXf3d
virtual void Dispose ()
 
unsafe ConstBox_AffineXf3d (AffineXf3d 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_AffineXf3d (ConstBox_AffineXf3d _other)
 Generated copy constructor.
 
unsafe ConstBox_AffineXf3d ()
 Constructs an empty (default-constructed) instance.
 
unsafe ConstBox_AffineXf3d (in MR.Matrix3d A, in MR.Vector3d b)
 Generated from constructor MR.AffineXf3d.AffineXf3d.
 
unsafe MR.Vector3d call (in MR.Vector3d x)
 application of the transformation to a point Generated from method MR.AffineXf3d.operator().
 
unsafe MR.Vector3d linearOnly (in MR.Vector3d 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.AffineXf3d.linearOnly.
 
unsafe MR.AffineXf3d inverse ()
 computes inverse transformation Generated from method MR.AffineXf3d.inverse.
 
bool Equals (MR.ConstBox_AffineXf3d? b)
 
override bool Equals (object? other)
 

Properties

new ref MR.Matrix3d a [get]
 
new ref MR.Vector3d b [get]
 
- Properties inherited from MR.ConstBox_AffineXf3d
ref readonly MR.Matrix3d a [get]
 
ref readonly MR.Vector3d b [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from MR.ConstBox_AffineXf3d
static implicit operator ConstBox_AffineXf3d (AffineXf3d other)
 Convert from a struct by copying it. Note that only ConstBox_AffineXf3d has this conversion, Box_AffineXf3d intentionally doesn't.
 
static unsafe MR.AffineXf3d translation (in MR.Vector3d b)
 creates translation-only transformation (with identity linear component) Generated from method MR.AffineXf3d.translation.
 
static unsafe MR.AffineXf3d linear (in MR.Matrix3d A)
 creates linear-only transformation (without translation) Generated from method MR.AffineXf3d.linear.
 
static unsafe MR.AffineXf3d xfAround (in MR.Matrix3d A, in MR.Vector3d stable)
 creates transformation with given linear part with given stable point Generated from method MR.AffineXf3d.xfAround.
 
static unsafe MR.AffineXf3d operator* (MR.ConstBox_AffineXf3d u, in MR.AffineXf3d 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_AffineXf3d a, MR.ConstBox_AffineXf3d b)
 Generated from function MR.operator==.
 
static unsafe bool operator!= (MR.ConstBox_AffineXf3d a, MR.ConstBox_AffineXf3d b)
 
- Protected Member Functions inherited from MR.ConstBox_AffineXf3d
virtual unsafe void Dispose (bool disposing)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Box_AffineXf3d() [1/4]

unsafe MR.Box_AffineXf3d.Box_AffineXf3d ( AffineXf3d 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.)

◆ Box_AffineXf3d() [2/4]

unsafe MR.Box_AffineXf3d.Box_AffineXf3d ( ConstBox_AffineXf3d _other)
inline

Generated copy constructor.

◆ Box_AffineXf3d() [3/4]

unsafe MR.Box_AffineXf3d.Box_AffineXf3d ( )
inline

Constructs an empty (default-constructed) instance.

◆ Box_AffineXf3d() [4/4]

unsafe MR.Box_AffineXf3d.Box_AffineXf3d ( in MR.Matrix3d A,
in MR.Vector3d b )
inline

Generated from constructor MR.AffineXf3d.AffineXf3d.

Member Function Documentation

◆ Assign()

void MR.Box_AffineXf3d.Assign ( ConstBox_AffineXf3d _other)
inline

Generated copy assignment.

Property Documentation

◆ a

new ref MR.Matrix3d MR.Box_AffineXf3d.a
get

◆ b

new ref MR.Vector3d MR.Box_AffineXf3d.b
get

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