![]() |
UnityMol
0.9.6-875
UnityMol viewer / In developement
|
Static Public Member Functions | |
static double | Distance2f (Vector pointA, Vector pointB) |
static double | Distance2f (Vector pointA, float[] pointB) |
static double | Distance3f (float[] pointA, float[] pointB) |
static void | GetOptimalPosition (float[] target, float radius) |
Definition at line 23 of file OptimalView.cs.
Calculate distance between two vectors of length 2.
Definition at line 28 of file OptimalView.cs.
|
static |
Calculate distance between an array and a vector of length 2.
Definition at line 35 of file OptimalView.cs.
|
static |
Calculate distance between two float array of length 3.
Definition at line 42 of file OptimalView.cs.
|
static |
Get the position with the largest view cone on a specific target and with respect to an input radius
Definition at line 49 of file OptimalView.cs.
References BenTools.Data.HashSet.Add(), BenTools.Mathematics.Vector.Add(), Molecule.Model.MoleculeModel.atomsLocationlist, BenTools.Mathematics.Fortune.ComputeVoronoiGraph(), BenTools.Mathematics.VoronoiEdge.LeftData, GuidedNav.GNParameters.optim_cam_position, GuidedNav.GNParameters.optim_target, GuidedNav.GNParameters.optim_user_cam_pos, UI.UIData.optim_view, UI.UIData.optim_view_start_point, UI.UIData.start_time, BenTools.Mathematics.VoronoiGraph.Vertizes, BenTools.Mathematics.VoronoiEdge.VVertexA, and BenTools.Mathematics.VoronoiEdge.VVertexB.
Referenced by GuidedNavigationOldGUI.GuidedOptions().