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 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.
 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 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)

Protected Attributes

unsafe MR.Vector2d__ref_storage_p
unsafe MR.Vector2d__ref_storage_d

Properties

unsafe ref readonly MR.Vector2d p [get]
unsafe ref readonly MR.Vector2d d [get]

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.

Constructor & Destructor Documentation

◆ Const_Line2d() [1/4]

unsafe MR.Const_Line2d.Const_Line2d ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_Line2d() [2/4]

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

Generated from constructor MR.Line2d.Line2d.

◆ Const_Line2d() [3/4]

MR.Const_Line2d.Const_Line2d ( Line2d _other)
inline

Generated from constructor MR.Line2d.Line2d.

◆ Const_Line2d() [4/4]

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

Generated from constructor MR.Line2d.Line2d.

Member Function Documentation

◆ call()

unsafe MR.Vector2d MR.Const_Line2d.call ( double param)
inline

returns point on the line, where param=0 returns p and param=1 returns p+d Generated from method MR::Line2d::operator().

◆ Dispose() [1/2]

virtual void MR.Const_Line2d.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_Line2d.Dispose ( bool disposing)
inlineprotectedvirtual

◆ distanceSq()

unsafe double MR.Const_Line2d.distanceSq ( in MR.Vector2d x)
inline

returns squared distance from given point to this line Generated from method MR.Line2d.distanceSq.

◆ normalized()

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

returns same line represented with unit d-vector Generated from method MR.Line2d.normalized.

◆ operator+()

unsafe MR.Const_Line2d MR.Const_Line2d.operator+ ( MR.Const_Line2d _this)
inlinestatic

returns same representation Generated from method MR::Line2d::operator+.

◆ operator-()

unsafe MR.Line2d MR.Const_Line2d.operator- ( MR.Const_Line2d _this)
inlinestatic

returns same line represented with flipped direction of d-vector Generated from method MR::Line2d::operator-.

◆ project()

unsafe MR.Vector2d MR.Const_Line2d.project ( in MR.Vector2d x)
inline

finds the closest point on line Generated from method MR.Line2d.project.

Member Data Documentation

◆ __ref_storage_d

unsafe MR.Vector2d* MR.Const_Line2d.__ref_storage_d
protected

◆ __ref_storage_p

unsafe MR.Vector2d* MR.Const_Line2d.__ref_storage_p
protected

Property Documentation

◆ d

unsafe ref readonly MR.Vector2d MR.Const_Line2d.d
get

◆ p

unsafe ref readonly MR.Vector2d MR.Const_Line2d.p
get

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