| FBasePositionSnapSolver3
|
Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/Snapping/PointPlanarSnapSolver.h |
Include |
#include "Snapping/PointPlanarSnapSolver.h" |
class FPointPlanarSnapSolver : public FBasePositionSnapSolver3
FPointPlanarSnapSolver solves for a Point snap location on a plane, based on an input Point and a set of target points and lines in the plane.
This implementation has the notion of a "history" of previous points, from which line and distance constraints can be inferred. This is useful for snapping in 2D polygon drawing.
See FBasePositionSnapSolver3 for details on how to set up the snap problem and get results.
Name | Description | ||
---|---|---|---|
|
bEnableSnapToKnownLengths |
||
|
int |
CardinalAxisPriority |
|
|
GeneratedLines |
||
|
GeneratedTargets |
||
|
TSet< int > |
IgnoreTargets |
|
|
int |
KnownLengthPriorityDelta |
|
|
int |
LastSegmentPriority |
|
|
Plane |
Configuration variables |
|
|
PointHistory |
Name | Description | |
---|---|---|
|
FPointPlanarSnapSolver() |
Name | Description | ||
---|---|---|---|
|
GenerateTargets ( |
||
|
int |
MinInternalPriority() |
|
|
RegenerateTargetLines |
||
|
UpdatePointHistory |
||
|
UpdatePointHistory |
||
|
UpdateSnappedPoint ( |
Name | Description | ||
---|---|---|---|
|
Reset() |
Discard the set of snap points and lines and clear the active snap |
|
|
ResetActiveSnap() |
Clear the active snap |
Name |
Description |
---|---|
CardinalAxisTargetID |
|
LastSegmentTargetID |