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

a class for converting 2D integer coordinates into 1D linear coordinates and backward Generated from class MR.RectIndexer. Derived classes: Direct: (non-virtual) MR.DistanceMap MR::Matrix<float> This is the const half of the class. More...

Inheritance diagram for MR.Const_RectIndexer:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_RectIndexer ()
 Constructs an empty (default-constructed) instance.
unsafe Const_RectIndexer (MR.Const_RectIndexer _other)
 Generated from constructor MR.RectIndexer.RectIndexer.
 Const_RectIndexer (RectIndexer _other)
 Generated from constructor MR.RectIndexer.RectIndexer.
unsafe Const_RectIndexer (in MR.Vector2i dims)
 Generated from constructor MR.RectIndexer.RectIndexer.
unsafe ref readonly MR.Vector2i dims ()
 Generated from method MR.RectIndexer.dims.
unsafe ulong size ()
 Generated from method MR.RectIndexer.size.
unsafe MR.Vector2i toPos (MR.PixelId id)
 Generated from method MR.RectIndexer.toPos.
unsafe MR.Vector2i toPos (ulong id)
 Generated from method MR.RectIndexer.toPos.
unsafe MR.PixelId toPixelId (in MR.Vector2i pos)
 Generated from method MR.RectIndexer.toPixelId.
unsafe ulong toIndex (in MR.Vector2i pos)
 Generated from method MR.RectIndexer.toIndex.
unsafe bool areNeigbors (MR.PixelId v0, MR.PixelId v1)
 returns true if v1 is within at most 4 neighbors of v0 Generated from method MR.RectIndexer.areNeigbors.
unsafe bool areNeigbors (in MR.Vector2i pos0, in MR.Vector2i pos1)
 Generated from method MR.RectIndexer.areNeigbors.
unsafe MR.PixelId getNeighbor (MR.PixelId v, MR.OutEdge2 toNei)
 returns id of v's neighbor specified by the edge Generated from method MR.RectIndexer.getNeighbor.
unsafe MR.PixelId getNeighbor (MR.PixelId v, in MR.Vector2i pos, MR.OutEdge2 toNei)
 Generated from method MR.RectIndexer.getNeighbor.

Static Public Member Functions

static unsafe implicit operator Const_RectIndexer (in MR.Vector2i dims)
 Generated from constructor MR.RectIndexer.RectIndexer.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Detailed Description

a class for converting 2D integer coordinates into 1D linear coordinates and backward Generated from class MR.RectIndexer. Derived classes: Direct: (non-virtual) MR.DistanceMap MR::Matrix<float> This is the const half of the class.

Constructor & Destructor Documentation

◆ Const_RectIndexer() [1/4]

unsafe MR.Const_RectIndexer.Const_RectIndexer ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_RectIndexer() [2/4]

unsafe MR.Const_RectIndexer.Const_RectIndexer ( MR.Const_RectIndexer _other)
inline

Generated from constructor MR.RectIndexer.RectIndexer.

◆ Const_RectIndexer() [3/4]

MR.Const_RectIndexer.Const_RectIndexer ( RectIndexer _other)
inline

Generated from constructor MR.RectIndexer.RectIndexer.

◆ Const_RectIndexer() [4/4]

unsafe MR.Const_RectIndexer.Const_RectIndexer ( in MR.Vector2i dims)
inline

Generated from constructor MR.RectIndexer.RectIndexer.

Member Function Documentation

◆ areNeigbors() [1/2]

unsafe bool MR.Const_RectIndexer.areNeigbors ( in MR.Vector2i pos0,
in MR.Vector2i pos1 )
inline

Generated from method MR.RectIndexer.areNeigbors.

◆ areNeigbors() [2/2]

unsafe bool MR.Const_RectIndexer.areNeigbors ( MR.PixelId v0,
MR.PixelId v1 )
inline

returns true if v1 is within at most 4 neighbors of v0 Generated from method MR.RectIndexer.areNeigbors.

◆ dims()

unsafe ref readonly MR.Vector2i MR.Const_RectIndexer.dims ( )
inline

Generated from method MR.RectIndexer.dims.

◆ Dispose() [1/2]

virtual void MR.Const_RectIndexer.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

◆ getNeighbor() [1/2]

unsafe MR.PixelId MR.Const_RectIndexer.getNeighbor ( MR.PixelId v,
in MR.Vector2i pos,
MR.OutEdge2 toNei )
inline

Generated from method MR.RectIndexer.getNeighbor.

◆ getNeighbor() [2/2]

unsafe MR.PixelId MR.Const_RectIndexer.getNeighbor ( MR.PixelId v,
MR.OutEdge2 toNei )
inline

returns id of v's neighbor specified by the edge Generated from method MR.RectIndexer.getNeighbor.

◆ operator Const_RectIndexer()

unsafe implicit MR.Const_RectIndexer.operator Const_RectIndexer ( in MR.Vector2i dims)
inlinestatic

Generated from constructor MR.RectIndexer.RectIndexer.

◆ size()

unsafe ulong MR.Const_RectIndexer.size ( )
inline

Generated from method MR.RectIndexer.size.

◆ toIndex()

unsafe ulong MR.Const_RectIndexer.toIndex ( in MR.Vector2i pos)
inline

Generated from method MR.RectIndexer.toIndex.

◆ toPixelId()

unsafe MR.PixelId MR.Const_RectIndexer.toPixelId ( in MR.Vector2i pos)
inline

Generated from method MR.RectIndexer.toPixelId.

◆ toPos() [1/2]

unsafe MR.Vector2i MR.Const_RectIndexer.toPos ( MR.PixelId id)
inline

Generated from method MR.RectIndexer.toPos.

◆ toPos() [2/2]

unsafe MR.Vector2i MR.Const_RectIndexer.toPos ( ulong id)
inline

Generated from method MR.RectIndexer.toPos.


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