• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Struct MeshEdge

A shared edge in a lattice mesh (spec §8.7.4.5.6). Defines connectivity between vertices in a lattice-form mesh.

Implements
IEquatable<MeshEdge>
Inherited Members
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
Namespace: DRIT.Pdf.Content
Assembly: DRIT.Pdf.dll
Syntax
public readonly struct MeshEdge : IEquatable<MeshEdge>

Constructors

MeshEdge(int, int)

Initializes a mesh edge.

Declaration
public MeshEdge(int v1, int v2)
Parameters
Type Name Description
int v1
int v2

Properties

VertexIndex1

Gets the index of the first vertex.

Declaration
public int VertexIndex1 { get; }
Property Value
Type Description
int

VertexIndex2

Gets the index of the second vertex.

Declaration
public int VertexIndex2 { get; }
Property Value
Type Description
int

Methods

Equals(MeshEdge)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(MeshEdge other)
Parameters
Type Name Description
MeshEdge other

An object to compare with this object.

Returns
Type Description
bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Indicates whether this instance and a specified object are equal.

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj

The object to compare with the current instance.

Returns
Type Description
bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

Overrides
ValueType.Equals(object)

GetHashCode()

Returns the hash code for this instance.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A 32-bit signed integer that is the hash code for this instance.

Overrides
ValueType.GetHashCode()

ToString()

Returns the fully qualified type name of this instance.

Declaration
public override string ToString()
Returns
Type Description
string

The fully qualified type name.

Overrides
ValueType.ToString()

Operators

operator ==(MeshEdge, MeshEdge)

Equality operator.

Declaration
public static bool operator ==(MeshEdge a, MeshEdge b)
Parameters
Type Name Description
MeshEdge a
MeshEdge b
Returns
Type Description
bool

operator !=(MeshEdge, MeshEdge)

Inequality operator.

Declaration
public static bool operator !=(MeshEdge a, MeshEdge b)
Parameters
Type Name Description
MeshEdge a
MeshEdge b
Returns
Type Description
bool

Implements

IEquatable<T>
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX