Class AxisDrive
Describes a rotation around an axis.
Inheritance
System.Object
AxisDrive
Implements
System.Runtime.Serialization.IDeserializationCallback
System.Runtime.Serialization.ISerializable
Inherited Members
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()
Assembly: CADability.dll
Syntax
[Serializable]
public class AxisDrive : IShowPropertyImpl, IShowProperty, IPropertyEntry, IDrive, ICommandHandler, IDeserializationCallback, ISerializable, IJsonSerialize, IJsonSerializeDone
Constructors
|
Improve this Doc
View Source
AxisDrive()
Declaration
|
Improve this Doc
View Source
AxisDrive(GeoPoint, GeoVector, Double)
Defines a AxisDrive object. The axis and the driven objects must be provided. The
position is meassured in radians.
Declaration
public AxisDrive(GeoPoint location, GeoVector direction, double currentPosition)
Parameters
| Type |
Name |
Description |
| GeoPoint |
location |
Location of the axis
|
| GeoVector |
direction |
Direction of the axis
|
| System.Double |
currentPosition |
Current position of the object
|
|
Improve this Doc
View Source
AxisDrive(SerializationInfo, StreamingContext)
Declaration
protected AxisDrive(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
|
| System.Runtime.Serialization.StreamingContext |
context |
|
Properties
|
Improve this Doc
View Source
Declaration
public override MenuWithHandler[] ContextMenu { get; }
Property Value
Overrides
|
Improve this Doc
View Source
EntryType
Declaration
public override ShowPropertyEntryType EntryType { get; }
Property Value
Overrides
|
Improve this Doc
View Source
LabelText
Declaration
public override string LabelText { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
|
Improve this Doc
View Source
LabelType
Declaration
public override ShowPropertyLabelFlags LabelType { get; }
Property Value
Overrides
|
Improve this Doc
View Source
SubEntries
Overrides SubEntries,
returns the subentries in this property view.
Declaration
public override IShowProperty[] SubEntries { get; }
Property Value
Overrides
|
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
Methods
|
Improve this Doc
View Source
LabelChanged(String)
Declaration
public override void LabelChanged(string NewText)
Parameters
| Type |
Name |
Description |
| System.String |
NewText |
|
Overrides
|
Improve this Doc
View Source
Refresh()
Declaration
public override void Refresh()
Overrides
Explicit Interface Implementations
|
Improve this Doc
View Source
IDrive.DependsOn
Declaration
IDrive IDrive.DependsOn { get; set; }
Returns
|
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
|
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
|
Improve this Doc
View Source
IJsonSerialize.SetObjectData(IJsonReadData)
Declaration
void IJsonSerialize.SetObjectData(IJsonReadData data)
Parameters
|
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
System.Runtime.Serialization.IDeserializationCallback
System.Runtime.Serialization.ISerializable