CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdGeRevolvedSurface Class Reference

#include <GeRevolvedSurface.h>

Inheritance diagram for OdGeRevolvedSurface:
OdGeSurface OdGeEntity3d

Public Member Functions

 OdGeRevolvedSurface ()
 
 OdGeRevolvedSurface (const OdGeCurve3d &pProfile, const OdGePoint3d &pBase, const OdGeVector3d &pAxis, const OdGeVector3d &pRef, double startAngle=0., double endAngle=Oda2PI)
 
 OdGeRevolvedSurface (const OdGeRevolvedSurface &revolvedSurf)
 
OdGeRevolvedSurfaceoperator= (const OdGeRevolvedSurface &revolvedSurf)
 
const OdGeCurve3dgetProfile () const
 
OdGePoint3d getBasePoint () const
 
OdGeVector3d getAxis () const
 
OdGeVector3d getRef () const
 
void getAngles (double &startAngle, double &endAngle) const
 
OdGeRevolvedSurfacesetAngles (double startAngle, double endAngle)
 
OdGeRevolvedSurfacesetRef (const OdGeVector3d &pRef)
 
void set (const OdGeCurve3d &pProfile, const OdGePoint3d &pBase, const OdGeVector3d &pAxis, const OdGeVector3d &pRef)
 
- Public Member Functions inherited from OdGeSurface
OdGePoint2d paramOf (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint2d paramOf (const OdGePoint3d &point, const OdGeUvBox *uvBox, const OdGeTol &tol=OdGeContext::gTol) const
 
 TD_USING (OdGeEntity3d::isOn)
 
bool isOn (const OdGePoint3d &point, OdGePoint2d &paramPoint, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint3d closestPointTo (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint3d closestPointTo (const OdGePoint3d &point, OdGePoint2d *param, const OdGeUvBox *uvBox, const OdGeTol &tol=OdGeContext::gTol) const
 
void getClosestPointTo (const OdGePoint3d &point, OdGePointOnSurface &pntOnSurface, const OdGeTol &tol=OdGeContext::gTol) const
 
double distanceTo (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isNormalReversed () const
 
bool isLeftHanded () const
 
OdGeSurfacereverseNormal ()
 
void getEnvelope (OdGeInterval &intrvlU, OdGeInterval &intrvlV) const
 
void getEnvelope (OdGeUvBox &uvbox) const
 
bool isClosedInU (const OdGeTol &tol=OdGeContext::gTol) const
 
bool isClosedInV (const OdGeTol &tol=OdGeContext::gTol) const
 
OdGePoint3d evalPoint (const OdGePoint2d &param) const
 
OdGePoint3d evalPoint (const OdGePoint2d &param, int numDeriv, OdGeVector3dArray &derivatives) const
 
OdGePoint3d evalPoint (const OdGePoint2d &param, int numDeriv, OdGeVector3dArray &derivatives, OdGeVector3d &normal) const
 
OdGeSurfaceoperator= (const OdGeSurface &surf)
 
OdGeExtents3d getGeomExtents (const OdGeUvBox &range=OdGeUvBox(), const OdGeMatrix3d *coordSystem=NULL) const
 
bool project (const OdGePoint3d &p, OdGePoint3d &projP, const OdGeTol &tol=OdGeContext::gTol) const
 
bool setEnvelope (const OdGeInterval &realIntrvlU, const OdGeInterval &realIntrvlV)
 
OdGeCurve3dmakeIsoparamCurve (bool byU, double param) const
 
OdGeCurve3dmakeIsoparamCurve (bool byU, double param, const OdGeInterval &interval) const
 
bool getPoles (OdGeDoubleArray *uParams, OdGeDoubleArray *vParams, OdGePoint3dArray *uPoints, OdGePoint3dArray *vPoints, double tol=1e-13) const
 
- Public Member Functions inherited from OdGeEntity3d
 ODRX_HEAP_OPERATORS ()
 
 ~OdGeEntity3d ()
 
bool isKindOf (OdGe::EntityId entType) const
 
OdGe::EntityId type () const
 
OdGeEntity3dcopy () const
 
OdGeEntity3doperator= (const OdGeEntity3d &entity)
 
bool operator== (const OdGeEntity3d &entity) const
 
bool operator!= (const OdGeEntity3d &entity) const
 
bool isEqualTo (const OdGeEntity3d &object, const OdGeTol &tol=OdGeContext::gTol) const
 
OdGeEntity3dtransformBy (const OdGeMatrix3d &xfm)
 
OdGeEntity3dtranslateBy (const OdGeVector3d &translateVec)
 
OdGeEntity3drotateBy (double angle, const OdGeVector3d &vect, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
 
OdGeEntity3dmirror (const OdGePlane &plane)
 
OdGeEntity3dscaleBy (double scaleFactor, const OdGePoint3d &basePoint=OdGePoint3d::kOrigin)
 
bool isOn (const OdGePoint3d &point, const OdGeTol &tol=OdGeContext::gTol) const
 

Additional Inherited Members

- Protected Member Functions inherited from OdGeSurface
 OdGeSurface ()
 
 OdGeSurface (const OdGeSurface &surf)
 
- Protected Member Functions inherited from OdGeEntity3d
 OdGeEntity3d ()
 
 OdGeEntity3d (const OdGeEntity3d &)
 
void connectTo (OdGeEntity3dImpl *)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ OdGeRevolvedSurface() [1/3]

OdGeRevolvedSurface::OdGeRevolvedSurface ( )

Default constructor for the OdGeRevolvedSurface class. Constructs an invalid revolved surface.

◆ OdGeRevolvedSurface() [2/3]

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.

Parameters
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.
Remarks
The constructor constructs a revolved surface with specified parameters.

◆ OdGeRevolvedSurface() [3/3]

OdGeRevolvedSurface::OdGeRevolvedSurface ( const OdGeRevolvedSurface revolvedSurf)

Copy constructor for the OdGeRevolvedSurface class.

Parameters
revolvedSurf[in] Revolved surface to be copied.

Member Function Documentation

◆ getAngles()

void OdGeRevolvedSurface::getAngles ( double &  startAngle,
double &  endAngle 
) const

Returns start and end angles of rotation of the profile curve.

Parameters
startAngle[out] Start angle of rotation of this revolved surface.
endAngle[out] End angle of rotation of this revolved surface.
Remarks
The angles are specified in radians.

◆ getAxis()

OdGeVector3d OdGeRevolvedSurface::getAxis ( ) const

Returns axis of rotating around which the profile curve is revolved.

◆ getBasePoint()

OdGePoint3d OdGeRevolvedSurface::getBasePoint ( ) const

Returns an origin point of this revolved surface.

◆ getProfile()

const OdGeCurve3d & OdGeRevolvedSurface::getProfile ( ) const

Returns a reference to the profile curve of this revolved surface.

◆ getRef()

OdGeVector3d OdGeRevolvedSurface::getRef ( ) const

Returns the vector that indicates the direction of the zero rotation angle.

◆ operator=()

OdGeRevolvedSurface & OdGeRevolvedSurface::operator= ( const OdGeRevolvedSurface revolvedSurf)

Assignment operator for the OdGeRevolvedSurface object.

Parameters
revolvedSurf[in] OdGeRevolvedSurface object to assign.
Returns
Reference to this OdGeRevolvedSurface object.

◆ set()

void OdGeRevolvedSurface::set ( const OdGeCurve3d pProfile,
const OdGePoint3d pBase,
const OdGeVector3d pAxis,
const OdGeVector3d pRef 
)

Sets parameters for this revolved surface.

Parameters
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.
Remarks
The angles are specified in radians.

◆ setAngles()

OdGeRevolvedSurface & OdGeRevolvedSurface::setAngles ( double  startAngle,
double  endAngle 
)

Sets start and end angles of rotation of the profile curve.

Parameters
startAngle[in] Start angle of rotation of this revolved surface.
endAngle[in] End angle of rotation of this revolved surface.
Remarks
The angles are specified in radians.

◆ setRef()

OdGeRevolvedSurface & OdGeRevolvedSurface::setRef ( const OdGeVector3d pRef)

Sets vector that indicates the direction of the zero rotation angle of a profile curve.

Parameters
pRef[in] The unit vector that indicates the direction of the zero rotation angle of a profile curve.
Returns
Reference to the resulting revolved surface.

The documentation for this class was generated from the following file: