Show / Hide Table of Contents

Class MeshGridOptions

Inheritance
object
MeshGridOptions
MeshPrismGridOptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Sylves
Assembly: Sylves.dll
Syntax
public class MeshGridOptions

Constructors

MeshGridOptions()

Declaration
public MeshGridOptions()

MeshGridOptions(MeshGridOptions)

Declaration
public MeshGridOptions(MeshGridOptions other)
Parameters
Type Name Description
MeshGridOptions other

Properties

DoubleOddFaces

If set, odd faces become cells with twice as many edges. It's often more convenient to work with even polygons as an about face is possible.

Declaration
public bool DoubleOddFaces { get; set; }
Property Value
Type Description
bool

InvertWinding

If false, vertices and edges of the mesh are assumed to be consistent with Sylves conventions, counter clockwise winding. E.g. for a quad, edges 0 => SquareDir.Right, 1 => SquareDir.Up, 2 => SquareDir.Left, 3 => SquareDir.Down verts 0 => DownRight, 1 => UpRight, 2 => UpLeft, 3=> DownLeft

If true, the order of vertices is swapped E.g. for a quad, edges 0 => Square.Left, 1 => SquareDir.Up, 2 => SquareDir.Right, 3 => SquareDir.Down verts 0 => DownLeft, 1 => UpLeft, 2=> UpRight, 3 = DownRight

Declaration
public bool InvertWinding { get; set; }
Property Value
Type Description
bool

Tolerance

Snap distance for vertices.

Declaration
public float Tolerance { get; set; }
Property Value
Type Description
float

UseXZPlane

If set, assumes the 2d plane that a face maps from is in the XZ axis.

Declaration
public bool UseXZPlane { get; set; }
Property Value
Type Description
bool
In this article
Back to top Generated by DocFX