KernelCAD Documentation

DInsight Home
Skip Navigation Links.
Start page
Quick Start
Installation
Overview of the software
What is new
Collapse KernelCAD ModelsKernelCAD Models
Collapse KernelCAD ComponentsKernelCAD Components
KernelCAD Control
KernelCAD .NET Control
Methods and Properties
Menu
Model Explorer
Birds Eye View
Programming
Direct User Access
Direct Operations
Interface Queries
Printing Support
Data Types
Modes of KernelCAD Control
DIObjectGenerator class
Properties
FlatObjectArray Poperty
Context
64 bit development
Dual Mode
Initialisation Context
Overlay Editor
Memory Management
Input validation
Collapse Advanced functionalityAdvanced functionality
Collapse InterfacesInterfaces
Alphabetical list
I3DGrid
I3DBugger
I3Dpt
IAxiBase
IAxis
IBoolSection
IBoolSectionEx
IBoundary
IColor
IConstraint
IData
IDiffSurface_KC
IDIFont
IDraw
IDrawUtil
IDraw2
IElem
IElement
IKCLine
ILightSource
ILocation
ILocationEx
IMaterial
IMetrics
IMetrics2
IModel
IModel2
IModelEx
IPatch
IKCPathCollisionDetector
IProfiles
IPropertyArray
IPropertyArray2
IStdShape
IStrip
ISurface
IText
ITexture
ITransform
IUnknown
Collapse Open Cascade TechnologyOpen Cascade Technology
Collapse DataData
Collapse MovementMovement
Collapse FramesFrames
Collapse Oriented ObjectsOriented Objects
Collapse SectionsSections
Collapse GeneralGeneral
Collapse Topological InterfacesTopological Interfaces
Collapse Viewing InterfacesViewing Interfaces
Collapse Lines And CurvesLines And Curves
Collapse Symmetry InterfacesSymmetry Interfaces
Collapse Clipping plane interfacesClipping plane interfaces
Collapse AlgorithmsAlgorithms
Collapse 2D Geometry2D Geometry
Collapse Programming Samples and TutorialsProgramming Samples and Tutorials
Collapse OverviewOverview
Collapse DeploymentDeployment
Collapse .NET Samples.NET Samples
Collapse C++ SamplesC++ Samples
Collapse Visual Basic SamplesVisual Basic Samples
Collapse Delphi SamplesDelphi Samples
Collapse 3D Debugger3D Debugger
Collapse DeploymentDeployment
Licensing
Model Viewer
Open C++ Source
Technical Support
Skip Navigation LinksHome Page > KernelCAD Components > Interfaces > Movement > IKinematicSet_KC
IKinematicSet_KC Interface

IKinematicSet_KC(64) Interface

AddObject
Reset
SetPosition

IKinematicSet_KC represents a collection of KernelCAD Sections 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.