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

2- or 3-dimensional line: cross( x - p, d ) = 0 Generated from class MR.Line2f. This is the const half of the class. More...

+ Inheritance diagram for MR.Const_Line2f:

Classes

struct  _Underlying
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_Line2f ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_Line2f (MR.Const_Line2f _other)
 Generated from constructor MR.Line2f.Line2f.
 
unsafe Const_Line2f (in MR.Vector2f p, in MR.Vector2f d)
 Generated from constructor MR.Line2f.Line2f.
 
unsafe MR.Vector2f call (float param)
 returns point on the line, where param=0 returns p and param=1 returns p+d Generated from method MR.Line2f.operator().
 
unsafe float distanceSq (in MR.Vector2f x)
 returns squared distance from given point to this line Generated from method MR.Line2f.distanceSq.
 
unsafe MR.Line2f normalized ()
 returns same line represented with unit d-vector Generated from method MR.Line2f.normalized.
 
unsafe MR.Vector2f project (in MR.Vector2f x)
 finds the closest point on line Generated from method MR.Line2f.project.
 

Static Public Member Functions

static unsafe MR.Line2f operator- (MR.Const_Line2f _this)
 returns same line represented with flipped direction of d-vector Generated from method MR.Line2f.operator-.
 
static unsafe MR.Const_Line2f operator+ (MR.Const_Line2f _this)
 returns same representation Generated from method MR.Line2f.operator+.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe ref readonly MR.Vector2f p [get]
 
unsafe ref readonly MR.Vector2f d [get]
 
- Properties inherited from MR.Misc.Object< Const_Line2f >
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

- Protected Attributes inherited from MR.Misc.Object< Const_Line2f >
bool _IsOwningVal
 

Detailed Description

2- or 3-dimensional line: cross( x - p, d ) = 0 Generated from class MR.Line2f. This is the const half of the class.


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