GH_PathOffset
Represents a relative offset within a data structure.
Inheritance Hierarchy
System.Object
Grasshopper.Kernel.Data.GH_PathOffset
Namespace: Grasshopper.Kernel.Data
Assembly: Grasshopper (in Grasshopper.dll)
Syntax
public class GH_PathOffset
The GH_PathOffset type exposes the following members.
Constructors
Name
Description
Public Method
GH_PathOffset.
Initializes a new instance of the GH_PathOffset class
Public Method
GH_PathOffset(IEnumerable.Int32.)
Initializes a new instance of the GH_PathOffset class
Public Method
GH_PathOffset(IEnumerable.Int32., Int32)
Initializes a new instance of the GH_PathOffset class
Public Method
GH_PathOffset(IEnumerable.Int32., Int32, Boolean, Boolean)
Initializes a new instance of the GH_PathOffset class
Properties
Name
Description
Public Property
ItemOffset
Gets or sets the relative offset for branch items.
Public Property
ItemWrap
Gets or sets the ItemWrap flag.
Public Property
PathOffset
Gets access to the relative offsets for path indices.
Public Property
PathWrap
Gets or sets the PathWrap flag.
Methods
Name
Description
Public Method
OffsetPath(GH_Path, Int32, GH_Path., Int32.)
Offset a path + index value without wrapping.
Public Method
OffsetPath(GH_Path, Int32, IGH_Structure, GH_Path., Int32.)
Offset a path + index value with wrapping and bounds checking.
Public Method
Static Member
ParseString
Public Method
ToString
Format the Path Offset.
(Overrides Object.ToString..)