Show / Hide Table of Contents

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
TriangulatedCurve2D
ProjectedCurve
Implements
ICurve2D
IQuadTreeInsertable
System.Runtime.Serialization.ISerializable
Inherited Members
TriangulatedCurve2D.MakeTringulation()
TriangulatedCurve2D.ClearTriangulation()
TriangulatedCurve2D.HasTriangulation()
TriangulatedCurve2D.StartPoint
TriangulatedCurve2D.EndPoint
TriangulatedCurve2D.StartDirection
TriangulatedCurve2D.EndDirection
TriangulatedCurve2D.MiddleDirection
TriangulatedCurve2D.PositionOf(GeoPoint2D)
TriangulatedCurve2D.PositionAtLength(Double)
TriangulatedCurve2D.Length
TriangulatedCurve2D.GetAreaFromPoint(GeoPoint2D)
TriangulatedCurve2D.GetArea()
TriangulatedCurve2D.Sweep
TriangulatedCurve2D.Distance(GeoPoint2D)
TriangulatedCurve2D.MinDistance(ICurve2D)
TriangulatedCurve2D.MinDistance(GeoPoint2D)
TriangulatedCurve2D.Parallel(Double, Boolean, Double, Double)
TriangulatedCurve2D.Intersect(ICurve2D)
TriangulatedCurve2D.Intersect(GeoPoint2D, GeoPoint2D)
TriangulatedCurve2D.PerpendicularFoot(GeoPoint2D)
TriangulatedCurve2D.TangentPoints(GeoPoint2D, GeoPoint2D)
TriangulatedCurve2D.TangentPointsToAngle(Angle, GeoPoint2D)
TriangulatedCurve2D.TangentPointsToAngle(GeoVector2D)
TriangulatedCurve2D.GetInflectionPoints()
TriangulatedCurve2D.CloneReverse(Boolean)
TriangulatedCurve2D.MakeGeoObject(Plane)
TriangulatedCurve2D.ToBspline(Double)
TriangulatedCurve2D.Project(Plane, Plane)
TriangulatedCurve2D.AddToGraphicsPath(GraphicsPath, Boolean)
TriangulatedCurve2D.IsParameterOnCurve(Double)
TriangulatedCurve2D.IsValidParameter(Double)
TriangulatedCurve2D.GetExtendedHitTest()
TriangulatedCurve2D.GetSelfIntersections()
TriangulatedCurve2D.ReinterpretParameter(Double)
TriangulatedCurve2D.Approximate(Boolean, Double)
TriangulatedCurve2D.IsClosed
TriangulatedCurve2D.UserData
TriangulatedCurve2D.GetFused(ICurve2D, Double)
TriangulatedCurve2D.GetExtent()
TriangulatedCurve2D.HitTest(BoundingRect, Boolean)
TriangulatedCurve2D.ReferencedObject
TriangulatedCurve2D.JSonGetObjectData(IJsonWriteData)
TriangulatedCurve2D.JSonSetObjectData(IJsonReadData)
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()
Namespace: CADability
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
Type Name Description
ICurve curve3D
ISurface surface
System.Boolean forward
BoundingRect domain
System.Double precision
| 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
Type Name Description
ICurve curve3D
ISurface surface
System.Double startParam
System.Double endParam
BoundingRect domain
| 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
Type Description
ICurve
| Improve this Doc View Source

Curve3DFromParams

Declaration
public ICurve Curve3DFromParams { get; }
Property Value
Type Description
ICurve
| 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
Type Description
ISurface

Methods

| Improve this Doc View Source

Clone()

Declaration
public override ICurve2D Clone()
Returns
Type Description
ICurve2D
Overrides
TriangulatedCurve2D.Clone()
| Improve this Doc View Source

Copy(ICurve2D)

Declaration
public override void Copy(ICurve2D toCopyFrom)
Parameters
Type Name Description
ICurve2D toCopyFrom
Overrides
TriangulatedCurve2D.Copy(ICurve2D)
| Improve this Doc View Source

DirectionAt(Double)

Declaration
public override GeoVector2D DirectionAt(double Position)
Parameters
Type Name Description
System.Double Position
Returns
Type Description
GeoVector2D
Overrides
TriangulatedCurve2D.DirectionAt(Double)
| Improve this Doc View Source

GetModified(ModOp2D)

Declaration
public override ICurve2D GetModified(ModOp2D m)
Parameters
Type Name Description
ModOp2D m
Returns
Type Description
ICurve2D
Overrides
TriangulatedCurve2D.GetModified(ModOp2D)
| 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
Type Name Description
GeoPoint2D[] points
GeoVector2D[] directions
System.Double[] parameters
Overrides
TriangulatedCurve2D.GetTriangulationBasis(out GeoPoint2D[], out GeoVector2D[], out Double[])
| 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
TriangulatedCurve2D.Move(Double, Double)
| Improve this Doc View Source

PointAt(Double)

Declaration
public override GeoPoint2D PointAt(double Position)
Parameters
Type Name Description
System.Double Position
Returns
Type Description
GeoPoint2D
Overrides
TriangulatedCurve2D.PointAt(Double)
| Improve this Doc View Source

Reverse()

Declaration
public override void Reverse()
Overrides
TriangulatedCurve2D.Reverse()
| Improve this Doc View Source

Split(Double)

Declaration
public override ICurve2D[] Split(double Position)
Parameters
Type Name Description
System.Double Position
Returns
Type Description
ICurve2D[]
Overrides
TriangulatedCurve2D.Split(Double)
| 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
Type Description
ICurve2D
Overrides
TriangulatedCurve2D.Trim(Double, Double)
| 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
Type Name Description
System.Double position
GeoPoint2D point
GeoVector2D deriv
GeoVector2D deriv2
Returns
Type Description
System.Boolean
Overrides
TriangulatedCurve2D.TryPointDeriv2At(Double, out GeoPoint2D, out GeoVector2D, out GeoVector2D)

Implements

ICurve2D
IQuadTreeInsertable
System.Runtime.Serialization.ISerializable
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX