GetLine
Use to interactively get a line. The Rhino "Line" command uses GetLine.
Constructors
public GetLine()
Finalizer
~GetLine
#~GetLine()
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
Properties
Controls whether or not a zero length line is acceptable. The default is to require the user to keep picking the end point until we get a point different than the start point.
If set, the feedback color is used to draw the dynamic line when the second point is begin picked. If not set, the active layer color is used.
Prompt when getting first point
If FixedLength > 0, the line must have the specified length
If true, the feedback color is used to draw the dynamic line when the second point is begin picked. If false, the active layer color is used.
Methods
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.
Dispose
#For derived class implementers.
This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.
You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.
Also, you must call the base virtual method within your overriding method.
Parameters:
| disposing (bool) | true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer. |
If true, then all line variations are shown if the default line mode is used
Parameters:
| on (bool) |
If true, then the "BothSides" option shows up when the start point is interactively picked.
Parameters:
| on (bool) |
If true, the "MidPoint" options shows up
Parameters:
| on (bool) |
Perform the 'get' operation.
Parameters:
| line (out Line) |