## QuadricError represents a quadratic function that evaluates distance to plane.

Inheritance Hierarchy

References

Syntax

template<typename RealType>

Remarks

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)

Variables

Name Description

RealType

Axx

RealType

Axy

RealType

Axz

RealType

Ayy

RealType

Ayz

RealType

Azz

RealType

bx

RealType

by

RealType

bz

RealType

c

Constructors

Name Description

(
const FVector3< RealType >& Normal,
const FVector3< RealType >& Point
)

Construct TQuadricError a plane with the given normal and a point on plane

(
)

Construct TQuadricError that is the sum of two other TQuadricErrors

Functions

Name Description

void

(
)

void

(
RealType w,
)

RealType

Evaluate

(
const FVector3< RealType >& pt
)

Evaluates p*A*p + 2*dot(p,b) + c

bool

InvertSymmetricMatrix

(
const RealType SM,
RealType InvSM,
RealType minThresh
)

FVector3< Re...

MultiplyA

(
const FVector3< RealType >& pt
)

FVector3< Re...

MultiplySymmetricMatrix

(
const RealType SM,
const RealType vec
)

FVector3< Re...

MultiplySymmetricMatrix

(
const RealType SM,
const FVector3< RealType >& vec
)

bool

OptimalPoint

(
FVector3< RealType >& OutResult,
RealType minThresh
)

bool

SolveAxEqualsb

(
FVector3< RealType >& OutResult,
const RealType bvecx,
const RealType bvecy,
const RealType bvecz,
const RealType minThresh
)

Zero()

Operators

Name Description