Class GeneralCurve2D
This class serves as an implementation helper for the ICurve2D interface.
It cannot be instantiated and there are no methods for public use.
Inheritance
System.Object
GeneralCurve2D
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 abstract class GeneralCurve2D : ICurve2D, IQuadTreeInsertable, I2DIntersectable
Constructors
|
Improve this Doc
View Source
GeneralCurve2D()
Declaration
protected GeneralCurve2D()
Properties
|
Improve this Doc
View Source
EndDirection
Declaration
public virtual GeoVector2D EndDirection { get; set; }
Property Value
|
Improve this Doc
View Source
EndPoint
Declaration
public virtual GeoPoint2D EndPoint { get; set; }
Property Value
|
Improve this Doc
View Source
IsClosed
Declaration
public virtual bool IsClosed { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Length
Declaration
public virtual double Length { get; }
Property Value
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
MiddleDirection
Declaration
public virtual GeoVector2D MiddleDirection { get; }
Property Value
|
Improve this Doc
View Source
ReferencedObject
Declaration
public virtual object ReferencedObject { get; }
Property Value
| Type |
Description |
| System.Object |
|
|
Improve this Doc
View Source
StartDirection
Declaration
public virtual GeoVector2D StartDirection { get; }
Property Value
|
Improve this Doc
View Source
StartPoint
Declaration
public virtual GeoPoint2D StartPoint { get; set; }
Property Value
|
Improve this Doc
View Source
Sweep
Declaration
public virtual double Sweep { get; }
Property Value
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
UserData
Declaration
public virtual UserData UserData { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddToGraphicsPath(GraphicsPath, Boolean)
Declaration
public virtual void AddToGraphicsPath(GraphicsPath path, bool forward)
Parameters
| Type |
Name |
Description |
| System.Drawing.Drawing2D.GraphicsPath |
path |
|
| System.Boolean |
forward |
|
|
Improve this Doc
View Source
Approximate(Boolean, Double)
Declaration
public virtual ICurve2D Approximate(bool linesOnly, double maxError)
Parameters
| Type |
Name |
Description |
| System.Boolean |
linesOnly |
|
| System.Double |
maxError |
|
Returns
|
Improve this Doc
View Source
Clone()
Declaration
public abstract ICurve2D Clone()
Returns
|
Improve this Doc
View Source
CloneReverse(Boolean)
Declaration
public virtual ICurve2D CloneReverse(bool reverse)
Parameters
| Type |
Name |
Description |
| System.Boolean |
reverse |
|
Returns
|
Improve this Doc
View Source
Copy(ICurve2D)
Declaration
public abstract void Copy(ICurve2D toCopyFrom)
Parameters
| Type |
Name |
Description |
| ICurve2D |
toCopyFrom |
|
|
Improve this Doc
View Source
DirectionAt(Double)
Declaration
public virtual GeoVector2D DirectionAt(double Position)
Parameters
| Type |
Name |
Description |
| System.Double |
Position |
|
Returns
|
Improve this Doc
View Source
Distance(GeoPoint2D)
Declaration
public virtual double Distance(GeoPoint2D p)
Parameters
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
GetArea()
Declaration
public virtual double GetArea()
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
GetAreaFromPoint(GeoPoint2D)
Declaration
public virtual double GetAreaFromPoint(GeoPoint2D p)
Parameters
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
GetExtendedHitTest()
Declaration
public virtual IQuadTreeInsertable GetExtendedHitTest()
Returns
|
Improve this Doc
View Source
GetExtent()
Declaration
public virtual BoundingRect GetExtent()
Returns
|
Improve this Doc
View Source
GetFused(ICurve2D, Double)
Declaration
public virtual ICurve2D GetFused(ICurve2D toFuseWith, double precision)
Parameters
| Type |
Name |
Description |
| ICurve2D |
toFuseWith |
|
| System.Double |
precision |
|
Returns
|
Improve this Doc
View Source
GetInflectionPoints()
Declaration
public virtual double[] GetInflectionPoints()
Returns
| Type |
Description |
| System.Double[] |
|
|
Improve this Doc
View Source
GetModified(ModOp2D)
Declaration
public virtual ICurve2D GetModified(ModOp2D m)
Parameters
Returns
|
Improve this Doc
View Source
GetSelfIntersections()
Declaration
public virtual double[] GetSelfIntersections()
Returns
| Type |
Description |
| System.Double[] |
|
|
Improve this Doc
View Source
HitTest(ref BoundingRect, Boolean)
Declaration
public virtual bool HitTest(ref BoundingRect Rect, bool IncludeControlPoints)
Parameters
| Type |
Name |
Description |
| BoundingRect |
Rect |
|
| System.Boolean |
IncludeControlPoints |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Intersect(ICurve2D)
Declaration
public virtual GeoPoint2DWithParameter[] Intersect(ICurve2D IntersectWith)
Parameters
| Type |
Name |
Description |
| ICurve2D |
IntersectWith |
|
Returns
|
Improve this Doc
View Source
Intersect(GeoPoint2D, GeoPoint2D)
Declaration
public virtual GeoPoint2DWithParameter[] Intersect(GeoPoint2D StartPoint, GeoPoint2D EndPoint)
Parameters
Returns
|
Improve this Doc
View Source
IsParameterOnCurve(Double)
Declaration
public virtual bool IsParameterOnCurve(double par)
Parameters
| Type |
Name |
Description |
| System.Double |
par |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsValidParameter(Double)
Declaration
public virtual bool IsValidParameter(double par)
Parameters
| Type |
Name |
Description |
| System.Double |
par |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
MakeGeoObject(Plane)
Declaration
public virtual IGeoObject MakeGeoObject(Plane p)
Parameters
| Type |
Name |
Description |
| Plane |
p |
|
Returns
|
Improve this Doc
View Source
MinDistance(ICurve2D)
Declaration
public virtual double MinDistance(ICurve2D Other)
Parameters
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
MinDistance(GeoPoint2D)
Declaration
public virtual double MinDistance(GeoPoint2D p)
Parameters
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
Move(Double, Double)
Declaration
public virtual void Move(double x, double y)
Parameters
| Type |
Name |
Description |
| System.Double |
x |
|
| System.Double |
y |
|
|
Improve this Doc
View Source
Parallel(Double, Boolean, Double, Double)
Declaration
public virtual ICurve2D Parallel(double Dist, bool approxSpline, double precision, double roundAngle)
Parameters
| Type |
Name |
Description |
| System.Double |
Dist |
|
| System.Boolean |
approxSpline |
|
| System.Double |
precision |
|
| System.Double |
roundAngle |
|
Returns
|
Improve this Doc
View Source
Declaration
public virtual GeoPoint2D[] PerpendicularFoot(GeoPoint2D FromHere)
Parameters
Returns
|
Improve this Doc
View Source
PointAt(Double)
Declaration
public virtual GeoPoint2D PointAt(double Position)
Parameters
| Type |
Name |
Description |
| System.Double |
Position |
|
Returns
|
Improve this Doc
View Source
PositionAtLength(Double)
Declaration
public virtual double PositionAtLength(double position)
Parameters
| Type |
Name |
Description |
| System.Double |
position |
|
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
PositionOf(GeoPoint2D)
Declaration
public virtual double PositionOf(GeoPoint2D p)
Parameters
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
Project(Plane, Plane)
Declaration
public virtual ICurve2D Project(Plane fromPlane, Plane toPlane)
Parameters
| Type |
Name |
Description |
| Plane |
fromPlane |
|
| Plane |
toPlane |
|
Returns
|
Improve this Doc
View Source
ReinterpretParameter(ref Double)
Declaration
public virtual bool ReinterpretParameter(ref double p)
Parameters
| Type |
Name |
Description |
| System.Double |
p |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Reverse()
Declaration
public virtual void Reverse()
|
Improve this Doc
View Source
Split(Double)
Declaration
public abstract ICurve2D[] Split(double Position)
Parameters
| Type |
Name |
Description |
| System.Double |
Position |
|
Returns
|
Improve this Doc
View Source
TangentPoints(GeoPoint2D, GeoPoint2D)
Declaration
public virtual GeoPoint2D[] TangentPoints(GeoPoint2D FromHere, GeoPoint2D CloseTo)
Parameters
Returns
|
Improve this Doc
View Source
TangentPointsToAngle(Angle, GeoPoint2D)
Declaration
public virtual GeoPoint2D[] TangentPointsToAngle(Angle ang, GeoPoint2D CloseTo)
Parameters
Returns
|
Improve this Doc
View Source
TangentPointsToAngle(GeoVector2D)
Declaration
public virtual double[] TangentPointsToAngle(GeoVector2D direction)
Parameters
Returns
| Type |
Description |
| System.Double[] |
|
|
Improve this Doc
View Source
Trim(Double, Double)
Declaration
public virtual ICurve2D Trim(double StartPos, double EndPos)
Parameters
| Type |
Name |
Description |
| System.Double |
StartPos |
|
| System.Double |
EndPos |
|
Returns
|
Improve this Doc
View Source
TryPointDeriv2At(Double, out GeoPoint2D, out GeoVector2D, out GeoVector2D)
Declaration
public virtual bool TryPointDeriv2At(double position, out GeoPoint2D point, out GeoVector2D deriv, out GeoVector2D deriv2)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Implements