![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <QuadricError.h>
Inheritance diagram for UE::Geometry::TQuadricError< RealType >:Public Types | |
| typedef RealType | ScalarType |
Public Member Functions | |
| TQuadricError () | |
| TQuadricError (const TVector< RealType > &Normal, const TVector< RealType > &Point) | |
| TQuadricError (const TQuadricError &a, const TQuadricError &b) | |
| void | Add (RealType w, const TQuadricError &b) |
| void | Add (const TQuadricError &b) |
| void | Subtract (const TQuadricError &b) |
| void | AddSeamQuadric (const TQuadricError &b) |
| void | SubtractSeamQuadric (const TQuadricError &b) |
| void | Scale (RealType w) |
| RealType | Evaluate (const UE::Math::TVector< RealType > &pt) const |
| TVector< RealType > | MultiplyA (const UE::Math::TVector< RealType > &pt) const |
| bool | SolveAxEqualsb (UE::Math::TVector< RealType > &OutResult, const RealType bvecx, const RealType bvecy, const RealType bvecz, const RealType minThresh=1000.0 *TMathUtil< RealType >::Epsilon) const |
| bool | OptimalPoint (UE::Math::TVector< RealType > &OutResult, RealType minThresh=1000.0 *TMathUtil< RealType >::Epsilon) const |
Static Public Member Functions | |
| static TQuadricError | Zero () |
| static bool | InvertSymmetricMatrix (const RealType SM[6], RealType InvSM[6], RealType minThresh=1000.0 *TMathUtil< RealType >::Epsilon) |
| static TVector< RealType > | MultiplySymmetricMatrix (const RealType SM[6], const RealType vec[3]) |
| static TVector< RealType > | MultiplySymmetricMatrix (const RealType SM[6], const UE::Math::TVector< RealType > &vec) |
Public Attributes | |
| RealType | Axx |
| RealType | Axy |
| RealType | Axz |
| RealType | Ayy |
| RealType | Ayz |
| RealType | Azz |
| RealType | bx |
| RealType | by |
| RealType | bz |
| RealType | c |
QuadricError represents a quadratic function that evaluates distance to plane. Stores minimal 10-coefficient form, following http://mgarland.org/files/papers/qtheory.pdf (symmetric matrix A, vector b, constant c)
| typedef RealType UE::Geometry::TQuadricError< RealType >::ScalarType |
|
inline |
|
inline |
Construct TQuadricError a plane with the given normal and a point on plane
|
inline |
Construct TQuadricError that is the sum of two other TQuadricErrors
|
inline |
|
inline |
Add scalar multiple of a TQuadricError to this TQuadricError
|
inline |
|
inline |
Evaluates p*A*p + 2*dot(p,b) + c
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
Scale this quadric by the weight 'w'
|
inline |
|
inline |
|
inline |
|
inlinestatic |
| RealType UE::Geometry::TQuadricError< RealType >::Axx |
| RealType UE::Geometry::TQuadricError< RealType >::Axy |
| RealType UE::Geometry::TQuadricError< RealType >::Axz |
| RealType UE::Geometry::TQuadricError< RealType >::Ayy |
| RealType UE::Geometry::TQuadricError< RealType >::Ayz |
| RealType UE::Geometry::TQuadricError< RealType >::Azz |
| RealType UE::Geometry::TQuadricError< RealType >::bx |
| RealType UE::Geometry::TQuadricError< RealType >::by |
| RealType UE::Geometry::TQuadricError< RealType >::bz |
| RealType UE::Geometry::TQuadricError< RealType >::c |