Show / Hide Table of Contents

Class CurveDrive

Describes a movement along a curve (which may be any path or simple curve like a line)

Inheritance
System.Object
IShowPropertyImpl
CurveDrive
Implements
IShowProperty
IPropertyEntry
IDrive
System.Runtime.Serialization.ISerializable
ICommandHandler
System.Runtime.Serialization.IDeserializationCallback
IJsonSerialize
IJsonSerializeDone
Inherited Members
IShowPropertyImpl.propertyTreeView
IShowPropertyImpl.labelText
IShowPropertyImpl.resourceId
IShowPropertyImpl.flagsToSuppress
IShowPropertyImpl.SuppressFlags(ShowPropertyLabelFlags)
IShowPropertyImpl.Frame
IShowPropertyImpl.IShowProperty.Added(IPropertyTreeView)
IShowPropertyImpl.Added(IPropertyTreeView)
IShowPropertyImpl.Selected()
IShowPropertyImpl.UnSelected()
IShowPropertyImpl.ChildSelected(IShowProperty)
IShowPropertyImpl.Opened(Boolean)
IShowPropertyImpl.Removed(IPropertyTreeView)
IShowPropertyImpl.ShowOpen(Boolean)
IShowPropertyImpl.Select()
IShowPropertyImpl.InfoText
IShowPropertyImpl.HelpLink
IShowPropertyImpl.OwnerDrawHeight
IShowPropertyImpl.IShowProperty.SetTabIndex(Int32)
IShowPropertyImpl.StateChangedEvent
IShowPropertyImpl.SetFocus()
IShowPropertyImpl.Hidden
IShowPropertyImpl.ReadOnly
IShowPropertyImpl.OnEnterPressed()
IShowPropertyImpl.OnVisibilityChanged(Boolean)
IShowPropertyImpl.IsSelected
IShowPropertyImpl.Concat(IShowProperty[], IShowProperty[])
IShowPropertyImpl.Update(IShowProperty)
IShowPropertyImpl.SelectedBckgColor
IShowPropertyImpl.SelectedTextColor
IShowPropertyImpl.UnselectedBckgColor
IShowPropertyImpl.UnselectedTextColor
IShowPropertyImpl.IPropertyEntry.IsOpen
IShowPropertyImpl.HasDropDownButton
IShowPropertyImpl.ValueIsEditable
IShowPropertyImpl.Flags
IShowPropertyImpl.Label
IShowPropertyImpl.Value
IShowPropertyImpl.ResourceId
IShowPropertyImpl.Parent
IShowPropertyImpl.SubItems
IShowPropertyImpl.ButtonClicked(PropertyEntryButton)
IShowPropertyImpl.OpenOrCloseSubEntries()
IShowPropertyImpl.propertyPage
IShowPropertyImpl.Added(IPropertyPage)
IShowPropertyImpl.Removed(IPropertyPage)
IShowPropertyImpl.GetDropDownList()
IShowPropertyImpl.StartEdit(Boolean)
IShowPropertyImpl.EndEdit(Boolean, Boolean, String)
IShowPropertyImpl.EditTextChanged(String)
IShowPropertyImpl.IPropertyEntry.Index
IShowPropertyImpl.IPropertyEntry.IndentLevel
IShowPropertyImpl.Selected(IPropertyEntry)
IShowPropertyImpl.UnSelected(IPropertyEntry)
IShowPropertyImpl.ListBoxSelected(Int32)
IShowPropertyImpl.DeferUpdate
IShowPropertyImpl.PropertyEntryChangedStateEvent
IShowPropertyImpl.PropertyEntryChangedState(StateChangedArgs)
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
Assembly: CADability.dll
Syntax
[Serializable]
public class CurveDrive : IShowPropertyImpl, IShowProperty, IPropertyEntry, IDrive, ISerializable, ICommandHandler, IDeserializationCallback, IJsonSerialize, IJsonSerializeDone

Constructors

| Improve this Doc View Source

CurveDrive(ICurve, Double)

Defines a CurveDrive providing the curve for the movement and the object beeing moved. The currentPosition describes the position of the object as it is defined in the model relative to the startpoint of the curve. It must be between 0.0 and the Length of the curve.

Declaration
public CurveDrive(ICurve along, double currentPosition)
Parameters
Type Name Description
ICurve along

Curve for the movement

System.Double currentPosition

Current position of the object

| Improve this Doc View Source

CurveDrive(SerializationInfo, StreamingContext)

Declaration
protected CurveDrive(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context

Properties

| Improve this Doc View Source

ContextMenu

Declaration
public override MenuWithHandler[] ContextMenu { get; }
Property Value
Type Description
MenuWithHandler[]
Overrides
IShowPropertyImpl.ContextMenu
| Improve this Doc View Source

Curve

Declaration
public ICurve Curve { get; }
Property Value
Type Description
ICurve
| Improve this Doc View Source

EntryType

Overrides EntryType, returns GroupTitle.

Declaration
public override ShowPropertyEntryType EntryType { get; }
Property Value
Type Description
ShowPropertyEntryType
Overrides
IShowPropertyImpl.EntryType
| Improve this Doc View Source

LabelText

Declaration
public override string LabelText { get; set; }
Property Value
Type Description
System.String
Overrides
IShowPropertyImpl.LabelText
| Improve this Doc View Source

LabelType

Overrides LabelType

Declaration
public override ShowPropertyLabelFlags LabelType { get; }
Property Value
Type Description
ShowPropertyLabelFlags
Overrides
IShowPropertyImpl.LabelType
| Improve this Doc View Source

MoveAlong

Declaration
public ICurve MoveAlong { get; set; }
Property Value
Type Description
ICurve
| Improve this Doc View Source

NullPosition

Declaration
public double NullPosition { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

SubEntries

Overrides SubEntries, returns the subentries in this property view.

Declaration
public override IShowProperty[] SubEntries { get; }
Property Value
Type Description
IShowProperty[]
Overrides
IShowPropertyImpl.SubEntries
| Improve this Doc View Source

SubEntriesCount

Overrides SubEntriesCount, returns the number of subentries in this property view.

Declaration
public override int SubEntriesCount { get; }
Property Value
Type Description
System.Int32
Overrides
IShowPropertyImpl.SubEntriesCount
| Improve this Doc View Source

Tangential

Gets or sets the tangential movement property. If true, the orientation of the driven objects will follow the tangent of the curve, if false, the orientation of the driven objects will stay fixed in space.

Declaration
public bool Tangential { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

LabelChanged(String)

Overrides LabelChanged(String)

Declaration
public override void LabelChanged(string NewText)
Parameters
Type Name Description
System.String NewText
Overrides
IShowPropertyImpl.LabelChanged(String)
| Improve this Doc View Source

Refresh()

Overrides Refresh()

Declaration
public override void Refresh()
Overrides
IShowPropertyImpl.Refresh()
| Improve this Doc View Source

RuledSurface(CurveDrive, CurveDrive)

Returns a Shell composed of connected faces that describes the ruled surface which is described by a line synchronously connecting the two CurveDrives.

Declaration
public static Shell RuledSurface(CurveDrive wire1, CurveDrive wire2)
Parameters
Type Name Description
CurveDrive wire1

First wire

CurveDrive wire2

Second wire

Returns
Type Description
Shell

Shell describing the ruled surface

Explicit Interface Implementations

| Improve this Doc View Source

IDrive.DependsOn

Declaration
IDrive IDrive.DependsOn { get; set; }
Returns
Type Description
IDrive
| Improve this Doc View Source

IDrive.MovedObjects

Declaration
List<IGeoObject> IDrive.MovedObjects { get; }
Returns
Type Description
System.Collections.Generic.List<IGeoObject>
| Improve this Doc View Source

IDrive.Movement

Declaration
ModOp IDrive.Movement { get; }
Returns
Type Description
ModOp
| Improve this Doc View Source

IDrive.Name

Declaration
string IDrive.Name { get; set; }
Returns
Type Description
System.String
| Improve this Doc View Source

IDrive.Position

Declaration
double IDrive.Position { get; set; }
Returns
Type Description
System.Double
| Improve this Doc View Source

IJsonSerialize.GetObjectData(IJsonWriteData)

Declaration
void IJsonSerialize.GetObjectData(IJsonWriteData data)
Parameters
Type Name Description
IJsonWriteData data
| Improve this Doc View Source

IJsonSerialize.SetObjectData(IJsonReadData)

Declaration
void IJsonSerialize.SetObjectData(IJsonReadData data)
Parameters
Type Name Description
IJsonReadData data
| Improve this Doc View Source

IJsonSerializeDone.SerializationDone()

Declaration
void IJsonSerializeDone.SerializationDone()
| Improve this Doc View Source

ICommandHandler.OnCommand(String)

Declaration
bool ICommandHandler.OnCommand(string MenuId)
Parameters
Type Name Description
System.String MenuId
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ICommandHandler.OnSelected(MenuWithHandler, Boolean)

Declaration
void ICommandHandler.OnSelected(MenuWithHandler selectedMenuItem, bool selected)
Parameters
Type Name Description
MenuWithHandler selectedMenuItem
System.Boolean selected
| Improve this Doc View Source

ICommandHandler.OnUpdateCommand(String, CommandState)

Declaration
bool ICommandHandler.OnUpdateCommand(string MenuId, CommandState CommandState)
Parameters
Type Name Description
System.String MenuId
CommandState CommandState
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IDeserializationCallback.OnDeserialization(Object)

Declaration
void IDeserializationCallback.OnDeserialization(object sender)
Parameters
Type Name Description
System.Object sender
| Improve this Doc View Source

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Declaration
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context

Implements

IShowProperty
IPropertyEntry
IDrive
System.Runtime.Serialization.ISerializable
ICommandHandler
System.Runtime.Serialization.IDeserializationCallback
IJsonSerialize
IJsonSerializeDone
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX