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

Generated from class MR::StitchHolesNicelySettings. This is the const half of the class. More...

Inheritance diagram for MR.Const_StitchHolesNicelySettings:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe StitchHolesNicelySettings ()
 Constructs an empty (default-constructed) instance.
unsafe StitchHolesNicelySettings (MR._ByValue_StitchHolesParams triangulateParams, bool triangulateOnly, MR._ByValue_SubdivideFillingSettings subdivideSettings, bool smoothCurvature, MR.Const_SmoothFillingSettings smoothSettings, MR.Const_OutAttributesFillingSettings outAttributes)
 Constructs MR::StitchHolesNicelySettings elementwise.
unsafe StitchHolesNicelySettings (MR._ByValue_StitchHolesNicelySettings _other)
 Generated from constructor MR::StitchHolesNicelySettings::StitchHolesNicelySettings.
 StitchHolesNicelySettings (Const_StitchHolesNicelySettings _other)
 Generated from constructor MR::StitchHolesNicelySettings::StitchHolesNicelySettings.
 StitchHolesNicelySettings (StitchHolesNicelySettings _other)
 Generated from constructor MR::StitchHolesNicelySettings::StitchHolesNicelySettings.
unsafe MR.StitchHolesNicelySettings assign (MR._ByValue_StitchHolesNicelySettings _other)
 Generated from method MR::StitchHolesNicelySettings::operator=.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe bool * __ref_storage_triangulateOnly
unsafe bool * __ref_storage_smoothCurvature

Properties

unsafe MR.Const_StitchHolesParams triangulateParams [get, protected set]
 how to triangulate the cylinder between holes, must be specified by the user
unsafe bool triangulateOnly [get]
 If false then additional vertices are created inside the patch for best mesh quality.
unsafe MR.Const_SubdivideFillingSettings subdivideSettings [get, protected set]
 if triangulateOnly is false - this settings are used to subdivide new filling
unsafe bool smoothCurvature [get]
 Whether to make patch over the hole smooth both inside and on its boundary with existed surface.
new unsafe MR.SmoothFillingSettings smoothSettings [get, protected set]
 if smoothCurvature is true and `triangulateOnly is false - these settings are used to smooth new filling /
new unsafe MR.OutAttributesFillingSettings outAttributes [get, protected set]
 structure with optional output attributes

Detailed Description

Generated from class MR::StitchHolesNicelySettings. This is the const half of the class.

Member Function Documentation

◆ assign()

unsafe MR.StitchHolesNicelySettings MR.Const_StitchHolesNicelySettings.assign ( MR._ByValue_StitchHolesNicelySettings _other)
inline

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

◆ Dispose() [1/2]

virtual void MR.Const_StitchHolesNicelySettings.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

◆ StitchHolesNicelySettings() [1/5]

unsafe MR.Const_StitchHolesNicelySettings.StitchHolesNicelySettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ StitchHolesNicelySettings() [2/5]

MR.Const_StitchHolesNicelySettings.StitchHolesNicelySettings ( Const_StitchHolesNicelySettings _other)
inline

Generated from constructor MR::StitchHolesNicelySettings::StitchHolesNicelySettings.

◆ StitchHolesNicelySettings() [3/5]

unsafe MR.Const_StitchHolesNicelySettings.StitchHolesNicelySettings ( MR._ByValue_StitchHolesNicelySettings _other)
inline

Generated from constructor MR::StitchHolesNicelySettings::StitchHolesNicelySettings.

◆ StitchHolesNicelySettings() [4/5]

unsafe MR.Const_StitchHolesNicelySettings.StitchHolesNicelySettings ( MR._ByValue_StitchHolesParams triangulateParams,
bool triangulateOnly,
MR._ByValue_SubdivideFillingSettings subdivideSettings,
bool smoothCurvature,
MR.Const_SmoothFillingSettings smoothSettings,
MR.Const_OutAttributesFillingSettings outAttributes )
inline

Constructs MR::StitchHolesNicelySettings elementwise.

◆ StitchHolesNicelySettings() [5/5]

MR.Const_StitchHolesNicelySettings.StitchHolesNicelySettings ( StitchHolesNicelySettings _other)
inline

Generated from constructor MR::StitchHolesNicelySettings::StitchHolesNicelySettings.

Member Data Documentation

◆ __ref_storage_smoothCurvature

unsafe bool* MR.Const_StitchHolesNicelySettings.__ref_storage_smoothCurvature
protected

◆ __ref_storage_triangulateOnly

unsafe bool* MR.Const_StitchHolesNicelySettings.__ref_storage_triangulateOnly
protected

Property Documentation

◆ outAttributes

new unsafe MR.OutAttributesFillingSettings MR.Const_StitchHolesNicelySettings.outAttributes
getprotected set

structure with optional output attributes

◆ smoothCurvature

unsafe bool MR.Const_StitchHolesNicelySettings.smoothCurvature
get

Whether to make patch over the hole smooth both inside and on its boundary with existed surface.

◆ smoothSettings

new unsafe MR.SmoothFillingSettings MR.Const_StitchHolesNicelySettings.smoothSettings
getprotected set

if smoothCurvature is true and `triangulateOnly is false - these settings are used to smooth new filling /

public unsafe MR.Const_SmoothFillingSettings smoothSettings {get; private protected set;}

/

/ structure with optional output attributes / public unsafe MR.Const_OutAttributesFillingSettings outAttributes {get; private protected set;}

/

/ Constructors call this at the end to initialize class fields. / protected unsafe void _FinalizeFields() { { // triangulateParams [System.Runtime.InteropServices.DllImport("MeshLibC2", EntryPoint = "MR_StitchHolesNicelySettings_Get_triangulateParams", ExactSpelling = true)] extern static MR.Const_StitchHolesParams._Underlying *__MR_StitchHolesNicelySettings_Get_triangulateParams(MR.Const_StitchHolesNicelySettings._Underlying *_this); this.triangulateParams = new(__MR_StitchHolesNicelySettings_Get_triangulateParams(_UnderlyingPtr), is_owning: false); this.triangulateParams._KeepAliveEnclosingObject = this; }

{ // triangulateOnly (ref) [System.Runtime.InteropServices.DllImport("MeshLibC2", EntryPoint = "MR_StitchHolesNicelySettings_Get_triangulateOnly", ExactSpelling = true)] extern static bool *__MR_StitchHolesNicelySettings_Get_triangulateOnly(MR.Const_StitchHolesNicelySettings._Underlying *_this); this.__ref_storage_triangulateOnly = __MR_StitchHolesNicelySettings_Get_triangulateOnly(_UnderlyingPtr); }

{ // subdivideSettings [System.Runtime.InteropServices.DllImport("MeshLibC2", EntryPoint = "MR_StitchHolesNicelySettings_Get_subdivideSettings", ExactSpelling = true)] extern static MR.Const_SubdivideFillingSettings._Underlying *__MR_StitchHolesNicelySettings_Get_subdivideSettings(MR.Const_StitchHolesNicelySettings._Underlying *_this); this.subdivideSettings = new(__MR_StitchHolesNicelySettings_Get_subdivideSettings(_UnderlyingPtr), is_owning: false); this.subdivideSettings._KeepAliveEnclosingObject = this; }

{ // smoothCurvature (ref) [System.Runtime.InteropServices.DllImport("MeshLibC2", EntryPoint = "MR_StitchHolesNicelySettings_Get_smoothCurvature", ExactSpelling = true)] extern static bool *__MR_StitchHolesNicelySettings_Get_smoothCurvature(MR.Const_StitchHolesNicelySettings._Underlying *_this); this.__ref_storage_smoothCurvature = __MR_StitchHolesNicelySettings_Get_smoothCurvature(_UnderlyingPtr); }

{ // smoothSettings [System.Runtime.InteropServices.DllImport("MeshLibC2", EntryPoint = "MR_StitchHolesNicelySettings_Get_smoothSettings", ExactSpelling = true)] extern static MR.Const_SmoothFillingSettings._Underlying *__MR_StitchHolesNicelySettings_Get_smoothSettings(MR.Const_StitchHolesNicelySettings._Underlying *_this); this.smoothSettings = new(__MR_StitchHolesNicelySettings_Get_smoothSettings(_UnderlyingPtr), is_owning: false); this.smoothSettings._KeepAliveEnclosingObject = this; }

{ // outAttributes [System.Runtime.InteropServices.DllImport("MeshLibC2", EntryPoint = "MR_StitchHolesNicelySettings_Get_outAttributes", ExactSpelling = true)] extern static MR.Const_OutAttributesFillingSettings._Underlying *__MR_StitchHolesNicelySettings_Get_outAttributes(MR.Const_StitchHolesNicelySettings._Underlying *_this); this.outAttributes = new(__MR_StitchHolesNicelySettings_Get_outAttributes(_UnderlyingPtr), is_owning: false); this.outAttributes._KeepAliveEnclosingObject = this; } }

Don't warn about some fields remaining conditionally uninitialized. We initialize them later.

    internal unsafe Const_StitchHolesNicelySettings(_Underlying *ptr, bool is_owning) : base(is_owning)
    {
        _UnderlyingPtr = ptr;
        if (ptr is not null)
            _FinalizeFields();
    }

/

/ Constructs an empty (default-constructed) instance. / public unsafe Const_StitchHolesNicelySettings() : this(null, is_owning: true) { [System.Runtime.InteropServices.DllImport("MeshLibC2", EntryPoint = "MR_StitchHolesNicelySettings_DefaultConstruct", ExactSpelling = true)] extern static MR.StitchHolesNicelySettings._Underlying *__MR_StitchHolesNicelySettings_DefaultConstruct(); _UnderlyingPtr = __MR_StitchHolesNicelySettings_DefaultConstruct(); _FinalizeFields(); }

/

/ Constructs MR::StitchHolesNicelySettings elementwise. / public unsafe Const_StitchHolesNicelySettings(MR._ByValue_StitchHolesParams triangulateParams, bool triangulateOnly, MR._ByValue_SubdivideFillingSettings subdivideSettings, bool smoothCurvature, MR.Const_SmoothFillingSettings smoothSettings, MR.Const_OutAttributesFillingSettings outAttributes) : this(null, is_owning: true) { [System.Runtime.InteropServices.DllImport("MeshLibC2", EntryPoint = "MR_StitchHolesNicelySettings_ConstructFrom", ExactSpelling = true)] extern static MR.StitchHolesNicelySettings._Underlying *__MR_StitchHolesNicelySettings_ConstructFrom(MR.Misc._PassBy triangulateParams_pass_by, MR.StitchHolesParams._Underlying *triangulateParams, byte triangulateOnly, MR.Misc._PassBy subdivideSettings_pass_by, MR.SubdivideFillingSettings._Underlying *subdivideSettings, byte smoothCurvature, MR.SmoothFillingSettings._Underlying *smoothSettings, MR.OutAttributesFillingSettings._Underlying *outAttributes); _UnderlyingPtr = __MR_StitchHolesNicelySettings_ConstructFrom(triangulateParams.PassByMode, triangulateParams.Value is not null ? triangulateParams.Value._UnderlyingPtr : null, triangulateOnly ? (byte)1 : (byte)0, subdivideSettings.PassByMode, subdivideSettings.Value is not null ? subdivideSettings.Value._UnderlyingPtr : null, smoothCurvature ? (byte)1 : (byte)0, smoothSettings._UnderlyingPtr, outAttributes._UnderlyingPtr); if (triangulateParams.Value is not null) _KeepAlive(triangulateParams.Value); if (subdivideSettings.Value is not null) _KeepAlive(subdivideSettings.Value); _KeepAlive(smoothSettings); _KeepAlive(outAttributes); _FinalizeFields(); }

/

/ Generated from constructor MR::StitchHolesNicelySettings::StitchHolesNicelySettings. / public unsafe Const_StitchHolesNicelySettings(MR._ByValue_StitchHolesNicelySettings _other) : this(null, is_owning: true) { [System.Runtime.InteropServices.DllImport("MeshLibC2", EntryPoint = "MR_StitchHolesNicelySettings_ConstructFromAnother", ExactSpelling = true)] extern static MR.StitchHolesNicelySettings._Underlying *__MR_StitchHolesNicelySettings_ConstructFromAnother(MR.Misc._PassBy _other_pass_by, MR.StitchHolesNicelySettings._Underlying *_other); _UnderlyingPtr = __MR_StitchHolesNicelySettings_ConstructFromAnother(_other.PassByMode, _other.Value is not null ? _other.Value._UnderlyingPtr : null); if (_other.Value is not null) _KeepAlive(_other.Value); _FinalizeFields(); }

/

/ Generated from constructor MR::StitchHolesNicelySettings::StitchHolesNicelySettings. / public Const_StitchHolesNicelySettings(Const_StitchHolesNicelySettings _other) : this(new _ByValue_StitchHolesNicelySettings(_other)) {}

/

/ Generated from constructor MR::StitchHolesNicelySettings::StitchHolesNicelySettings. / public Const_StitchHolesNicelySettings(StitchHolesNicelySettings _other) : this((Const_StitchHolesNicelySettings)_other) {} }

/

/ Generated from class MR::StitchHolesNicelySettings. / This is the non-const half of the class. / public class StitchHolesNicelySettings : Const_StitchHolesNicelySettings { /

/ how to triangulate the cylinder between holes, must be specified by the user / public new unsafe MR.StitchHolesParams triangulateParams {get; private protected set;}

/

/ If false then additional vertices are created inside the patch for best mesh quality / public new unsafe ref bool triangulateOnly => ref *__ref_storage_triangulateOnly;

/

/ if triangulateOnly is false - this settings are used to subdivide new filling / public new unsafe MR.SubdivideFillingSettings subdivideSettings {get; private protected set;}

/

/ Whether to make patch over the hole smooth both inside and on its boundary with existed surface / public new unsafe ref bool smoothCurvature => ref *__ref_storage_smoothCurvature;

/

/ if smoothCurvature is true and `triangulateOnly is false - these settings are used to smooth new filling

◆ subdivideSettings

unsafe MR.Const_SubdivideFillingSettings MR.Const_StitchHolesNicelySettings.subdivideSettings
getprotected set

if triangulateOnly is false - this settings are used to subdivide new filling

◆ triangulateOnly

unsafe bool MR.Const_StitchHolesNicelySettings.triangulateOnly
get

If false then additional vertices are created inside the patch for best mesh quality.

◆ triangulateParams

unsafe MR.Const_StitchHolesParams MR.Const_StitchHolesNicelySettings.triangulateParams
getprotected set

how to triangulate the cylinder between holes, must be specified by the user


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