GH_SincGraph

GH_AbstractGraph

Constructors

GH_SincGraph

#
public GH_SincGraph()

Fields

amplitude

#
protected double amplitude

frequency

#
protected double frequency

x_shift

#
protected double x_shift

X0

#
protected double X0

X1

#
protected double X1

y_shift

#
protected double y_shift

Y0

#
protected double Y0

Y1

#
protected double Y1

Properties

Description

public string Description { get; }
inherited fromGH_AbstractGraph
Description

GraphTypeID

#
public override Guid GraphTypeID { get; }

Grips

public List<GH_GraphGrip> Grips { get; }
Gets the grip collection, you'd be wise not to modify the collection. If you want to add or remove grips, use the AddGrip() and ClearGrips() methods instead.
inherited fromGH_AbstractGraph
Grips

Icon_16x16

#
public override Image Icon_16x16 { get; }

IsValid

#
public override bool IsValid { get; }

Name

public string Name { get; }
inherited fromGH_AbstractGraph
Name

Methods

AddGrip

protected void AddGrip(GH_GraphGrip Grip)
inherited fromGH_AbstractGraph
Grip (GH_GraphGrip)

ClearCaches

public virtual void ClearCaches()
inherited fromGH_AbstractGraph
ClearCaches

ClearGrips

protected void ClearGrips()
inherited fromGH_AbstractGraph

CreateDerivedDuplicate

#
protected override GH_AbstractGraph CreateDerivedDuplicate()

CreateGrips

#
protected override void CreateGrips()

Draw_PostRenderGraph

public virtual void Draw_PostRenderGraph(Graphics g, GH_GraphContainer cnt)
inherited fromGH_AbstractGraph
g (Graphics)
cnt (GH_GraphContainer)

Draw_PostRenderGrid

public virtual void Draw_PostRenderGrid(Graphics g, GH_GraphContainer cnt)
inherited fromGH_AbstractGraph
g (Graphics)
cnt (GH_GraphContainer)

Draw_PostRenderGrip

public virtual void Draw_PostRenderGrip(Graphics g, GH_GraphContainer cnt, int index)
inherited fromGH_AbstractGraph
g (Graphics)
cnt (GH_GraphContainer)
index (int)

Draw_PostRenderTags

public virtual void Draw_PostRenderTags(Graphics g, GH_GraphContainer cnt)
inherited fromGH_AbstractGraph
g (Graphics)
cnt (GH_GraphContainer)

Draw_PreRenderGraph

public virtual GH_GraphDrawInstruction Draw_PreRenderGraph(Graphics g, GH_GraphContainer cnt)
inherited fromGH_AbstractGraph
g (Graphics)
cnt (GH_GraphContainer)

Draw_PreRenderGrid

public virtual GH_GraphDrawInstruction Draw_PreRenderGrid(Graphics g, GH_GraphContainer cnt)
inherited fromGH_AbstractGraph
g (Graphics)
cnt (GH_GraphContainer)
Draw_PreRenderGrid

Draw_PreRenderGrip

public virtual GH_GraphDrawInstruction Draw_PreRenderGrip(Graphics g, GH_GraphContainer cnt, int index)
inherited fromGH_AbstractGraph
g (Graphics)
cnt (GH_GraphContainer)
index (int)
Draw_PreRenderGrip

Draw_PreRenderTags

public virtual GH_GraphDrawInstruction Draw_PreRenderTags(Graphics g, GH_GraphContainer cnt)
inherited fromGH_AbstractGraph
g (Graphics)
cnt (GH_GraphContainer)
Draw_PreRenderTags

Duplicate

public virtual IGH_Graph Duplicate()
inherited fromGH_AbstractGraph
Duplicate

EmitProxyObject

public virtual IGH_GraphProxyObject EmitProxyObject()
Override this function if you want to be able to edit the graph through a PropertyGrid.
inherited fromGH_AbstractGraph
EmitProxyObject

GDI_GraphPath

#
public override PointF[] GDI_GraphPath(RectangleF reg)
reg (RectangleF)

GHGraphToPointArray

protected PointF[] GHGraphToPointArray(RectangleF reg, double pix_accuracy)
inherited fromGH_AbstractGraph
reg (RectangleF)
pix_accuracy (double)

Internal_GripChanged

protected virtual void Internal_GripChanged(GH_GraphGrip grip, bool bIntermediate)
By default, the grip is clamped to the unit domain and UpdateEquation is called. If you want to alter this behaviour, override this function.
inherited fromGH_AbstractGraph
grip (GH_GraphGrip)
bIntermediate (bool)

OnGraphChanged

public void OnGraphChanged(bool bIntermediate)
inherited fromGH_AbstractGraph
bIntermediate (bool)
OnGraphChanged

PrepareForUse

public virtual void PrepareForUse()
This function is called when the graph is about to be used for the first time, maybe more often. You're supposed to reset all defaults. By default, this function calls ClearGrips(), CreateGrips() and UpdateEquation()
inherited fromGH_AbstractGraph
PrepareForUse

Read

#
public override bool Read(GH_IReader reader)
reader (GH_IReader)

UpdateEquation

#
protected override void UpdateEquation()

ValueAt

#
public override double ValueAt(double t)
t (double)

Write

#
public override bool Write(GH_IWriter writer)
writer (GH_IWriter)

Events

GraphChanged

public event IGH_Graph.GraphChangedEventHandler GraphChanged
inherited fromGH_AbstractGraph
GraphChanged