Click or drag to resize

Mesh2 Constructor (IReadOnlyListTuplePoint2, Int32, Int32, Double, ListIReadOnlyListTuplePoint2, Int32, FuncDouble, Double, Double, IReadOnlyListTuplePoint2, Int32, Double, Double, Double)

Initializes a new instance of the Mesh2 class. mesh a 2d boundary.

Namespace:  Karamba.Geometry
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntax
public Mesh2(
	IReadOnlyList<Tuple<Point2, int>> Vertices,
	out int errorcode,
	double desiredDistance,
	List<IReadOnlyList<Tuple<Point2, int>>> holes,
	Func<double, double, double> solution,
	IReadOnlyList<Tuple<Point2, int>> InclusionPoints = null,
	double scalarFactor = 1,
	double hausd = -1,
	double grad = -1
)

Parameters

Vertices
Type: System.Collections.GenericIReadOnlyListTuplePoint2, Int32
Vertices to be used.
errorcode
Type: SystemInt32
Error code.
desiredDistance
Type: SystemDouble
Desired distance.
holes
Type: System.Collections.GenericListIReadOnlyListTuplePoint2, Int32
Lists of points specifying holes.
solution
Type: SystemFuncDouble, Double, Double
Function for refining the triangulation.
InclusionPoints (Optional)
Type: System.Collections.GenericIReadOnlyListTuplePoint2, Int32
Points to be included in the mesh.
scalarFactor (Optional)
Type: SystemDouble
scalarFactor.
hausd (Optional)
Type: SystemDouble
Hausdorff parameter.
grad (Optional)
Type: SystemDouble
Gradation value.
See Also