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

Represents a generic curve. This class is abstract and all curve classes should inherit from it.

Inheritance
System.Object
BaseCurve
Line
NurbsCurve
Polyline
Namespace: Paramdigma.Core.Geometry
Assembly: Paramdigma.Core.dll
Syntax
public abstract class BaseCurve : object

Constructors

| Improve this Doc View Source

BaseCurve()

Initializes a new instance of the BaseCurve class.

Declaration
protected BaseCurve()

Properties

| Improve this Doc View Source

Domain

Gets or sets the curve's domain.

Declaration
public Interval Domain { get; set; }
Property Value
Type Description
Interval
| Improve this Doc View Source

IsValid

Gets a value indicating whether the curve is valid.

Declaration
public bool IsValid { get; }
Property Value
Type Description
System.Boolean

True if Valid.

| Improve this Doc View Source

Length

Declaration
public double Length { get; }
Property Value
Type Description
System.Double

Methods

| Improve this Doc View Source

BinormalAt(Double)

Compute a binormal vector along the curve at a specified parameter.

Declaration
public abstract Vector3d BinormalAt(double t)
Parameters
Type Name Description
System.Double t

Parameter.

Returns
Type Description
Vector3d

Binormal vector at the parameter specified.

| Improve this Doc View Source

CheckValidity()

Checks the validity of the curve.

Declaration
public abstract bool CheckValidity()
Returns
Type Description
System.Boolean

True if valid.

| Improve this Doc View Source

ComputeLength()

Computes the length of the curve.

Declaration
protected abstract double ComputeLength()
Returns
Type Description
System.Double

Length as number.

| Improve this Doc View Source

FrameAt(Double)

Compute the perpendicular frame along the curve at a specified parameter.

Declaration
public abstract Plane FrameAt(double t)
Parameters
Type Name Description
System.Double t

Parameter.

Returns
Type Description
Plane

Perpendicular plane at the parameter specified.

| Improve this Doc View Source

NormalAt(Double)

Compute normal vector along the curve at a specified parameter.

Declaration
public abstract Vector3d NormalAt(double t)
Parameters
Type Name Description
System.Double t

Parameter.

Returns
Type Description
Vector3d

Normal vector at the parameter specified.

| Improve this Doc View Source

PointAt(Double)

Compute a point along the curve at a specified parameter.

Declaration
public abstract Point3d PointAt(double t)
Parameters
Type Name Description
System.Double t

Parameter.

Returns
Type Description
Point3d

Point at the parameter specified.

| Improve this Doc View Source

TangentAt(Double)

Compute the tangent vector along the curve at a specified parameter.

Declaration
public abstract Vector3d TangentAt(double t)
Parameters
Type Name Description
System.Double t

Parameter.

Returns
Type Description
Vector3d

Tangent vector at the parameter specified.

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