Show / Hide Table of Contents

Class ExplicitPCurve3D

Curve defined by 3 polynomials in one veriable ("u"), or by 4 polynoms with an additional "w" component (homogenuous coordinates). the curve may be defined piecewise: the knots array defines the intervalls for the u parameter while the polynom arrays define the curves for each intervall

Inheritance
System.Object
ExplicitPCurve3D
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability
Assembly: CADability.dll
Syntax
public class ExplicitPCurve3D

Constructors

| Improve this Doc View Source

ExplicitPCurve3D(Polynom, Polynom, Polynom, Polynom)

Declaration
public ExplicitPCurve3D(Polynom px, Polynom py, Polynom pz, Polynom pw = null)
Parameters
Type Name Description
Polynom px
Polynom py
Polynom pz
Polynom pw
| Improve this Doc View Source

ExplicitPCurve3D(Polynom[], Polynom[], Polynom[], Polynom[], Double[])

Declaration
public ExplicitPCurve3D(Polynom[] px, Polynom[] py, Polynom[] pz, Polynom[] pw = null, double[] knots = null)
Parameters
Type Name Description
Polynom[] px
Polynom[] py
Polynom[] pz
Polynom[] pw
System.Double[] knots

Fields

| Improve this Doc View Source

knots

Declaration
public double[] knots
Field Value
Type Description
System.Double[]
| Improve this Doc View Source

pw

Declaration
public Polynom[] pw
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

pw1

Declaration
public Polynom[] pw1
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

pw2

Declaration
public Polynom[] pw2
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

pwi

Declaration
public Polynom[] pwi
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

px

Declaration
public Polynom[] px
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

px1

Declaration
public Polynom[] px1
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

px2

Declaration
public Polynom[] px2
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

pxi

Declaration
public Polynom[] pxi
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

py

Declaration
public Polynom[] py
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

py1

Declaration
public Polynom[] py1
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

py2

Declaration
public Polynom[] py2
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

pyi

Declaration
public Polynom[] pyi
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

pz

Declaration
public Polynom[] pz
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

pz1

Declaration
public Polynom[] pz1
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

pz2

Declaration
public Polynom[] pz2
Field Value
Type Description
Polynom[]
| Improve this Doc View Source

pzi

Declaration
public Polynom[] pzi
Field Value
Type Description
Polynom[]

Properties

| Improve this Doc View Source

UnitCircle

Declaration
public static ExplicitPCurve3D UnitCircle { get; }
Property Value
Type Description
ExplicitPCurve3D

Methods

| Improve this Doc View Source

CalcDerivatives(Boolean, Boolean, Boolean)

Declaration
public void CalcDerivatives(bool first, bool second, bool integral)
Parameters
Type Name Description
System.Boolean first
System.Boolean second
System.Boolean integral
| Improve this Doc View Source

Direction2At(Double)

Declaration
public GeoVector Direction2At(double u)
Parameters
Type Name Description
System.Double u
Returns
Type Description
GeoVector
| Improve this Doc View Source

DirectionAt(Double)

Declaration
public GeoVector DirectionAt(double u)
Parameters
Type Name Description
System.Double u
Returns
Type Description
GeoVector
| Improve this Doc View Source

FromCurve(ICurve, Double[], Int32, Boolean)

Declaration
public static ExplicitPCurve3D FromCurve(ICurve cv, double[] knots, int degree, bool homogenuous)
Parameters
Type Name Description
ICurve cv
System.Double[] knots
System.Int32 degree
System.Boolean homogenuous
Returns
Type Description
ExplicitPCurve3D
| Improve this Doc View Source

GetModified(ModOp)

Declaration
public ExplicitPCurve3D GetModified(ModOp m)
Parameters
Type Name Description
ModOp m
Returns
Type Description
ExplicitPCurve3D
| Improve this Doc View Source

Length(Double, Double)

Declaration
public double Length(double sp, double ep)
Parameters
Type Name Description
System.Double sp
System.Double ep
Returns
Type Description
System.Double
| Improve this Doc View Source

MakeCircle(ModOp)

Declaration
public static ExplicitPCurve3D MakeCircle(ModOp toCircle)
Parameters
Type Name Description
ModOp toCircle
Returns
Type Description
ExplicitPCurve3D
| Improve this Doc View Source

MakeLine(GeoPoint, GeoVector)

Declaration
public static ExplicitPCurve3D MakeLine(GeoPoint sp, GeoVector dir)
Parameters
Type Name Description
GeoPoint sp
GeoVector dir
Returns
Type Description
ExplicitPCurve3D
| Improve this Doc View Source

PointAt(Double)

Declaration
public GeoPoint PointAt(double u)
Parameters
Type Name Description
System.Double u
Returns
Type Description
GeoPoint
| Improve this Doc View Source

PositionOf(GeoPoint, Double, out Double)

Returns the best parameter for which the value of this curve comes closest to p. If the curve is composed of multiple segments (knots!=null) then only the segment which contains startHere is checked. If it does not contain a minimum, double.MaxValue is returned. If you want to check all segments of a segmented curve, use PositionOf(GeoPoint p, out double dist)

Declaration
public double PositionOf(GeoPoint p, double startHere, out double dist)
Parameters
Type Name Description
GeoPoint p
System.Double startHere

initial guess for the parameter

System.Double dist
Returns
Type Description
System.Double

the parameter for the point p or double.MaxValue, if not found

| Improve this Doc View Source

PositionOf(GeoPoint, out Double)

Declaration
public double PositionOf(GeoPoint p, out double dist)
Parameters
Type Name Description
GeoPoint p
System.Double dist
Returns
Type Description
System.Double
| Improve this Doc View Source

RadiusAt(Double)

Declaration
public double RadiusAt(double u)
Parameters
Type Name Description
System.Double u
Returns
Type Description
System.Double
| Improve this Doc View Source

RadiusAt(Double, out Plane)

Declaration
public double RadiusAt(double u, out Plane curvaturePlane)
Parameters
Type Name Description
System.Double u
Plane curvaturePlane
Returns
Type Description
System.Double
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX