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

This is used as a function parameter when the underlying function receives Polyline2 by value. Usage: More...

Public Member Functions

 _ByValue_Polyline2 (Const_Polyline2 new_value)
 
 _ByValue_Polyline2 (MR.Misc._Moved< Polyline2 > moved)
 

Static Public Member Functions

static implicit operator _ByValue_Polyline2 (Const_Polyline2 arg)
 
static implicit operator _ByValue_Polyline2 (MR.Misc._Moved< Polyline2 > arg)
 
static unsafe implicit operator _ByValue_Polyline2 (MR.Std.Const_Vector_MRVector2f contour)
 creates polyline from one contour (open or closed) Generated from constructor MR.Polyline2.Polyline2.
 
static unsafe implicit operator _ByValue_Polyline2 (MR.Std.Const_Vector_StdVectorMRVector2f contours)
 creates polyline from several contours (each can be open or closed) Generated from constructor MR.Polyline2.Polyline2.
 

Detailed Description

This is used as a function parameter when the underlying function receives Polyline2 by value. Usage:

  • Pass new() to default-construct the instance.
  • Pass an instance of Polyline2/Const_Polyline2 to copy it into the function.
  • Pass Move(instance) to move it into the function. This is a more efficient form of copying that might invalidate the input object. Be careful if your input isn't a unique reference to this object.
  • Pass null to use the default argument, assuming the parameter has a default argument (has ? in the type).

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