GeometryUtilityManagerGetPreselectEdgeDistance Method (Vector3D, Vector3D, ListVector3D, Single) |
Namespace: VIZCore3D.NET.Manager
public float GetPreselectEdgeDistance( Vector3D v1, Vector3D v2, out List<Vector3D> vertices, float offset = 0f )
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Example() { List<Data.Vector3D> list = new List<Data.Vector3D>(); Data.Vector3D v1 = new Data.Vector3D(37298.61f, 12596.3f, 816.87f); Data.Vector3D v2 = new Data.Vector3D(37299.97f, 10213.29f, -21.00f); float fDistance = vizcore3d.GeometryUtility.GetPreselectEdgeDistance(v1, v2, out list, 10.0f); if(fDistance < 0) { //처리 실패 } }