CFx SDK Documentation 2024 SP0
|
#include <GeRevolvedSurface.h>
Additional Inherited Members | |
![]() | |
OdGeSurface () | |
OdGeSurface (const OdGeSurface &surf) | |
![]() | |
OdGeEntity3d () | |
OdGeEntity3d (const OdGeEntity3d &) | |
void | connectTo (OdGeEntity3dImpl *) |
A revolved surface has a parametric representation of the form: retPnt(u, v) = P + C(u).x * (XVec * cos(v) + YVec * sin(v)) + C(u).z * A where C(u) is the profile curve. Curve controls only 2 parameters - the height and the distance from the axis P is the origin of the surface A is the axis of the surface XVec, YVec are the unit vectors for the rotated curve.
For internal use only.
Library: TD_Ge
<group OdGe_Classes>
Definition at line 59 of file GeRevolvedSurface.h.
OdGeRevolvedSurface::OdGeRevolvedSurface | ( | ) |
Default constructor for the OdGeRevolvedSurface class. Constructs an invalid revolved surface.
OdGeRevolvedSurface::OdGeRevolvedSurface | ( | const OdGeCurve3d & | pProfile, |
const OdGePoint3d & | pBase, | ||
const OdGeVector3d & | pAxis, | ||
const OdGeVector3d & | pRef, | ||
double | startAngle = 0. , |
||
double | endAngle = Oda2PI |
||
) |
Constructor for the OdGeRevolvedSurface class.
pProfile | [in] A pointer to the profile curve that is revolved. |
pBase | [in] Origin point that along with pAxis form the axis of the revolved surface. |
pAxis | [in] Axis of rotation of the profile curve. |
pRef | [in] The unit vector for the rotated curve (incorrectly called "Radius"). Indicates the direction of the zero rotation angle. |
startAngle | [in] Start angle of rotation. |
endAngle | [in] End angle of rotation. |
OdGeRevolvedSurface::OdGeRevolvedSurface | ( | const OdGeRevolvedSurface & | revolvedSurf | ) |
Copy constructor for the OdGeRevolvedSurface class.
revolvedSurf | [in] Revolved surface to be copied. |
void OdGeRevolvedSurface::getAngles | ( | double & | startAngle, |
double & | endAngle | ||
) | const |
Returns start and end angles of rotation of the profile curve.
startAngle | [out] Start angle of rotation of this revolved surface. |
endAngle | [out] End angle of rotation of this revolved surface. |
OdGeVector3d OdGeRevolvedSurface::getAxis | ( | ) | const |
Returns axis of rotating around which the profile curve is revolved.
OdGePoint3d OdGeRevolvedSurface::getBasePoint | ( | ) | const |
Returns an origin point of this revolved surface.
const OdGeCurve3d & OdGeRevolvedSurface::getProfile | ( | ) | const |
Returns a reference to the profile curve of this revolved surface.
OdGeVector3d OdGeRevolvedSurface::getRef | ( | ) | const |
Returns the vector that indicates the direction of the zero rotation angle.
OdGeRevolvedSurface & OdGeRevolvedSurface::operator= | ( | const OdGeRevolvedSurface & | revolvedSurf | ) |
Assignment operator for the OdGeRevolvedSurface object.
revolvedSurf | [in] OdGeRevolvedSurface object to assign. |
void OdGeRevolvedSurface::set | ( | const OdGeCurve3d & | pProfile, |
const OdGePoint3d & | pBase, | ||
const OdGeVector3d & | pAxis, | ||
const OdGeVector3d & | pRef | ||
) |
Sets parameters for this revolved surface.
pProfile | [in] A pointer to the profile curve that is revolved. |
pBase | [in] Origin point of the revolved surface. |
pAxis | [in] Axis of rotation of the profile curve. |
pRef | [in] The unit vector for the rotated curve (incorrectly called �Radius�). Indicates the direction of the zero rotation angle of a profile curve. |
startAngle | [in] Start angle of rotation. |
endAngle | [in] End angle of rotation. |
OdGeRevolvedSurface & OdGeRevolvedSurface::setAngles | ( | double | startAngle, |
double | endAngle | ||
) |
Sets start and end angles of rotation of the profile curve.
startAngle | [in] Start angle of rotation of this revolved surface. |
endAngle | [in] End angle of rotation of this revolved surface. |
OdGeRevolvedSurface & OdGeRevolvedSurface::setRef | ( | const OdGeVector3d & | pRef | ) |
Sets vector that indicates the direction of the zero rotation angle of a profile curve.
pRef | [in] The unit vector that indicates the direction of the zero rotation angle of a profile curve. |