CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
OdGeRuled Class Reference

#include <GeRuled.h>

Inheritance diagram for OdGeRuled:
OdGeSurface OdGeEntity3d

Public Member Functions

 OdGeRuled ()
 
 OdGeRuled (const OdGeCurve3d &pProfileCurve1, const OdGeCurve3d &pProfileCurve2)
 
 OdGeRuled (const OdGeCurve3d &pProfileCurve1, const OdGePoint3d &pPoint2)
 
 OdGeRuled (const OdGePoint3d &pPoint1, const OdGeCurve3d &pProfileCurve2)
 
 OdGeRuled (const OdGeRuled &)
 
void set (const OdGeCurve3d &pProfileCurve1, const OdGeCurve3d &pProfileCurve2)
 
void set (const OdGeCurve3d &pProfileCurve1, const OdGePoint3d &pPoint2)
 
void set (const OdGePoint3d &pPoint1, const OdGeCurve3d &pProfileCurve2)
 
OdGeRuledoperator= (const OdGeRuled &extSurf)
 
OdResult getProfileCurve (const OdUInt8 iIndex, OdGeCurve3d *&pProfileCurve) const
 
OdResult getPoint (const OdUInt8 iIndex, OdGePoint3d &point) const
 
bool setEnvelope (const OdGeInterval &intrvlU, const OdGeInterval &intrvlV)
 
void getEnvelope (OdGeInterval &intrvlU, OdGeInterval &intrvlV) const
 
bool hasFirstProfilePoint () const
 
bool hasSecondProfilePoint () const
 
- Public Member Functions inherited from OdGeSurface
OdGePoint2d paramOf (const OdGePoint3d &point, 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
 
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
 
OdGeSurfacereverseNormal ()
 
void getEnvelope (OdGeInterval &intrvlU, OdGeInterval &intrvlV) 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)
 
bool project (const OdGePoint3d &p, OdGePoint3d &projP, const OdGeTol &tol=OdGeContext::gTol) const
 
bool getReparameterization (bool &swapUV, double &uCoeffA, double &vCoeffA, double &uCoeffB, double &vCoeffB) const
 
void setReparameterization (bool swapUV=false, double uCoeffA=1., double vCoeffA=1., double uCoeffB=0., double vCoeffB=0.)
 
void getImplicitEnvelope (OdGeInterval &implicitIntrvlU, OdGeInterval &implicitIntrvlV) const
 
bool setEnvelope (const OdGeInterval &realIntrvlU, const OdGeInterval &realIntrvlV)
 
void getEnvelope (OdGeUvBox &uvbox) const
 
void evaluate (const OdGePoint2d &param, int numDeriv, OdGeVector3d *values, OdGeVector3d *normal=NULL) const
 
OdGeExtents3d getGeomExtents (const OdGeUvBox &range=OdGeUvBox(), const OdGeMatrix3d *coordSystem=NULL) const
 
OdGePoint2d paramOf (const OdGePoint3d &point, const OdGeUvBox *uvBox, const OdGeTol &tol=OdGeContext::gTol) const
 
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

For internal use only.

Library: TD_Ge

<group OdGe_Classes>

Definition at line 63 of file GeRuled.h.

Constructor & Destructor Documentation

◆ OdGeRuled() [1/5]

OdGeRuled::OdGeRuled ( )

Default constructor for the OdGeRuled class.

Remarks
The default constructor constructs a point that does not lie on any curve and has a parameter value of 0.

◆ OdGeRuled() [2/5]

OdGeRuled::OdGeRuled ( const OdGeCurve3d pProfileCurve1,
const OdGeCurve3d pProfileCurve2 
)

Constructor for the OdGeRuled class.

Parameters
pProfileCurve1[in] First profile curve that is used to construct the ruled surface.
pProfileCurve1[in] Second profile curve that is used to construct the ruled surface.
Remarks
The constructor constructs a ruled surface by sweeping a line between 2 specified profile curves.

◆ OdGeRuled() [3/5]

OdGeRuled::OdGeRuled ( const OdGeCurve3d pProfileCurve1,
const OdGePoint3d pPoint2 
)

Constructor for the OdGeRuled class.

Parameters
pProfileCurve1[in] A profile curve that is used to construct the ruled surface.
pPoint2[in] A point that is used to construct the ruled surface.
Remarks
The constructor constructs a ruled surface by sweeping a line between specified profile curve and point.

◆ OdGeRuled() [4/5]

OdGeRuled::OdGeRuled ( const OdGePoint3d pPoint1,
const OdGeCurve3d pProfileCurve2 
)

Constructor for the OdGeRuled class.

Parameters
pPoint1[in] A point that is used to construct the ruled surface.
pProfileCurve2[in] A profile curve that is used to construct the ruled surface.
Remarks
The constructor constructs a ruled surface by sweeping a line between specified profile curve and point.

◆ OdGeRuled() [5/5]

OdGeRuled::OdGeRuled ( const OdGeRuled )

Member Function Documentation

◆ getEnvelope()

void OdGeRuled::getEnvelope ( OdGeInterval intrvlU,
OdGeInterval intrvlV 
) const

Gets the envelope of GeRuled.

Parameters
intrvlU[out] u-interval.
intrvlV[out] v-interval.

◆ getPoint()

OdResult OdGeRuled::getPoint ( const OdUInt8  iIndex,
OdGePoint3d point 
) const

Returns the point.

Parameters
iIndex[in] Input index that specifies which point should be retrieved.
point[out] Output point.
Returns
Returns eOk if successful or an appropriate error code in the other case.

◆ getProfileCurve()

OdResult OdGeRuled::getProfileCurve ( const OdUInt8  iIndex,
OdGeCurve3d *&  pProfileCurve 
) const

Returns the profile curve.

Parameters
iIndex[in] Input index that specifies which curve should be retrieved.
pProfileCurve[out] Output profile curve.
Returns
Returns eOk if successful or an appropriate error code in the other case.

◆ hasFirstProfilePoint()

bool OdGeRuled::hasFirstProfilePoint ( ) const

Checks if a point was used to define the first profile.

◆ hasSecondProfilePoint()

bool OdGeRuled::hasSecondProfilePoint ( ) const

Checks if a point was used to define the second profile.

◆ operator=()

OdGeRuled& OdGeRuled::operator= ( const OdGeRuled extSurf)

Assignment operator for the OdGeRuled object.

◆ set() [1/3]

void OdGeRuled::set ( const OdGeCurve3d pProfileCurve1,
const OdGeCurve3d pProfileCurve2 
)

Sets the data to create a ruled surface.

Parameters
pProfileCurve1[in] First profile curve that is used to construct the ruled surface.
pProfileCurve2[in] Second profile curve that is used to construct the ruled surface.

◆ set() [2/3]

void OdGeRuled::set ( const OdGeCurve3d pProfileCurve1,
const OdGePoint3d pPoint2 
)

Sets the data to create a ruled surface.

Parameters
pProfileCurve1[in] A profile curve that is used to construct the ruled surface.
pPoint2[in] A point that is used to construct the ruled surface.

◆ set() [3/3]

void OdGeRuled::set ( const OdGePoint3d pPoint1,
const OdGeCurve3d pProfileCurve2 
)

Sets data to create a surface.

Parameters
pPoint1[in] A point that is used to construct the ruled surface.
pProfileCurve2[in] A profile curve that is used to construct the ruled surface.

◆ setEnvelope()

bool OdGeRuled::setEnvelope ( const OdGeInterval intrvlU,
const OdGeInterval intrvlV 
)

Sets the envelope of GeRuled.

Parameters
intrvlU[in] u-interval.
intrvlV[in] v-interval.

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