DG Kernel (ActiveX) Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Upgrading Native Apps
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlsDG Kernel Controls
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse ViewsViews
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Go to DGKC docs Search Documentation


IKinematicSet_KC(64) Interface

AddObject
Reset
SetPosition

IKinematicSet_KC represents a collection of DG Kernel Entities or other geometric objects, which have associated Movement and which hence can be considered as a system of moving objects.

See also: Movements, Path Collision Detection, Interface List


HRESULT AddObject(IMetrics* object, IMove_KC* move, VARIANT_BOOL includeChildren)

Parameters

object - [in] IMetrics interface implemented by the object to be added to the collection

move - [in] IMove_KC of the Movement to be associated with the object., If move is NULL the object will be considered static and will not be moved in any operation

includeChildren - [in] If true, where appropriate, children of the object will be included in the operation which involves this set.

Remarks:

The methods adds the object to the collection and associates the movement move with it. Set move to NULL to include the object as static (immobile).


HRESULT Reset()

Remarks:

The methods removes any information added by prior calls to AddObject for this instance of the interface. The set becomes empty.


HRESULT SetPosition(double t)

Parameters

t - [in] parameter in range [0, 1]

Remarks:

The methods moves all objects to their positions at moment t as identified by the assigned movements.