MeshLib C# Docs
Loading...
Searching...
No Matches

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

Inheritance diagram for MR.Line2d:

Public Member Functions

unsafe Line2d ()
 Constructs an empty (default-constructed) instance.
unsafe Line2d (MR.Const_Line2d _other)
 Generated from constructor MR.Line2d.Line2d.
 Line2d (Line2d _other)
 Generated from constructor MR.Line2d.Line2d.
unsafe Line2d (in MR.Vector2d p, in MR.Vector2d d)
 Generated from constructor MR.Line2d.Line2d.
unsafe MR.Line2d assign (MR.Const_Line2d _other)
 Generated from method MR::Line2d::operator=.
Public Member Functions inherited from MR.Const_Line2d
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.
 Const_Line2d (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 double projectionParam (in MR.Vector2d x)
 finds the parameter of the closest point to the given one on this line Generated from method MR.Line2d.projectionParam.
unsafe MR.Vector2d project (in MR.Vector2d x)
 finds the closest point to the given one on this line Generated from method MR.Line2d.project.

Properties

new unsafe ref MR.Vector2d p [get]
new unsafe ref MR.Vector2d d [get]
Properties inherited from MR.Const_Line2d
unsafe ref readonly MR.Vector2d p [get]
unsafe ref readonly MR.Vector2d d [get]

Additional Inherited Members

Static Public Member Functions inherited from MR.Const_Line2d
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 inherited from MR.Const_Line2d
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_Line2d
unsafe MR.Vector2d__ref_storage_p
unsafe MR.Vector2d__ref_storage_d

Detailed Description

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

Constructor & Destructor Documentation

◆ Line2d() [1/4]

unsafe MR.Line2d.Line2d ( )
inline

Constructs an empty (default-constructed) instance.

◆ Line2d() [2/4]

unsafe MR.Line2d.Line2d ( MR.Const_Line2d _other)
inline

Generated from constructor MR.Line2d.Line2d.

◆ Line2d() [3/4]

MR.Line2d.Line2d ( Line2d _other)
inline

Generated from constructor MR.Line2d.Line2d.

◆ Line2d() [4/4]

unsafe MR.Line2d.Line2d ( in MR.Vector2d p,
in MR.Vector2d d )
inline

Generated from constructor MR.Line2d.Line2d.

Member Function Documentation

◆ assign()

unsafe MR.Line2d MR.Line2d.assign ( MR.Const_Line2d _other)
inline

Generated from method MR::Line2d::operator=.

Property Documentation

◆ d

new unsafe ref MR.Vector2d MR.Line2d.d
get

◆ p

new unsafe ref MR.Vector2d MR.Line2d.p
get

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