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

#include <GiIntersectionsCalculator.h>

Public Member Functions

 OdGiTriangleForIntersectTest ()
 
 OdGiTriangleForIntersectTest (const OdGePoint3d *points, OdUInt64 uniqueID)
 
void setData (const OdGePoint3d *points, bool bCalcExtents=true)
 
void rewriteExtents (const OdGeExtents3d &extents)
 
const OdGeVector3dgetTrianglePlaneNorm ()
 
double getPlaneD ()
 
OdUInt64 getID ()
 
void setID (OdUInt64 uniqueID)
 
bool isInExtents (OdGeExtents3d &extents) const
 
bool isInExtents (OdGeExtents2d &extents) const
 
bool isEqual (OdGiTriangleForIntersectTest *pObject, const OdGeTol &tol=OdGeContext::gTol) const
 

Public Attributes

OdGePoint3d ABC [3]
 

Friends

class OdGiIntersectionsCalculator
 
class OdGiCollisionDetector
 
class OdGiCollisionDetectorIntersectionsOnly
 

Detailed Description

Library: Source code provided.

Definition at line 35 of file GiIntersectionsCalculator.h.

Constructor & Destructor Documentation

◆ OdGiTriangleForIntersectTest() [1/2]

OdGiTriangleForIntersectTest::OdGiTriangleForIntersectTest ( )

◆ OdGiTriangleForIntersectTest() [2/2]

OdGiTriangleForIntersectTest::OdGiTriangleForIntersectTest ( const OdGePoint3d points,
OdUInt64  uniqueID 
)

Member Function Documentation

◆ getID()

OdUInt64 OdGiTriangleForIntersectTest::getID ( )
inline

Definition at line 85 of file GiIntersectionsCalculator.h.

◆ getPlaneD()

double OdGiTriangleForIntersectTest::getPlaneD ( )
inline

◆ getTrianglePlaneNorm()

const OdGeVector3d * OdGiTriangleForIntersectTest::getTrianglePlaneNorm ( )
inline

◆ isEqual()

bool OdGiTriangleForIntersectTest::isEqual ( OdGiTriangleForIntersectTest pObject,
const OdGeTol tol = OdGeContext::gTol 
) const
inline

Definition at line 95 of file GiIntersectionsCalculator.h.

◆ isInExtents() [1/2]

bool OdGiTriangleForIntersectTest::isInExtents ( OdGeExtents2d extents) const
inline

Definition at line 92 of file GiIntersectionsCalculator.h.

◆ isInExtents() [2/2]

bool OdGiTriangleForIntersectTest::isInExtents ( OdGeExtents3d extents) const
inline

◆ rewriteExtents()

void OdGiTriangleForIntersectTest::rewriteExtents ( const OdGeExtents3d extents)

Overrides triangle extents.

Parameters
extents[in] New triangle extents.

◆ setData()

void OdGiTriangleForIntersectTest::setData ( const OdGePoint3d points,
bool  bCalcExtents = true 
)

Specifies triangle data.

Parameters
points[in] Array of 3 points.
bCalcExtents[in] If true, extents will be calculated using const OdGePoint3d* points.

◆ setID()

void OdGiTriangleForIntersectTest::setID ( OdUInt64  uniqueID)
inline

Definition at line 86 of file GiIntersectionsCalculator.h.

Friends And Related Function Documentation

◆ OdGiCollisionDetector

friend class OdGiCollisionDetector
friend

Definition at line 38 of file GiIntersectionsCalculator.h.

◆ OdGiCollisionDetectorIntersectionsOnly

friend class OdGiCollisionDetectorIntersectionsOnly
friend

Definition at line 39 of file GiIntersectionsCalculator.h.

◆ OdGiIntersectionsCalculator

friend class OdGiIntersectionsCalculator
friend

Definition at line 37 of file GiIntersectionsCalculator.h.

Member Data Documentation

◆ ABC

OdGePoint3d OdGiTriangleForIntersectTest::ABC[3]

Definition at line 55 of file GiIntersectionsCalculator.h.


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