//C++ TO C# CONVERTER WARNING: The original C++ declaration of the following method implementation was not found: public PointFunction1(Mesh.T_POINTS apoints, Array <INDEX_3> afaces, MeshingParameters amp, double ah) { this.points = apoints; this.faces = afaces; this.mp = amp; h = ah; }
public CheapPointFunction1(Mesh.T_POINTS apoints, Array <INDEX_3> afaces, double ah) { this.points = apoints; this.faces = new Array <INDEX_3>(afaces); h = ah; int nf = faces.Size(); m.SetSize(nf, 4); for (int i = 1; i <= nf; i++) { Point3d p1 = points[new PointIndex(faces.Get(i).I1())]; Point3d p2 = points[new PointIndex(faces.Get(i).I2())]; Point3d p3 = points[new PointIndex(faces.Get(i).I3())]; Vec3d v1 = new Vec3d(p1, p2); Vec3d v2 = new Vec3d(p1, p3); Vec3d n = new Vec3d(); netgen.GlobalMembers.Cross(v1, v2, n); n /= n.Length(); m.Elem(i, 1) = n.X(); m.Elem(i, 2) = n.Y(); m.Elem(i, 3) = n.Z(); m.Elem(i, 4) = -(n.X() * p1.X() + n.Y() * p1.Y() + n.Z() * p1.Z()); } }
public CheapPointFunction(Mesh.T_POINTS apoints, Array <Element, 0, uint> aelements, MeshingParameters amp) : base(apoints, aelements, amp)
//C++ TO C# CONVERTER WARNING: The original C++ declaration of the following method implementation was not found: public JacobianPointFunction(Mesh.T_POINTS apoints, Array <Element, 0, uint> aelements)