![]() |
FlowEngine 8.011
Photogrammetry Software Development Kit
|
#include <DistanceConstraintInterface.h>
Public Member Functions | |
virtual FLE_DLL double | getWorldLength () const =0 |
virtual FLE_DLL Result | setEndpoints (const ControlPointConstraintInterface &cp1, const ControlPointConstraintInterface &cp2)=0 |
virtual FLE_DLL Result | setWorldLength (double length)=0 |
virtual FLE_DLL | ~DistanceConstraintInterface ()=default |
Defines a distance constraint between two control points.
Distance constraints are always tied to two control points, because of this, the two control points must be different and must have been initialized and set up before setting them as endpoints of the distance constraint.
|
virtualdefault |
Default virtual destructor.
|
pure virtual |
|
pure virtual |
Set the two endpoints of this distance constraint. The two control points must be different. Data is copied from the two control points, so the caller should not modify them after this call.
[in] | cp1 | the first endpoint of this distance constraint. |
[in] | cp2 | the second endpoint of this distance constraint. |
cp1
and cp2
are the same control point.cp1
or cp2
are not valid control points.
|
pure virtual |
Set the length of this distance constraint w.r.t. the world reference system.
[in] | length | the length of this distance constraint w.r.t. the world reference system. The valid range is [0, inf). |
length
is not in the valid range.