DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Expand ModelsModels
Expand DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Expand General GeometryGeneral Geometry
Collapse ModelModel
Expand ViewView
Expand General ComputingGeneral Computing
Expand Samples and TutorialsSamples and Tutorials
Expand GraphicsGraphics
Expand Math ObjectsMath Objects
Expand DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation LinksHome Page > API Reference > Model > Entities > Movement > IKinematicSet_KC 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.