• 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 Lists

Static class holding some utility methods regarding object collections.

Inheritance
System.Object
Lists
Namespace: Paramdigma.Core.Extensions
Assembly: Paramdigma.Core.dll
Syntax
public static class Lists : object

Methods

| Improve this Doc View Source

Repeated<T>(T, Int32)

Initializes a new list full of objects initialized the values of the specified instance of T.

Declaration
public static List<T> Repeated<T>(T value, int count)
Parameters
Type Name Description
T value

Object to insert on every index of the list.

System.Int32 count

Number of objects in the list.

Returns
Type Description
List<T>

//TODO.

Type Parameters
Name Description
T

Type of object in the list.

| Improve this Doc View Source

RepeatedDefault<T>(Int32)

Initializes a new list full of objects initialized with their default constructor.

Declaration
public static List<T> RepeatedDefault<T>(int count)
Parameters
Type Name Description
System.Int32 count

Number of objects in the list.

Returns
Type Description
List<T>

//TODO.

Type Parameters
Name Description
T

Type of object in the list.

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