Constructors
Properties
Methods
ClearGrips
#protected void ClearGrips()
CreateDerivedDuplicate
#Implement this function and return an instance of yourself with all specific values copied. All properties in the GH_AbstractGraph class are copied by the GH_AbstractGraph.
Remarks: If you don't want to use the base class copy-logic. Override Duplicate() instead.
CreateGrips
#protected virtual void CreateGrips()
Override this function if your Graph supports grip controls
Draw_PostRenderGrip
#Parameters:
| g (Graphics) | |
| cnt (GH_GraphContainer) | |
| index (int) |
Implements: Draw_PostRenderGrip
Draw_PreRenderGrip
#public virtual GH_GraphDrawInstruction Draw_PreRenderGrip(Graphics g, GH_GraphContainer cnt, int index)
Parameters:
| g (Graphics) | |
| cnt (GH_GraphContainer) | |
| index (int) |
Implements: Draw_PreRenderGrip
EmitProxyObject
#Override this function if you want to be able to edit the graph through a PropertyGrid.
Implements: EmitProxyObject
GHGraphToPointArray
#protected static PointF[] GHGraphToPointArray(RectangleF reg, double pix_accuracy, GH_Evaluator eval)
Parameters:
| reg (RectangleF) | |
| pix_accuracy (double) | |
| eval (GH_AbstractGraph.GH_Evaluator) |
Internal_GripChanged
#By default, the grip is clamped to the unit domain and UpdateEquation is called. If you want to alter this behaviour, override this function.
Parameters:
| grip (GH_GraphGrip) | |
| bIntermediate (bool) |
IntersectionEvaluate
#Evaluates a curve by intersecting it with a vertical line at t
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()
Implements: PrepareForUse
UpdateEquation
#protected virtual void UpdateEquation()
This function is usually called after a grip change. This is where you re-evaluate your equation constants based on grip locations.
ValueAt
#This function supplies evaluation logic for the unit domains