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

#include <GsCullingVolume.h>

Inheritance diagram for OdGsCullingBSphere:
OdGsCullingPrimitive OdGeSphere OdGeSurface OdGeEntity3d

Public Member Functions

 OdGsCullingBSphere ()
 
 OdGsCullingBSphere (double radius, const OdGePoint3d &center)
 
 OdGsCullingBSphere (const OdGeSphere &sphere)
 
 OdGsCullingBSphere (const OdGsCullingBSphere &bsphere)
 
 ~OdGsCullingBSphere ()
 
OdGsCullingBSphereoperator= (const OdGeSphere &sphere)
 
OdGsCullingBSphereoperator= (const OdGsCullingBSphere &bsphere)
 
PrimitiveType primitiveType () const
 
- Public Member Functions inherited from OdGsCullingPrimitive
 OdGsCullingPrimitive ()
 
virtual ~OdGsCullingPrimitive ()
 
virtual PrimitiveType primitiveType () const =0
 
- Public Member Functions inherited from OdGeSphere
 OdGeSphere ()
 
 OdGeSphere (double radius, const OdGePoint3d &center)
 
 OdGeSphere (double radius, const OdGePoint3d &center, const OdGeVector3d &northAxis, const OdGeVector3d &refAxis, double startAngleU, double endAngleU, double startAngleV, double endAngleV)
 
 OdGeSphere (const OdGeSphere &sphere)
 
double radius () const
 
OdGePoint3d center () const
 
void getAnglesInU (double &startAngleU, double &endAngleU) const
 
void getAnglesInV (double &startAngleV, double &endAngleV) const
 
OdGeVector3d northAxis () const
 
OdGeVector3d refAxis () const
 
OdGePoint3d northPole () const
 
OdGePoint3d southPole () const
 
bool isOuterNormal () const
 
bool isClosed (const OdGeTol &tol=OdGeContext::gTol) const
 
OdGeSpheresetRadius (double radius)
 
OdGeSpheresetAnglesInU (double startAngleU, double endAngleU)
 
OdGeSpheresetAnglesInV (double startAngleV, double endAngleV)
 
OdGeSphereset (double radius, const OdGePoint3d &center)
 
OdGeSphereset (double radius, const OdGePoint3d &center, const OdGeVector3d &northAxis, const OdGeVector3d &refAxis, double startAngleU, double endAngleU, double startAngleV, double endAngleV)
 
OdGeSphereoperator= (const OdGeSphere &sphere)
 
bool intersectWith (const OdGeLinearEnt3d &lineEnt, int &numInt, OdGePoint3d &p1, OdGePoint3d &p2, const OdGeTol &tol=OdGeContext::gTol) const
 
bool isReverseV () const
 
void setReverseV (bool isReverseV)
 
- 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

- Public Types inherited from OdGsCullingPrimitive
enum  PrimitiveType { kPrimBBox , kPrimBSphere , kPrimOBBox }
 
- 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

Culling primitive: bounding sphere.

Corresponding C++ library: TD_Gs

<group OdGs_Classes>

Definition at line 202 of file GsCullingVolume.h.

Constructor & Destructor Documentation

◆ OdGsCullingBSphere() [1/4]

OdGsCullingBSphere::OdGsCullingBSphere ( )
inline

Default constructor for the OdGsCullingBSphere class. Creates a culling sphere at the origin of world coordinates and with 1.0 radius.

Definition at line 208 of file GsCullingVolume.h.

◆ OdGsCullingBSphere() [2/4]

OdGsCullingBSphere::OdGsCullingBSphere ( double  radius,
const OdGePoint3d center 
)
inline

Constructor for the OdGsCullingBSphere class. Creates a culling sphere with specified center and radius.

Parameters
radius[in] Sphere radius.
center[in] Sphere center.

Definition at line 220 of file GsCullingVolume.h.

◆ OdGsCullingBSphere() [3/4]

OdGsCullingBSphere::OdGsCullingBSphere ( const OdGeSphere sphere)
inline

Constructor for the OdGsCullingBSphere class. Creates a culling sphere based on the passed GE sphere.

Parameters
sphere[in] Sphere to copy.

Definition at line 231 of file GsCullingVolume.h.

◆ OdGsCullingBSphere() [4/4]

OdGsCullingBSphere::OdGsCullingBSphere ( const OdGsCullingBSphere bsphere)
inline

Copy constructor for the OdGsCullingBSphere class.

Parameters
bsphere[in] Culling sphere to copy.

Definition at line 242 of file GsCullingVolume.h.

◆ ~OdGsCullingBSphere()

OdGsCullingBSphere::~OdGsCullingBSphere ( )
inline

Destructor for the OdGsCullingBSphere class.

Definition at line 251 of file GsCullingVolume.h.

Member Function Documentation

◆ operator=() [1/2]

OdGsCullingBSphere & OdGsCullingBSphere::operator= ( const OdGeSphere sphere)
inline

Assignment operator for the OdGsCullingBSphere class. Assigns parameters of the passed sphere object.

Parameters
sphere[in] Sphere to assign.

Definition at line 260 of file GsCullingVolume.h.

◆ operator=() [2/2]

OdGsCullingBSphere & OdGsCullingBSphere::operator= ( const OdGsCullingBSphere bsphere)
inline

Assignment operator for the OdGsCullingBSphere class. Assigns parameters of the passed culling sphere object.

Parameters
bsphere[in] Culling sphere to assign.

Definition at line 271 of file GsCullingVolume.h.

◆ primitiveType()

PrimitiveType OdGsCullingBSphere::primitiveType ( ) const
inlinevirtual

Returns culling volume type.

Implements OdGsCullingPrimitive.

Definition at line 282 of file GsCullingVolume.h.


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