Show / Hide Table of Contents

Class TriangulatedCurve2D

Inheritance
System.Object
TriangulatedCurve2D
SineCurve2D
TransformedCurve2D
ProjectedCurve
Implements
ICurve2D
IQuadTreeInsertable
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()
Namespace: CADability.Curve2D
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
Type Description
GeoVector2D
| Improve this Doc View Source

EndPoint

Declaration
public virtual GeoPoint2D EndPoint { get; set; }
Property Value
Type Description
GeoPoint2D
| 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
Type Description
GeoVector2D
| 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
Type Description
GeoVector2D
| Improve this Doc View Source

StartPoint

Declaration
public virtual GeoPoint2D StartPoint { get; set; }
Property Value
Type Description
GeoPoint2D
| 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
Type Description
UserData

Methods

| Improve this Doc View Source

AddToGraphicsPath(GraphicsPath, Boolean)

Implements 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)

Implements Approximate(Boolean, Double)

Declaration
public virtual ICurve2D Approximate(bool linesOnly, double maxError)
Parameters
Type Name Description
System.Boolean linesOnly
System.Double maxError
Returns
Type Description
ICurve2D
| Improve this Doc View Source

ClearTriangulation()

Declaration
protected void ClearTriangulation()
| Improve this Doc View Source

Clone()

Implements Clone()

Declaration
public abstract ICurve2D Clone()
Returns
Type Description
ICurve2D
| Improve this Doc View Source

CloneReverse(Boolean)

Implements CloneReverse(Boolean)

Declaration
public virtual ICurve2D CloneReverse(bool reverse)
Parameters
Type Name Description
System.Boolean reverse
Returns
Type Description
ICurve2D
| Improve this Doc View Source

Copy(ICurve2D)

Implements Copy(ICurve2D)

Declaration
public abstract void Copy(ICurve2D toCopyFrom)
Parameters
Type Name Description
ICurve2D toCopyFrom
| Improve this Doc View Source

DirectionAt(Double)

Implements DirectionAt(Double)

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

Distance(GeoPoint2D)

Implements Distance(GeoPoint2D)

Declaration
public virtual double Distance(GeoPoint2D p)
Parameters
Type Name Description
GeoPoint2D p
Returns
Type Description
System.Double
| Improve this Doc View Source

GetArea()

Implements GetArea()

Declaration
public virtual double GetArea()
Returns
Type Description
System.Double
| Improve this Doc View Source

GetAreaFromPoint(GeoPoint2D)

Implements GetAreaFromPoint(GeoPoint2D)

Declaration
public virtual double GetAreaFromPoint(GeoPoint2D p)
Parameters
Type Name Description
GeoPoint2D p
Returns
Type Description
System.Double
| Improve this Doc View Source

GetExtendedHitTest()

Implements GetExtendedHitTest()

Declaration
public virtual IQuadTreeInsertable GetExtendedHitTest()
Returns
Type Description
IQuadTreeInsertable
| Improve this Doc View Source

GetExtent()

Declaration
public virtual BoundingRect GetExtent()
Returns
Type Description
BoundingRect
| Improve this Doc View Source

GetFused(ICurve2D, Double)

Implements GetFused(ICurve2D, Double)

Declaration
public virtual ICurve2D GetFused(ICurve2D toFuseWith, double precision)
Parameters
Type Name Description
ICurve2D toFuseWith
System.Double precision
Returns
Type Description
ICurve2D
| Improve this Doc View Source

GetInflectionPoints()

Implements GetInflectionPoints()

Declaration
public virtual double[] GetInflectionPoints()
Returns
Type Description
System.Double[]
| Improve this Doc View Source

GetModified(ModOp2D)

Implements GetModified(ModOp2D)

Declaration
public virtual ICurve2D GetModified(ModOp2D m)
Parameters
Type Name Description
ModOp2D m
Returns
Type Description
ICurve2D
| 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()

Implements 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
Type Name Description
GeoPoint2D[] points
GeoVector2D[] directions
System.Double[] 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)

Implements Intersect(ICurve2D)

Declaration
public virtual GeoPoint2DWithParameter[] Intersect(ICurve2D IntersectWith)
Parameters
Type Name Description
ICurve2D IntersectWith
Returns
Type Description
GeoPoint2DWithParameter[]
| Improve this Doc View Source

Intersect(GeoPoint2D, GeoPoint2D)

Implements Intersect(GeoPoint2D, GeoPoint2D)

Declaration
public virtual GeoPoint2DWithParameter[] Intersect(GeoPoint2D StartPoint, GeoPoint2D EndPoint)
Parameters
Type Name Description
GeoPoint2D StartPoint
GeoPoint2D EndPoint
Returns
Type Description
GeoPoint2DWithParameter[]
| Improve this Doc View Source

IsParameterOnCurve(Double)

Implements 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)

Implements 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
Type Name Description
IJsonWriteData data
| Improve this Doc View Source

JSonSetObjectData(IJsonReadData)

Declaration
protected void JSonSetObjectData(IJsonReadData data)
Parameters
Type Name Description
IJsonReadData data
| Improve this Doc View Source

MakeGeoObject(Plane)

Implements MakeGeoObject(Plane)

Declaration
public virtual IGeoObject MakeGeoObject(Plane p)
Parameters
Type Name Description
Plane p
Returns
Type Description
IGeoObject
| Improve this Doc View Source

MakeTringulation()

Declaration
protected void MakeTringulation()
| Improve this Doc View Source

MinDistance(ICurve2D)

Implements MinDistance(ICurve2D)

Declaration
public virtual double MinDistance(ICurve2D Other)
Parameters
Type Name Description
ICurve2D Other
Returns
Type Description
System.Double
| Improve this Doc View Source

MinDistance(GeoPoint2D)

Implements MinDistance(GeoPoint2D)

Declaration
public virtual double MinDistance(GeoPoint2D p)
Parameters
Type Name Description
GeoPoint2D p
Returns
Type Description
System.Double
| Improve this Doc View Source

Move(Double, Double)

Implements 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)

Implements 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
Type Description
ICurve2D
| Improve this Doc View Source

PerpendicularFoot(GeoPoint2D)

Implements PerpendicularFoot(GeoPoint2D)

Declaration
public virtual GeoPoint2D[] PerpendicularFoot(GeoPoint2D FromHere)
Parameters
Type Name Description
GeoPoint2D FromHere
Returns
Type Description
GeoPoint2D[]
| Improve this Doc View Source

PointAt(Double)

Implements PointAt(Double)

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

PositionAtLength(Double)

Implements 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)

Implements PositionOf(GeoPoint2D)

Declaration
public virtual double PositionOf(GeoPoint2D p)
Parameters
Type Name Description
GeoPoint2D p
Returns
Type Description
System.Double
| Improve this Doc View Source

Project(Plane, Plane)

Implements Project(Plane, Plane)

Declaration
public virtual ICurve2D Project(Plane fromPlane, Plane toPlane)
Parameters
Type Name Description
Plane fromPlane
Plane toPlane
Returns
Type Description
ICurve2D
| Improve this Doc View Source

ReinterpretParameter(ref Double)

Implements 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()

Implements Reverse()

Declaration
public abstract void Reverse()
| Improve this Doc View Source

Split(Double)

Implements Split(Double)

Declaration
public virtual ICurve2D[] Split(double Position)
Parameters
Type Name Description
System.Double Position
Returns
Type Description
ICurve2D[]
| Improve this Doc View Source

TangentPoints(GeoPoint2D, GeoPoint2D)

Implements TangentPoints(GeoPoint2D, GeoPoint2D)

Declaration
public virtual GeoPoint2D[] TangentPoints(GeoPoint2D FromHere, GeoPoint2D CloseTo)
Parameters
Type Name Description
GeoPoint2D FromHere
GeoPoint2D CloseTo
Returns
Type Description
GeoPoint2D[]
| Improve this Doc View Source

TangentPointsToAngle(Angle, GeoPoint2D)

Implements TangentPointsToAngle(Angle, GeoPoint2D)

Declaration
public virtual GeoPoint2D[] TangentPointsToAngle(Angle ang, GeoPoint2D CloseTo)
Parameters
Type Name Description
Angle ang
GeoPoint2D CloseTo
Returns
Type Description
GeoPoint2D[]
| Improve this Doc View Source

TangentPointsToAngle(GeoVector2D)

Implements TangentPointsToAngle(GeoVector2D)

Declaration
public virtual double[] TangentPointsToAngle(GeoVector2D direction)
Parameters
Type Name Description
GeoVector2D direction
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
Type Description
BSpline2D
| Improve this Doc View Source

Trim(Double, Double)

Implements Trim(Double, Double)

Declaration
public virtual ICurve2D Trim(double StartPos, double EndPos)
Parameters
Type Name Description
System.Double StartPos
System.Double EndPos
Returns
Type Description
ICurve2D
| Improve this Doc View Source

TryPointDeriv2At(Double, out GeoPoint2D, out GeoVector2D, out GeoVector2D)

Implements 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
Type Name Description
System.Double position
GeoPoint2D point
GeoVector2D deriv
GeoVector2D deriv2
Returns
Type Description
System.Boolean

Implements

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