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

#include <GeSpunSurf.h>

Inheritance diagram for OdGeSpunSurf:
OdGeSurface OdGeEntity3d

Public Member Functions

 OdGeSpunSurf ()
 
 OdGeSpunSurf (const OdGeCurve3d &pProfile, const OdGePoint3d &pBase, const OdGeVector3d &pAxis)
 
 OdGeSpunSurf (const OdGeSpunSurf &spunSurf)
 
OdGeSpunSurfoperator= (const OdGeSpunSurf &spunSurface)
 
const OdGeCurve3dgetProfile () const
 
OdGePoint3d getBasePoint () const
 
OdGeVector3d getAxis () const
 
OdGeVector3d getRef () const
 
OdGeSpunSurfsetAngles (double startAngle, double endAngle)
 
OdGeSpunSurfsetRef (const OdGeVector3d &pRef)
 
void set (const OdGeCurve3d &pProfile, const OdGePoint3d &pBase, const OdGeVector3d &pAxis)
 
- 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 spun surface has a parametric representation of the form: R( u, v ) = Z( u ) + ( C( u ) - Z( u ))cos( v ) + A X ( C( u ) - Z( u ) ) sin( v) where C(u) is the profile curve Z(u) is the projection of C(u) onto the spin axis A is the spin axis direction (unit vector) C must not be an intersection curve or a trimmed curve NOTE: Z(u) = P + ( ( C( u ) - P ) . A )A where P is a reference point on the axis.

For internal use only.

Corresponding C++ library: TD_Ge

<group OdGe_Classes>

Definition at line 60 of file GeSpunSurf.h.

Constructor & Destructor Documentation

◆ OdGeSpunSurf() [1/3]

OdGeSpunSurf::OdGeSpunSurf ( )

Default constructor for the OdGeSpunSurf class. Constructs an invalid spun surface.

◆ OdGeSpunSurf() [2/3]

OdGeSpunSurf::OdGeSpunSurf ( const OdGeCurve3d pProfile,
const OdGePoint3d pBase,
const OdGeVector3d pAxis 
)

Constructor for the OdGeSpunSurf class.

Parameters
pProfile[in] Profile curve to be spun.
pBase[in] Rotational axis origin.
pAxis[in] Axis around which the surface is spun.
Remarks
Constructs a spun surface with the specified parameters, a start angle of rotation = 0, an end angle of rotation = Oda2PI, and refVector = (0,0,0).

◆ OdGeSpunSurf() [3/3]

OdGeSpunSurf::OdGeSpunSurf ( const OdGeSpunSurf spunSurf)

Copy constructor for the OdGeSpunSurf class.

Parameters
spunSurf[in] Spun surface to be copied.

Member Function Documentation

◆ getAxis()

OdGeVector3d OdGeSpunSurf::getAxis ( ) const

Returns a vector that represents an axis around which the profile curve is spun to create this spun surface.

◆ getBasePoint()

OdGePoint3d OdGeSpunSurf::getBasePoint ( ) const

Returns a point that represents a rotational axis origin.

◆ getProfile()

const OdGeCurve3d * OdGeSpunSurf::getProfile ( ) const

Returns a pointer to the profile curve that is spun to create this spun surface.

◆ getRef()

OdGeVector3d OdGeSpunSurf::getRef ( ) const

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

◆ operator=()

OdGeSpunSurf & OdGeSpunSurf::operator= ( const OdGeSpunSurf spunSurface)

Assignment operator for the OdGeSpunSurf object.

Parameters
spunSurface[in] Spun surface to assign.
Returns
A reference to this spun surface.

◆ set()

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

Sets the given parameters to this spun surface.

Parameters
pProfile[in] Profile curve to be spun.
pBase[in] Rotational axis origin.
pAxis[in] Axis around which the surface is spun.

◆ setAngles()

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

Sets angles of rotation of the profile curve of this spun surface.

Parameters
startAngle[in] Start angle of rotation. To create a closed spun surface, set this parameter to 0 and endAngle to Oda2PI.
endAngle[in] End angle of rotation. To create a closed spun surface, set this parameter to Oda2PI and startAngle to 0.

◆ setRef()

OdGeSpunSurf & OdGeSpunSurf::setRef ( const OdGeVector3d pRef)

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

Parameters
pRef[in] A vector that specifies the direction of the zero rotation angle of a profile curve.

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