Show / Hide Table of Contents

Class ConstructAction.GeoObjectInput

Defines an input object for an action derived from ConstructAction. This input object extpects the user to click on a curve (IGeoObject that also implements ICurve. Pressing enter or TAB or clicking the mouse proceeds to the next input object.

Inheritance
System.Object
ConstructAction.InputObject
ConstructAction.GeoObjectInput
Inherited Members
ConstructAction.InputObject.ReadOnly
ConstructAction.InputObject.Optional
ConstructAction.InputObject.Fixed
ConstructAction.InputObject.ResourceId
ConstructAction.InputObject.constructAction
ConstructAction.InputObject.ShowProperty
ConstructAction.InputObject.Init(ConstructAction)
ConstructAction.InputObject.Refresh()
ConstructAction.InputObject.BuildShowProperty()
ConstructAction.InputObject.AcceptInput(Boolean)
ConstructAction.InputObject.MouseLeft()
ConstructAction.InputObject.OnActionDone()
ConstructAction.InputObject.HasHotspot
ConstructAction.InputObject.HotspotPosition
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability.Actions
Assembly: CADability.dll
Syntax
public class GeoObjectInput : ConstructAction.InputObject, ConstructAction.IInputObject

Constructors

| Improve this Doc View Source

GeoObjectInput(String)

Creates a GeoObjectInput object.

Declaration
public GeoObjectInput(string resourceId)
Parameters
Type Name Description
System.String resourceId

the resource id to specify a string from the StringTable. ResourceId+".Label": the Label left of the edit box. ResourceId+".ShortInfo": a short tooltip text ResourceId+"DetailedInfo": a longer tooltip text.

Fields

| Improve this Doc View Source

currentMousePoint

Declaration
public Point currentMousePoint
Field Value
Type Description
System.Drawing.Point
| Improve this Doc View Source

EdgesOnly

Declaration
public bool EdgesOnly
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

FacesOnly

Declaration
public bool FacesOnly
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

ModifiableOnly

true: only curves that may be modified are yielded false: any kind of curves curves are yielded

Declaration
public bool ModifiableOnly
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

MultipleInput

Declaration
public bool MultipleInput
Field Value
Type Description
System.Boolean

Properties

| Improve this Doc View Source

Decomposed

true: only decomposed curves are yielded, false: also path objects, that consist of several subcurves are yielded

Declaration
public bool Decomposed { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

FailCursor

Sets the cursor that will be displayed when no curve is hit

Declaration
public string FailCursor { set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ForwardMouseInputTo

Mouse input should be forwarded to another input object and only processed by this input, when the other input object is fixed.

Declaration
public object ForwardMouseInputTo { get; set; }
Property Value
Type Description
System.Object
| Improve this Doc View Source

HitCursor

Sets the cursor that will be displayed when a curve is hit

Declaration
public string HitCursor { set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

AdjustHighlight()

Declaration
protected override void AdjustHighlight()
Overrides
ConstructAction.InputObject.AdjustHighlight()
| Improve this Doc View Source

GetGeoObjects()

Gets the currently selected curves.

Declaration
public IGeoObject[] GetGeoObjects()
Returns
Type Description
IGeoObject[]
| Improve this Doc View Source

SetGeoObject(IGeoObject[], IGeoObject)

Forces the given geoObjects to be displayed

Declaration
public void SetGeoObject(IGeoObject[] GeoObjects, IGeoObject selectedGeoObject)
Parameters
Type Name Description
IGeoObject[] GeoObjects

array of GeoObjects

IGeoObject selectedGeoObject

currently selected GeoObject

| Improve this Doc View Source

SetSelectedGeoObject(IGeoObject)

Set the selected GeoObject

Declaration
public void SetSelectedGeoObject(IGeoObject geoObject)
Parameters
Type Name Description
IGeoObject geoObject

Events

| Improve this Doc View Source

GeoObjectSelectionChangedEvent

Provide a method here to react on the user selecting a different curve

Declaration
public event ConstructAction.GeoObjectInput.GeoObjectSelectionChangedDelegate GeoObjectSelectionChangedEvent
Event Type
Type Description
ConstructAction.GeoObjectInput.GeoObjectSelectionChangedDelegate
| Improve this Doc View Source

MouseOverGeoObjectsEvent

Provide a method here to react on the user moving the cursor over GeoObjects.

Declaration
public event ConstructAction.GeoObjectInput.MouseOverGeoObjectsDelegate MouseOverGeoObjectsEvent
Event Type
Type Description
ConstructAction.GeoObjectInput.MouseOverGeoObjectsDelegate
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX