Table of Contents

Class LineWidthTreat

Namespace
Hi.Disp.Treat
Assembly
HiDisp.dll

Object for set line width of opengl drawing.

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

Constructors

LineWidthTreat(float)

Initializes a new instance of the LineWidthTreat class.

public LineWidthTreat(float lineWidth)

Parameters

lineWidth float

The line width to set.

Properties

LineWidth

Gets or sets the line width value.

public float LineWidth { get; set; }

Property Value

float

Methods

Display(Bind)

Sets the line width in the OpenGL context.

public void Display(Bind bind)

Parameters

bind Bind

The binding context.

ExpandToBox3d(ref box3d_t)

This implementation does nothing as line width does not affect bounding box.

public void ExpandToBox3d(ref box3d_t dst)

Parameters

dst box3d_t

The destination box to expand.