Contains various methods for calculating geometric properties
예제 #1
0
 public static double AreaQuadrilateral(IFiniteElementNode node0, IFiniteElementNode node1, IFiniteElementNode node2, IFiniteElementNode node3)
 {
     return(GeometricHelpers.AreaQuadrilateral(node0.Location, node1.Location, node2.Location, node3.Location));
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="node0"></param>
 /// <param name="node1"></param>
 /// <param name="node2"></param>
 /// <returns></returns>
 public static double AreaTriangle(IFiniteElementNode node0, IFiniteElementNode node1, IFiniteElementNode node2)
 {
     return(GeometricHelpers.AreaTriangle(node0.Location, node1.Location, node2.Location));
 }