All Frameworks Class Hierarchy This Framework Previous Indexes
System.IUnknown | +---System.IDispatch | +---System.CATBaseUnknown | +---CATIDegreesOfFreedom
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIDegreesOfFreedom
Interface to analyze the number of degrees of freedom of a component which implements CATIBloc.
Role: Any object which implements CATIBloc interface will also implement current CATIDegreesOfFreedom interface. The analysis of degrees of freedom is done in the constraint network of the parent (GetFatherBloc)
of the current component 'this'. For example, any product inserted in a root product which contains constraints
is concerned by the current interface. The analysis is done within two steps : first step gives the number
of degrees, and the second one provides more details on each one of these degrees.
public virtual HRESULT GetDegreesOfFreedom( | int | iDegreeOfFreedom, |
CATDoFTypeEnum& | oDoFType, | |
double[7] | oData)= 0 |
Legal values for oDoFType | Values returned for oData |
DoF_Translation | Vector = (oData[0], oData[1], oData[2]) |
DoF_Rotation | Direction = (oData[0], oData[1], oData[2]) Pole = (oData[3], oData[4], oData[5]) |
DoF_Screw | Direction = (oData[0], oData[1], oData[2]) Pole = (oData[3], oData[4], oData[5]) Pitch = oData[6] Associated screw translation along axis is Pitch*(Angle of rotation)*Direction The angle is measured counterclockwise in radians |
public virtual HRESULT GetNbDegreesOfFreedom( | CATDoFStatusEnum& | oValidity, |
int& | oNbDegreesOfFreedom) = 0 |
Copyright © 2003, Dassault Systèmes. All rights reserved.