|
int | mdlSurface_extractRevolution2 (MSElementDescrH boundaryEdPP, DPoint3dP centerP, DPoint3dP axisP, double *sweepAngleP, MSElementDescrCP surfaceEdP) |
| Used to retrieve information about a revolved surface. More...
|
|
int | mdlSurface_extractExtrusion (MSElementDescrH edPP, DVec3dP directionP, double *distanceP, MSElementDescrCP surfaceEdP) |
| Used to retrieve information from an extruded surface. More...
|
|
bool | mdlSurface_revolutionIsSphere (double *radiusP, DPoint3dP centerP, RotMatrixP rotMatrixP, MSElementDescrP boundaryEdP, DPoint3dP revCenterP, DPoint3dP revAxisP, double revSweep) |
| Returns whether a revolution operation on a given set of values will produce a sphere. More...
|
|
bool | mdlSurface_revolutionIsTorus (double *primaryRadiusP, double *secondaryRadiusP, DPoint3dP centerP, RotMatrixP rotMatrixP, MSElementDescrP boundaryEdP, DPoint3dP revCenterP, DPoint3dP revAxisP, double revSweep) |
| Returns whether a revolution operation on a given set of values will produce a torus. More...
|
|
bool | mdlSurface_extrusionIsWedge (double *radiusP, double *sweepAngleP, DPoint3dP centerP, RotMatrixP rotMatrixP, MSElementDescrP boundEdP, DgnModelRefP modelRef) |
| Returns whether an extrusion operation on a given boundary element will produce a wedge. More...
|
|
bool | mdlSurface_extrusionIsBlock (double *lengthP, double *widthP, DPoint3dP centerPtP, RotMatrixP rMatrixP, DPoint3dP extrudeDirP, double extrudeDist, MSElementDescrP boundEdP) |
| Returns whether an extrusion operation on a given boundary element will produce a block. More...
|
|
bool mdlSurface_extrusionIsWedge |
( |
double * |
radiusP, |
|
|
double * |
sweepAngleP, |
|
|
DPoint3dP |
centerP, |
|
|
RotMatrixP |
rotMatrixP, |
|
|
MSElementDescrP |
boundEdP, |
|
|
DgnModelRefP |
modelRef |
|
) |
| |
Returns whether an extrusion operation on a given boundary element will produce a wedge.
If the boundary element is a complex shape or a complex string element, and it is comprised of two lines and an arc element, there is at least the possibility of the extrusion being a wedge. If these conditions are not met by the boundary element, the function exits and returns false. If the extrusion does create a wedge, then the radius, sweep angle, center point and rotation matrix for the equivalent wedge are calculated and returned.
- Parameters
-
[out] | radiusP | is the radius value of the equivalent wedge to the extrusion of the boundary element. |
[out] | sweepAngleP | is the sweep angle of the equivalent wedge to the extrusion of the boundary element. |
[out] | centerP | is the center point of the equivalent wedge to the extrusion of the boundary element. |
[out] | rotMatrixP | indicates the rotation matrix giving the orientation of the equivalent wedge to the extrusion of the boundary element. |
[in] | boundEdP | is the boundary element to be tested. |
[in] | modelRef | indicates the design model that contains the boundary element. |
- Returns
- true if the extrusion of the boundary would yield a wedge; false otherwise.
- See also
- mdlSurface_revolutionIsTorus
bool mdlSurface_revolutionIsSphere |
( |
double * |
radiusP, |
|
|
DPoint3dP |
centerP, |
|
|
RotMatrixP |
rotMatrixP, |
|
|
MSElementDescrP |
boundaryEdP, |
|
|
DPoint3dP |
revCenterP, |
|
|
DPoint3dP |
revAxisP, |
|
|
double |
revSweep |
|
) |
| |
Returns whether a revolution operation on a given set of values will produce a sphere.
If the boundary element of the revolution is an arc, and the axis of revolution lies in the same plane as the arc, then there is at least the possibility of the revolution producing a sphere, and the function will proceed with a complete check, returning radius, center, and rotation matrix values for the sphere equivalent of the revolution operation. If neither of these cases is true, the revolution will not produce a sphere, and the function exits.
- Parameters
-
[out] | radiusP | is the radius value of the equivalent sphere to the revolution operation of the given boundary. |
[out] | centerP | is the center point of the equivalent sphere to the revolution operation of the given boundary. |
[out] | rotMatrixP | is the rotation matrix of the equivalent sphere to the revolution operation of the given boundary. |
[in] | boundaryEdP | is the boundary element to be used in the revolution operation. |
[in] | revCenterP | is the center of the revolution operation. |
[in] | revAxisP | is the axis of revolution. |
[in] | revSweep | is the sweep angle of the revolution operation. |
- Returns
- true if the revolution operation would produce a sphere, otherwise false.
- See also
- mdlSurface_extractRevolution2
bool mdlSurface_revolutionIsTorus |
( |
double * |
primaryRadiusP, |
|
|
double * |
secondaryRadiusP, |
|
|
DPoint3dP |
centerP, |
|
|
RotMatrixP |
rotMatrixP, |
|
|
MSElementDescrP |
boundaryEdP, |
|
|
DPoint3dP |
revCenterP, |
|
|
DPoint3dP |
revAxisP, |
|
|
double |
revSweep |
|
) |
| |
Returns whether a revolution operation on a given set of values will produce a torus.
If the boundary element of the revolution is a circle, and the axis of revolution lies in the same plane as the arc, then there is at least the possibility of the revolution producing a torus, and the function will proceed with a complete check, returning radius, center, and rotation matrix values for the torus equivalent of the revolution operation. If neither of these cases is true, the revolution will not produce a torus, and the function exits.
- Parameters
-
[out] | primaryRadiusP | is the radius value of the equivalent torus to the revolution operation of the given boundary. |
[out] | secondaryRadiusP | is the radius value of the equivalent torus to the revolution operation of the given boundary. |
[out] | centerP | is the center location of the equivalent torus to the revolution operation of the given boundary. |
[out] | rotMatrixP | is the rotation matrix specifying the orientation of the equivalent torus to the revolution operation of the given boundary. |
[in] | boundaryEdP | is the boundary element to test. |
[in] | revCenterP | is the center point of the revolution. |
[in] | revAxisP | indicates the direction of the axis of revolution. |
[in] | revSweep | is the sweep angle of the revolution applied to the boundary. |
- Returns
- true if the revolution applied to the boundary element would result in a torus; false otherwise.
- See also
- mdlSurface_revolutionIsSphere