Functions | |
nativeCode ConsFrame * | mdlConsFrame_createPoint (ConsFrame *pThis, DPoint3dP p) |
mdlConsFrame_createPoint defines a construction frame point whose attributes are CONS_POINT_X and CONS_POINT_Y. More... | |
nativeCode ConsFrame * | mdlConsFrame_createLine (ConsFrame *pThis, DPoint3dP p1, DPoint3dP p2) |
mdlConsFrame_createLine defines a construction line. More... | |
nativeCode ConsFrame * | mdlConsFrame_createEllipse (ConsFrame *pThis, DPoint3dP c, double r, double r2, double zr) |
mdlConsFrame_createEllipse defines a construction ellipse. More... | |
nativeCode ConsFrame * | mdlConsFrame_createCircle (ConsFrame *pThis, DPoint3dP c, double r) |
mdlConsFrame_createCircle defines a construction circle. More... | |
nativeCode ConsFrame * | mdlConsFrame_createBspline (ConsFrame *pThis, MSBsplineCurve *pCurve) |
The mdlConsFrame_createBspline function defines a B-spline Construction Frame object for use in constraint solving. More... | |
nativeCode ConsFrame * | mdlConsFrame_createBsplineCell (ConsFrame *pThis, MSBsplineCurve *pCurve, Dpoint3d *pCenter, double angle) |
The mdlConsFrame_createBsplineCell function defines a B-spline cell Construction Frame object for use in constraint solving. More... | |
nativeCode int | mdlConsFrame_isUnderDetermined (ConsFrame *pThis) |
mdlConsFrame_isUnderDetermined queries if any of the frame's geometric attributes are not fully determined by constraints. More... | |
nativeCode ConsFrame* mdlConsFrame_createBspline | ( | ConsFrame * | pThis, |
MSBsplineCurve * | pCurve | ||
) |
The mdlConsFrame_createBspline function defines a B-spline Construction Frame
object for use in constraint solving.
The B-spline's geometry, defined by pCurve, is assumed to be invariant, so this frame has no solver attribute variables at all. You may, nevertheless, change the poles of the B-spline curve on the fly.
[out] | pThis | is the storage to fill out with the B-spline Construction Frame definition data. |
[in] | pCurve | should point to a fully defined B-spline curve definition data structure, such as would be returned by mdlBspline_convertToCurve. |
nativeCode ConsFrame* mdlConsFrame_createBsplineCell | ( | ConsFrame * | pThis, |
MSBsplineCurve * | pCurve, | ||
Dpoint3d * | pCenter, | ||
double | angle | ||
) |
The mdlConsFrame_createBsplineCell function defines a B-spline cell
Construction Frame object for use in constraint solving.
The B-spline's intrinsic geometry is assumed to be fixed (although you may change poles of the B-spline curve on the fly), but the B-spline as a whole can translate and rotate. A B-spline cell would be useful for modeling a cam, for example.
[out] | pThis | is the storage to fill out with the B-spline cell Construction Frame definition data. |
[in] | pCurve | should point to a fully defined B-spline curve definition data structure, such as would be returned by mdlBspline_convertToCurve. |
[in] | pCenter | is the initial location of the B-spline cell construction frame object. |
[in] | angle | is the initial (planar) rotation of the B-spline cell construction frame object, in radians. |
nativeCode ConsFrame* mdlConsFrame_createCircle | ( | ConsFrame * | pThis, |
DPoint3dP | c, | ||
double | r | ||
) |
mdlConsFrame_createCircle defines a construction circle.
[out] | pThis | is the storage to fill out. |
[in] | c | is the initial x, y location of the center of the circle. |
[in] | r | is the initial value for the radius of the circle. |
nativeCode ConsFrame* mdlConsFrame_createEllipse | ( | ConsFrame * | pThis, |
DPoint3dP | c, | ||
double | r, | ||
double | r2, | ||
double | zr | ||
) |
mdlConsFrame_createEllipse defines a construction ellipse.
[out] | pThis | is the storage to fill out. |
[in] | c | is the initial x, y location of the center of the ellipse. |
[in] | r | the initial major radius of the ellipse. |
[in] | r2 | the initial minor radius of the ellipse |
[in] | zr | is the initial rotation angle (about the z axis) of the ellipse, in radians, measured up from the x-axis. |
nativeCode ConsFrame* mdlConsFrame_createLine | ( | ConsFrame * | pThis, |
DPoint3dP | p1, | ||
DPoint3dP | p2 | ||
) |
mdlConsFrame_createLine defines a construction line.
A construction frame line represents an infinite line. The two input point parameters simply specify its initial slope and intercept, not its length or extent. A construction line has a direction, defined as the direction from the first input point parameter toward the second point. Line direction is important for defining constraints.
[out] | pThis | is the storage to fill out. |
[in] | p1 | point which defines the line's initial geometry. |
[in] | p2 | point which defines the line's initial geometry. |
nativeCode ConsFrame* mdlConsFrame_createPoint | ( | ConsFrame * | pThis, |
DPoint3dP | p | ||
) |
mdlConsFrame_createPoint defines a construction frame point whose attributes are
CONS_POINT_X and CONS_POINT_Y.
[out] | pThis | is the storage to fill out. |
[in] | p | is the point's initial location. |
nativeCode int mdlConsFrame_isUnderDetermined | ( | ConsFrame * | pThis | ) |
mdlConsFrame_isUnderDetermined queries if any of the frame's geometric
attributes are not fully determined by constraints.
If any attribute is under- determined, the frame as a whole is under-determined.
[out] | pThis | is the frame object to query. |