From 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 Mon Sep 17 00:00:00 2001 From: git perforce import user Date: Tue, 25 Oct 2016 12:29:14 -0600 Subject: Initial commit: PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @ 21275617 [CL 21300167] --- .../PhysXAPI/files/classPxTriangle.html | 350 +++++++++++++++++++++ 1 file changed, 350 insertions(+) create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/classPxTriangle.html (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/classPxTriangle.html') diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/classPxTriangle.html b/PhysX_3.4/Documentation/PhysXAPI/files/classPxTriangle.html new file mode 100644 index 00000000..d83ac5ed --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/classPxTriangle.html @@ -0,0 +1,350 @@ + + + NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxTriangle Class Reference + + + + + + + +
+

PxTriangle Class Reference
+ +[Geomutils] +

Triangle class. +More... +

+#include <PxTriangle.h> +

+

+Collaboration diagram for PxTriangle:
+
+

Collaboration graph
+ +PxVec3 +
[legend]
+ +

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Member Functions

PX_FORCE_INLINE PxTriangle ()
 Constructor.
PX_FORCE_INLINE PxTriangle (const PxVec3 &p0, const PxVec3 &p1, const PxVec3 &p2)
 Constructor.
PX_FORCE_INLINE PxTriangle (const PxTriangle &triangle)
 Copy constructor.
PX_FORCE_INLINE ~PxTriangle ()
 Destructor.
PX_FORCE_INLINE void operator= (const PxTriangle &triangle)
 Assignment operator.
PX_FORCE_INLINE void normal (PxVec3 &_normal) const
 Compute the normal of the Triangle.
PX_FORCE_INLINE void denormalizedNormal (PxVec3 &_normal) const
 Compute the unnormalized normal of the triangle.
PX_FORCE_INLINE PxReal area () const
 Compute the area of the triangle.
PxVec3 pointFromUV (PxReal u, PxReal v) const

Public Attributes

PxVec3 verts [3]
 Array of Vertices.
+


Detailed Description

+Triangle class.

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
PX_FORCE_INLINE PxTriangle::PxTriangle (  )  [inline]
+
+
+ +

+Constructor. +

+ +

+

+ +

+
+ + + + + + + + + + + + + + + + + + + + + + + + +
PX_FORCE_INLINE PxTriangle::PxTriangle (const PxVec3 p0,
const PxVec3 p1,
const PxVec3 p2 
) [inline]
+
+
+ +

+Constructor. +

+

Parameters:
+ + + + +
[in] p0 Point 0
[in] p1 Point 1
[in] p2 Point 2
+
+ +
+

+ +

+
+ + + + + + + + + +
PX_FORCE_INLINE PxTriangle::PxTriangle (const PxTriangle triangle  )  [inline]
+
+
+ +

+Copy constructor. +

+

Parameters:
+ + +
[in] triangle Tri to copy
+
+ +

References verts.

+ +
+

+ +

+
+ + + + + + + + +
PX_FORCE_INLINE PxTriangle::~PxTriangle (  )  [inline]
+
+
+ +

+Destructor. +

+ +

+

+


Member Function Documentation

+ +
+
+ + + + + + + + +
PX_FORCE_INLINE PxReal PxTriangle::area (  )  const [inline]
+
+
+ +

+Compute the area of the triangle. +

+

Returns:
Area of the triangle.
+ +
+

+ +

+
+ + + + + + + + + +
PX_FORCE_INLINE void PxTriangle::denormalizedNormal (PxVec3 _normal  )  const [inline]
+
+
+ +

+Compute the unnormalized normal of the triangle. +

+

Parameters:
+ + +
[out] _normal Triangle normal (not normalized).
+
+ +
+

+ +

+
+ + + + + + + + + +
PX_FORCE_INLINE void PxTriangle::normal (PxVec3 _normal  )  const [inline]
+
+
+ +

+Compute the normal of the Triangle. +

+

Parameters:
+ + +
[out] _normal Triangle normal.
+
+ +

References PxVec3::normalize().

+ +
+

+ +

+
+ + + + + + + + + +
PX_FORCE_INLINE void PxTriangle::operator= (const PxTriangle triangle  )  [inline]
+
+
+ +

+Assignment operator. +

+ +

References verts.

+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
PxVec3 PxTriangle::pointFromUV (PxReal  u,
PxReal  v 
) const [inline]
+
+
+ +

+

Returns:
Computes a point on the triangle from u and v barycentric coordinates.
+ +
+

+


Member Data Documentation

+ +
+
+ + + + +
PxVec3 PxTriangle::verts[3]
+
+
+ +

+Array of Vertices. +

+ +

Referenced by operator=(), and PxTriangle().

+ +
+

+


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

+Copyright © 2008-2016 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com + + -- cgit v1.2.3