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

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

+ Inheritance diagram for MR.Const_Line2d:

Classes

struct  _Underlying
 

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe ref readonly MR.Vector2d p [get]
 
unsafe ref readonly MR.Vector2d d [get]
 
- Properties inherited from MR.Misc.Object< Const_Line2d >
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_Line2d >
bool _IsOwningVal
 

Detailed Description

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


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