Class ExplicitPCurve2D
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
ExplicitPCurve2D
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 ExplicitPCurve2D
Constructors
|
Improve this Doc
View Source
ExplicitPCurve2D(Polynom, Polynom, Polynom)
Declaration
public ExplicitPCurve2D(Polynom px, Polynom py, Polynom pw = null)
Parameters
|
Improve this Doc
View Source
ExplicitPCurve2D(Polynom[], Polynom[], Polynom[], Double[])
Declaration
public ExplicitPCurve2D(Polynom[] px, Polynom[] py, 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
Properties
|
Improve this Doc
View Source
IsRational
Declaration
public bool IsRational { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
UnitCircle
Declaration
public static ExplicitPCurve2D UnitCircle { get; }
Property Value
Methods
|
Improve this Doc
View Source
Area()
Declaration
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
Area(Double, Double)
Returns the area swept by the vector from (0,0) to the points on the curve from parameter sp to ep
Declaration
public double Area(double sp, double ep)
Parameters
| Type |
Name |
Description |
| System.Double |
sp |
|
| System.Double |
ep |
|
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
FromCurve(ICurve2D, Double[], Int32, Boolean)
Declaration
public static ExplicitPCurve2D FromCurve(ICurve2D cv, double[] knots, int degree, bool homogenuous)
Parameters
| Type |
Name |
Description |
| ICurve2D |
cv |
|
| System.Double[] |
knots |
|
| System.Int32 |
degree |
|
| System.Boolean |
homogenuous |
|
Returns
|
Improve this Doc
View Source
GetModified(ModOp2D)
Declaration
public ExplicitPCurve2D GetModified(ModOp2D m)
Parameters
Returns
|
Improve this Doc
View Source
MakeCircle(ModOp2D)
Declaration
public static ExplicitPCurve2D MakeCircle(ModOp2D toCircle)
Parameters
| Type |
Name |
Description |
| ModOp2D |
toCircle |
|
Returns
|
Improve this Doc
View Source
MakeLine(GeoPoint2D, GeoVector2D)
Declaration
public static ExplicitPCurve2D MakeLine(GeoPoint2D sp, GeoVector2D dir)
Parameters
Returns
|
Improve this Doc
View Source
PointAt(Double)
Declaration
public GeoPoint2D PointAt(double u)
Parameters
| Type |
Name |
Description |
| System.Double |
u |
|
Returns
|
Improve this Doc
View Source
PositionOf(GeoPoint2D, out Double)
Declaration
public double PositionOf(GeoPoint2D p, out double dist)
Parameters
| Type |
Name |
Description |
| GeoPoint2D |
p |
|
| System.Double |
dist |
|
Returns
| Type |
Description |
| System.Double |
|