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()
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
|
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
Fields
|
Improve this Doc
View Source
knots
Declaration
Field Value
| Type |
Description |
| System.Double[] |
|
|
Improve this Doc
View Source
pw
Declaration
Field Value
|
Improve this Doc
View Source
pw1
Declaration
Field Value
|
Improve this Doc
View Source
pw2
Declaration
Field Value
|
Improve this Doc
View Source
pwi
Declaration
Field Value
|
Improve this Doc
View Source
px
Declaration
Field Value
|
Improve this Doc
View Source
px1
Declaration
Field Value
|
Improve this Doc
View Source
px2
Declaration
Field Value
|
Improve this Doc
View Source
pxi
Declaration
Field Value
|
Improve this Doc
View Source
py
Declaration
Field Value
|
Improve this Doc
View Source
py1
Declaration
Field Value
|
Improve this Doc
View Source
py2
Declaration
Field Value
|
Improve this Doc
View Source
pyi
Declaration
Field Value
|
Improve this Doc
View Source
pz
Declaration
Field Value
|
Improve this Doc
View Source
pz1
Declaration
Field Value
|
Improve this Doc
View Source
pz2
Declaration
Field Value
|
Improve this Doc
View Source
pzi
Declaration
Field Value
Properties
|
Improve this Doc
View Source
UnitCircle
Declaration
public static ExplicitPCurve3D UnitCircle { get; }
Property Value
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
|
Improve this Doc
View Source
DirectionAt(Double)
Declaration
public GeoVector DirectionAt(double u)
Parameters
| Type |
Name |
Description |
| System.Double |
u |
|
Returns
|
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
|
Improve this Doc
View Source
GetModified(ModOp)
Declaration
public ExplicitPCurve3D GetModified(ModOp m)
Parameters
| Type |
Name |
Description |
| ModOp |
m |
|
Returns
|
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
|
Improve this Doc
View Source
MakeLine(GeoPoint, GeoVector)
Declaration
public static ExplicitPCurve3D MakeLine(GeoPoint sp, GeoVector dir)
Parameters
Returns
|
Improve this Doc
View Source
PointAt(Double)
Declaration
public GeoPoint PointAt(double u)
Parameters
| Type |
Name |
Description |
| System.Double |
u |
|
Returns
|
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 |
|