CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
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 &ruled)
 
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
 
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

If both curves are valid, the parametric equation for this surface is :

 P(u, v) = C1(u) + v(C2(u) - C1(u))
 

If one of the curves is replaced with a point, the equations simplify to one of :

 P(u, v) = P1 + v(C2(u) - P1)
 P(u, v) = C1(u) + v(P2 - C1(u))
 

A ruled face with no curves and two points is degenerate and will not be returned.

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. Constructs an invalid ruled surface.

◆ 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.
pProfileCurve2[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 ruled)

Copy constructor for the OdGeRuled class.

Parameters
ruled[in] Ruled surface to copy.

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
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
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.

Parameters
extSurf[in] OdGeRuled object to assign.
Returns
Reference to this OdGeRevolvedSurface 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: