Class TriangulatedCurve2D
Inheritance
System.Object
TriangulatedCurve2D
Implements
System.Runtime.Serialization.ISerializable
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
[Serializable]
public abstract class TriangulatedCurve2D : ICurve2D, IQuadTreeInsertable, ISerializable
Constructors
|
Improve this Doc
View Source
TriangulatedCurve2D()
Declaration
protected TriangulatedCurve2D()
|
Improve this Doc
View Source
TriangulatedCurve2D(SerializationInfo, StreamingContext)
Declaration
protected TriangulatedCurve2D(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
|
| System.Runtime.Serialization.StreamingContext |
context |
|
Properties
|
Improve this Doc
View Source
EndDirection
Declaration
public virtual GeoVector2D EndDirection { get; }
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
ClearTriangulation()
Declaration
protected void ClearTriangulation()
|
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 abstract 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
GetObjectData(SerializationInfo, StreamingContext)
Implements System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Declaration
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
The System.Runtime.Serialization.SerializationInfo to populate with data.
|
| System.Runtime.Serialization.StreamingContext |
context |
The destination (System.Runtime.Serialization.StreamingContext) for this serialization.
|
|
Improve this Doc
View Source
GetSelfIntersections()
Declaration
public virtual double[] GetSelfIntersections()
Returns
| Type |
Description |
| System.Double[] |
|
|
Improve this Doc
View Source
GetTriangulationBasis(out GeoPoint2D[], out GeoVector2D[], out Double[])
Declaration
protected abstract void GetTriangulationBasis(out GeoPoint2D[] points, out GeoVector2D[] directions, out double[] parameters)
Parameters
|
Improve this Doc
View Source
HasTriangulation()
Declaration
protected bool HasTriangulation()
Returns
| Type |
Description |
| System.Boolean |
|
|
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
JSonGetObjectData(IJsonWriteData)
Declaration
protected void JSonGetObjectData(IJsonWriteData data)
Parameters
|
Improve this Doc
View Source
JSonSetObjectData(IJsonReadData)
Declaration
protected void JSonSetObjectData(IJsonReadData data)
Parameters
|
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
MakeTringulation()
Declaration
protected void MakeTringulation()
|
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 abstract 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 abstract void Reverse()
|
Improve this Doc
View Source
Split(Double)
Declaration
public virtual 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
ToBspline(Double)
Declaration
protected BSpline2D ToBspline(double precision)
Parameters
| Type |
Name |
Description |
| System.Double |
precision |
|
Returns
|
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 abstract bool TryPointDeriv2At(double position, out GeoPoint2D point, out GeoVector2D deriv, out GeoVector2D deriv2)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Implements
System.Runtime.Serialization.ISerializable