• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Paramdigma.Core
    • Convert
    • Intersect3D
    • Intersect3D.LineLineIntersectionResult
    • Intersect3D.LineLineIntersectionStatus
    • Intersect3D.LinePlaneIntersectionStatus
    • Intersect3D.RayFacePerimeterIntersectionStatus
    • Settings
  • Paramdigma.Core.Collections
    • Interval
    • Matrix<T>
  • Paramdigma.Core.Curves
    • Geodesics
    • LevelSets
  • Paramdigma.Core.Exceptions
    • UnsetGeometryException
  • Paramdigma.Core.Extensions
    • Lists
  • Paramdigma.Core.Geometry
    • BaseCurve
    • BasePoint
    • Box
    • Circle
    • Cylinder
    • Delaunay
    • InvalidCurveException
    • Line
    • Line2d
    • Mesh
    • MeshCorner
    • MeshEdge
    • MeshFace
    • MeshGeometry
    • MeshHalfEdge
    • MeshPoint
    • MeshTopology
    • MeshVertex
    • NurbsCurve
    • NurbsSurface
    • Plane
    • Point2d
    • Point3d
    • Point4d
    • Polyline
    • Polyline2d
    • Ray
    • Ray2d
    • Rectangle2d
    • Sphere
    • Torus
    • Vector2d
    • Vector3d
    • VectorNd
  • Paramdigma.Core.Geometry.Interfaces
    • ICurve
    • ISurface
    • IVector
  • Paramdigma.Core.IO
    • CsvReader
    • CsvWritter
    • OBJMeshData
    • ObjReader
    • ObjWritter
    • OffMeshData
    • OffReader
    • OffResult
    • OffWriter
  • Paramdigma.Core.LinearAlgebra
    • Complex
    • LeastSquaresLinearFit
    • Triplet
    • TripletData
  • Paramdigma.Core.Optimization
    • GradientDescent
    • GradientDescent.FitnessFunction
    • GradientDescentOptions
    • GradientDescentResult
    • KMeansCluster
    • KMeansClustering
    • KMeansClustering.IterationCompletedEventArgs
  • Paramdigma.Core.Spatial
    • DelaunayEdge
    • DelaunayPoint
    • DelaunayTriangle
    • Octree
    • PointCloud
    • PointCloudMember
    • QuadTree

Class LevelSets

Compute the level sets of a given function.

Inheritance
System.Object
LevelSets
Namespace: Paramdigma.Core.Curves
Assembly: Paramdigma.Core.dll
Syntax
public static class LevelSets : object

Methods

| Improve this Doc View Source

ComputeFaceGradient(String, MeshFace)

Compute the gradient on a given mesh face given some per-vertex values.

Declaration
public static Vector3d ComputeFaceGradient(string valueKey, MeshFace face)
Parameters
Type Name Description
System.String valueKey

Key of the values in the vertex.UserData dictionary.

MeshFace face

Face to compute thee gradient.

Returns
Type Description
Vector3d

A vector representing the gradient on that mesh face.

| Improve this Doc View Source

ComputeGradientField(String, Mesh)

Compute the gradient on a given mesh given some per-vertex values.

Declaration
public static List<Vector3d> ComputeGradientField(string valueKey, Mesh mesh)
Parameters
Type Name Description
System.String valueKey

Key of the values in the vertex.UserData dictionary.

Mesh mesh

Mesh to compute the gradient.

Returns
Type Description
List<Vector3d>

A list containing all the gradient vectors per-face.

| Improve this Doc View Source

ComputeLevels(String, List<Double>, Mesh, out List<List<Line>>)

Compute the level-sets for a mesh given a specified valueKey for the mesh vertex dictionary.

Declaration
public static void ComputeLevels(string valueKey, List<double> levels, Mesh mesh, out List<List<Line>> levelSets)
Parameters
Type Name Description
System.String valueKey

Key of the value to be computed per vertex.

List<System.Double> levels

List of level values to be computed.

Mesh mesh

The mesh to compute the level-sets in.

List<List<Line>> levelSets

Resulting level sets.

| Improve this Doc View Source

GetFaceLevel(String, Double, MeshFace, out Line)

Compute the level on a specified face.

Declaration
public static bool GetFaceLevel(string valueKey, double level, MeshFace face, out Line line)
Parameters
Type Name Description
System.String valueKey

Key of the value to be computed per vertex.

System.Double level

Level value to be computed.

MeshFace face

Face to compute the level in.

Line line

Resulting level line on the face.

Returns
Type Description
System.Boolean

True if successful, false if not.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX