CFx SDK Documentation  2022 SP0
Public Member Functions | List of all members
OdGeOffsetSurface Class Reference

#include <GeOffsetSurface.h>

Inheritance diagram for OdGeOffsetSurface:
OdGeSurface OdGeEntity3d

Public Member Functions

 OdGeOffsetSurface ()
 
 OdGeOffsetSurface (OdGeSurface *baseSurface, double offsetDistance, bool makeCopy=true)
 
 OdGeOffsetSurface (const OdGeOffsetSurface &source)
 
bool isPlane () const
 
bool isBoundedPlane () const
 
bool isSphere () const
 
bool isCylinder () const
 
bool isCone () const
 
bool isEllipCylinder () const
 
bool isEllipCone () const
 
bool isTorus () const
 
bool getSurface (OdGeSurface *&simpleSurface) const
 
void getConstructionSurface (OdGeSurface *&baseSurface) const
 
double offsetDist () const
 
OdGeOffsetSurfaceset (OdGeSurface *baseSurface, double offsetDistance, bool makeCopy=true)
 
OdGeOffsetSurfaceoperator= (const OdGeOffsetSurface &surface)
 
- 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)
 
- 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

This class represents surfaces that are exact offsets of other surfaces.

Corresponding C++ library: TD_Ge

<group OdGe_Classes>

Definition at line 38 of file GeOffsetSurface.h.

Constructor & Destructor Documentation

◆ OdGeOffsetSurface() [1/3]

OdGeOffsetSurface::OdGeOffsetSurface ( )
Parameters
source[in] Object to be cloned.
baseSurface[in] Any surface.
offsetDistance[in] Offset distance.
makeCopy[in] Makes a copy of baseSurface.
Remarks
Without arguments, the constructor sets the base surface pointer to NULL, and the offset distance to 0.0.

◆ OdGeOffsetSurface() [2/3]

OdGeOffsetSurface::OdGeOffsetSurface ( OdGeSurface baseSurface,
double  offsetDistance,
bool  makeCopy = true 
)

◆ OdGeOffsetSurface() [3/3]

OdGeOffsetSurface::OdGeOffsetSurface ( const OdGeOffsetSurface source)

Member Function Documentation

◆ getConstructionSurface()

void OdGeOffsetSurface::getConstructionSurface ( OdGeSurface *&  baseSurface) const

Returns the base surface.

Parameters
baseSurface[out] Receives base surface.

◆ getSurface()

bool OdGeOffsetSurface::getSurface ( OdGeSurface *&  simpleSurface) const

Creates a copy of this surface as an OdGeSurface, and returns a pointer to the new surface.

Parameters
simpleSurface[out] Receives the OdGeSurface.

◆ isBoundedPlane()

bool OdGeOffsetSurface::isBoundedPlane ( ) const

Return true if and only if the offset surface can be represented as an OdGeBoundedPlane.

Remarks
Currently not implemented.

◆ isCone()

bool OdGeOffsetSurface::isCone ( ) const

Return true if and only if the offset surface can be represented as an OdGeCone.

Remarks
Currently not implemented.

◆ isCylinder()

bool OdGeOffsetSurface::isCylinder ( ) const

Return true if and only if the offset surface can be represented as an OdGeCylinder.

Remarks
Currently not implemented.

◆ isEllipCone()

bool OdGeOffsetSurface::isEllipCone ( ) const

Return true if and only if the offset surface can be represented as an OdGeEllipCone.

Remarks
Currently not implemented.

◆ isEllipCylinder()

bool OdGeOffsetSurface::isEllipCylinder ( ) const

Return true if and only if the offset surface can be represented as an OdGeEllipCylinder.

Remarks
Currently not implemented.

◆ isPlane()

bool OdGeOffsetSurface::isPlane ( ) const

Return true if and only if the offset surface can be represented as an OdGePlanarEnt.

Remarks
Currently not implemented.

◆ isSphere()

bool OdGeOffsetSurface::isSphere ( ) const

Return true if and only if the offset surface can be represented as an OdGeSphere.

Remarks
Currently not implemented.

◆ isTorus()

bool OdGeOffsetSurface::isTorus ( ) const

Return true if and only if the offset surface can be represented as an OdGeTorus.

Remarks
Currently not implemented.

◆ offsetDist()

double OdGeOffsetSurface::offsetDist ( ) const

Returns the offset distance of this surface.

◆ operator=()

OdGeOffsetSurface& OdGeOffsetSurface::operator= ( const OdGeOffsetSurface surface)

◆ set()

OdGeOffsetSurface& OdGeOffsetSurface::set ( OdGeSurface baseSurface,
double  offsetDistance,
bool  makeCopy = true 
)

Sets the parameters for this surface according to the arguments.

Parameters
baseSurface[in] Any surface.
offsetDistance[in] Offset distance.
makeCopy[in] Makes a copy of baseSurface.
Returns
Returns a reference to this surface.

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