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

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

+ Inheritance diagram for MR.Box_AffineXf2d:

Public Member Functions

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

Properties

unsafe new ref AffineXf2d _Ref [get]
 Get the underlying struct.
 
new ref MR.Matrix2d a [get]
 
new ref MR.Vector2d b [get]
 
- Properties inherited from MR.ConstBox_AffineXf2d
unsafe ref readonly AffineXf2d _Ref [get]
 Get the underlying struct.
 
ref readonly MR.Matrix2d a [get]
 
ref readonly MR.Vector2d b [get]
 
- Properties inherited from MR.Misc.Object< ConstBox_AffineXf2d >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

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

Detailed Description

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


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