Class ProjectedCurve
A 2d curve as a projection of a 3d curve onto a surface. Sometimes it is easier to calculate points in 3d than in 2d. Then we use this as a more
exact for of the curve than we get, when we approximate the curve in 2d.
Inheritance
System.Object
ProjectedCurve
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 class ProjectedCurve : TriangulatedCurve2D, ICurve2D, IQuadTreeInsertable, ISerializable
Constructors
|
Improve this Doc
View Source
ProjectedCurve(ICurve, ISurface, Boolean, BoundingRect, Double)
Declaration
public ProjectedCurve(ICurve curve3D, ISurface surface, bool forward, BoundingRect domain, double precision = 0)
Parameters
|
Improve this Doc
View Source
ProjectedCurve(ICurve, ISurface, Double, Double, BoundingRect)
Declaration
public ProjectedCurve(ICurve curve3D, ISurface surface, double startParam, double endParam, BoundingRect domain)
Parameters
|
Improve this Doc
View Source
ProjectedCurve(SerializationInfo, StreamingContext)
Declaration
protected ProjectedCurve(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
|
| System.Runtime.Serialization.StreamingContext |
context |
|
Properties
|
Improve this Doc
View Source
Curve3D
Declaration
public ICurve Curve3D { get; }
Property Value
|
Improve this Doc
View Source
Curve3DFromParams
Declaration
public ICurve Curve3DFromParams { get; }
Property Value
|
Improve this Doc
View Source
IsReverse
Declaration
public bool IsReverse { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Surface
Declaration
public ISurface Surface { get; }
Property Value
Methods
|
Improve this Doc
View Source
Clone()
Declaration
public override ICurve2D Clone()
Returns
Overrides
|
Improve this Doc
View Source
Copy(ICurve2D)
Declaration
public override void Copy(ICurve2D toCopyFrom)
Parameters
| Type |
Name |
Description |
| ICurve2D |
toCopyFrom |
|
Overrides
|
Improve this Doc
View Source
DirectionAt(Double)
Declaration
public override GeoVector2D DirectionAt(double Position)
Parameters
| Type |
Name |
Description |
| System.Double |
Position |
|
Returns
Overrides
|
Improve this Doc
View Source
GetModified(ModOp2D)
Declaration
public override ICurve2D GetModified(ModOp2D m)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetObjectData(SerializationInfo, StreamingContext)
Implements System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Declaration
public 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
GetTriangulationBasis(out GeoPoint2D[], out GeoVector2D[], out Double[])
Declaration
protected override void GetTriangulationBasis(out GeoPoint2D[] points, out GeoVector2D[] directions, out double[] parameters)
Parameters
Overrides
|
Improve this Doc
View Source
Move(Double, Double)
Declaration
public override void Move(double x, double y)
Parameters
| Type |
Name |
Description |
| System.Double |
x |
|
| System.Double |
y |
|
Overrides
|
Improve this Doc
View Source
PointAt(Double)
Declaration
public override GeoPoint2D PointAt(double Position)
Parameters
| Type |
Name |
Description |
| System.Double |
Position |
|
Returns
Overrides
|
Improve this Doc
View Source
Reverse()
Declaration
public override void Reverse()
Overrides
|
Improve this Doc
View Source
Split(Double)
Declaration
public override ICurve2D[] Split(double Position)
Parameters
| Type |
Name |
Description |
| System.Double |
Position |
|
Returns
Overrides
|
Improve this Doc
View Source
Trim(Double, Double)
Declaration
public override ICurve2D Trim(double StartPos, double EndPos)
Parameters
| Type |
Name |
Description |
| System.Double |
StartPos |
|
| System.Double |
EndPos |
|
Returns
Overrides
|
Improve this Doc
View Source
TryPointDeriv2At(Double, out GeoPoint2D, out GeoVector2D, out GeoVector2D)
Declaration
public override bool TryPointDeriv2At(double position, out GeoPoint2D point, out GeoVector2D deriv, out GeoVector2D deriv2)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
Implements
System.Runtime.Serialization.ISerializable