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

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

+ Inheritance diagram for MR.Const_OffsetContoursParams:

Classes

struct  _Underlying
 

Public Types

enum  CornerType : int { Round = 0 , Sharp = 1 }
 type of positive offset curve in corners More...
 
enum  EndType : int { Round = 0 , Cut = 1 }
 type of offsetting on ends of non-closed contours More...
 
enum  Type : int { Offset = 0 , Shell = 1 }
 type of offset More...
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_OffsetContoursParams ()
 Constructs an empty (default-constructed) instance.
 
unsafe Const_OffsetContoursParams (MR.OffsetContoursParams.Type type, MR.OffsetContoursParams.EndType endType, MR.OffsetContoursParams.CornerType cornerType, float minAnglePrecision, float maxSharpAngle, MR.Std.Vector_StdVectorMROffsetContoursOrigins? indicesMap)
 Constructs MR.OffsetContoursParams elementwise.
 
unsafe Const_OffsetContoursParams (MR.Const_OffsetContoursParams _other)
 Generated from constructor MR.OffsetContoursParams.OffsetContoursParams.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Properties

unsafe MR.OffsetContoursParams.Type type [get]
 
unsafe MR.OffsetContoursParams.EndType endType [get]
 
unsafe MR.OffsetContoursParams.CornerType cornerType [get]
 
unsafe float minAnglePrecision [get]
 
unsafe float maxSharpAngle [get]
 
unsafe MR.Std.? Vector_StdVectorMROffsetContoursOrigins indicesMap [get]
 optional output that maps result contour ids to input contour ids
 
- Properties inherited from MR.Misc.Object< Const_OffsetContoursParams >
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_OffsetContoursParams >
bool _IsOwningVal
 

Detailed Description

Generated from class MR.OffsetContoursParams. This is the const half of the class.

Member Enumeration Documentation

◆ CornerType

type of positive offset curve in corners

Enumerator
Round 

creates round corners (use minAnglePrecision)

creates sharp connected corner (use maxSharpAngle as limit)

◆ EndType

type of offsetting on ends of non-closed contours

Enumerator
Round 

creates round ends (use minAnglePrecision)

creates sharp end (same as Round with minAnglePrecision < 180 deg)

◆ Type

type of offset

Enumerator
Offset 

One-side signed offset, requires closed contours.

Two-side offset


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