Table of Contents

Class CubicalFlagDrawing

Namespace
Hi.Disp.Flag
Assembly
HiDisp.dll

A drawing class for cubical flag visualization.

public class CubicalFlagDrawing : IDisplayee, IExpandToBox3d
Inheritance
CubicalFlagDrawing
Implements
Inherited Members
Extension Methods

Constructors

CubicalFlagDrawing(double)

Initializes a new instance of the CubicalFlagDrawing class.

public CubicalFlagDrawing(double planDim = 16)

Parameters

planDim double

The dimension of the plan.

Fields

planDim

Gets or sets the dimension of the plan.

public double planDim

Field Value

double

Methods

Display(Bind)

Display function called in DispEngine rendering loop.

public void Display(Bind bind)

Parameters

bind Bind

Bind with DispEngine. See Bind.

ExpandToBox3d(ref box3d_t)

Expands the destination box. This function is usually used to compute the bounding box of elements. box3d_t is a value type, so the destination is passed by reference (the C++ expand_to_box3d(box3&) shape); an implementation writes dst = dst.Expanded(...) or forwards ref dst to its parts.

public void ExpandToBox3d(ref box3d_t dst)

Parameters

dst box3d_t

Destination box, expanded in place

StaticDisplay(Bind, double)

Displays the cubical flag with the specified binding context.

public static void StaticDisplay(Bind bind, double planDim = 16)

Parameters

bind Bind

The binding context to display on.

planDim double

The dimension of the plan.