Table of Contents

Interface IDrive

Namespace
CADability
Assembly
CADability.dll

Methods and properties common to all drive objects

public interface IDrive

Properties

DependsOn

Defines an other drive this drive depends on. The movement of the driven objects is the accumulated by all drives that prepend this drive. If DependsOn is null, then this drive is absoulte to the fixed world

IDrive DependsOn { get; set; }

Property Value

IDrive

MovedObjects

List<IGeoObject> MovedObjects { get; }

Property Value

List<IGeoObject>

Movement

Returns the modification that has to be applied to the objects moved by this drive to calculate the current position of the objects. This depends on the Position that has been set before (the current position). The modification does not take into account that this drive depends on another drive.

ModOp Movement { get; }

Property Value

ModOp

Name

string Name { get; set; }

Property Value

string

Position

Gets or sets the current position of the driven objects.

double Position { get; set; }

Property Value

double