Search Results for

    Show / Hide Table of Contents

    Class BlockSupportGenerator

    Inheritance
    Object
    BlockSupportGenerator
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: g3
    Assembly: cs.temp.dll.dll
    Syntax
    public class BlockSupportGenerator

    Constructors

    BlockSupportGenerator(DMesh3, Double)

    Declaration
    public BlockSupportGenerator(DMesh3 mesh, double cellSize)
    Parameters
    Type Name Description
    DMesh3 mesh
    Double cellSize

    BlockSupportGenerator(DMesh3, Int32)

    Declaration
    public BlockSupportGenerator(DMesh3 mesh, int grid_resolution)
    Parameters
    Type Name Description
    DMesh3 mesh
    Int32 grid_resolution

    Fields

    CancelF

    if this function returns true, we should abort calculation

    Declaration
    public Func<bool> CancelF
    Field Value
    Type Description
    Func<Boolean>

    CellSize

    Declaration
    public double CellSize
    Field Value
    Type Description
    Double

    DebugPrint

    Declaration
    public bool DebugPrint
    Field Value
    Type Description
    Boolean

    ForceMinY

    If this is not set, 'ground' is Mesh.CachedBounds.Min.y (eg, if mesh is floating off ground, set this to 0, otherwise support stops at bottom of mesh)

    Declaration
    public float ForceMinY
    Field Value
    Type Description
    Single

    Mesh

    Declaration
    public DMesh3 Mesh
    Field Value
    Type Description
    DMesh3

    OverhangAngleDeg

    overhang angle requiring support

    Declaration
    public double OverhangAngleDeg
    Field Value
    Type Description
    Double

    SubtractMesh

    subtract mesh from generated support

    Declaration
    public bool SubtractMesh
    Field Value
    Type Description
    Boolean

    SubtractMeshOffset

    offset applied to subtracted mesh. Note that this is uniform offset, and so it leaves space at top and bottom of support as well!

    Declaration
    public double SubtractMeshOffset
    Field Value
    Type Description
    Double

    SupportMesh

    Declaration
    public DMesh3 SupportMesh
    Field Value
    Type Description
    DMesh3

    Properties

    Dimensions

    Declaration
    public Vector3i Dimensions { get; }
    Property Value
    Type Description
    Vector3i

    Grid

    winding-number grid available after calling Compute()

    Declaration
    public DenseGrid3f Grid { get; }
    Property Value
    Type Description
    DenseGrid3f

    GridOrigin

    Origin of the winding-number grid, in same coordinates as mesh

    Declaration
    public Vector3f GridOrigin { get; }
    Property Value
    Type Description
    Vector3f

    Item[Int32, Int32, Int32]

    Declaration
    public float this[int i, int j, int k] { get; }
    Parameters
    Type Name Description
    Int32 i
    Int32 j
    Int32 k
    Property Value
    Type Description
    Single

    Methods

    CellCenter(Int32, Int32, Int32)

    Declaration
    public Vector3f CellCenter(int i, int j, int k)
    Parameters
    Type Name Description
    Int32 i
    Int32 j
    Int32 k
    Returns
    Type Description
    Vector3f

    Generate()

    Declaration
    public void Generate()
    In This Article
    Back to top ViRGIS VR GIS