EllipticalArc2d Class

This class represents elliptical arcs and full ellipses in 2D space.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.GeometryEntity2d
        Teigha.GeometryCurve2d
          Teigha.GeometryEllipticalArc2d

Namespace: Teigha.Geometry
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public sealed class EllipticalArc2d : Curve2d

The EllipticalArc2d type exposes the following members.

Constructors
  Name Description
Public method EllipticalArc2d Default constructor for the EllipticalArc2d class. Creates a default corresponding C++ object with center at the coordinates origin, major axis is kXAxis, minor axis is kYAxis, minor radius and major radius are 1.0, start parameter is equal to 0.0, and end parameter is equal to Oda2PI.
Public method EllipticalArc2d(CircularArc2d) Constructor for the EllipticalArc2d class. Creates an elliptical arc based on the passed circular arc.
Public method EllipticalArc2d(Point2d, Vector2d, Vector2d, Double, Double) Constructor for the EllipticalArc2d class. Creates an elliptical arc by the specified parameters.
Public method EllipticalArc2d(Point2d, Vector2d, Vector2d, Double, Double, Double, Double) Constructor for the EllipticalArc2d class. Creates an elliptical arc by the specified parameters.
Top
Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property BoundBlock Property that represents an oriented bounding box of curve.
(Inherited from Curve2d)
Public property Center Property that represents the center of this elliptical arc.
Public property EndAngle Property that represents end angle of this elliptical arc.
Public property EndPoint Property that represents the end point of this elliptical arc.
Public property HasEndPoint Property that indicates whether the parametric interval of the curve has an upper bound.
(Inherited from Curve2d)
Public property HasStartPoint Property that indicates whether the parametric interval of the curve has a lower bound.
(Inherited from Curve2d)
Public property IsClockWise Property that indicates whether this elliptical arc is drawn clockwise from the start point to the end point.
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property MajorAxis Property that represents a major axis of this elliptical arc.
Public property MajorRadius Property that represents major radius of this elliptical arc.
Public property MinorAxis Property that represents minor axis of this elliptical arc.
Public property MinorRadius Property that represents minor radius of this elliptical arc.
Public property OrthoBoundBlock Property that represents a bounding box whose edges are aligned with the coordinate axes.
(Inherited from Curve2d)
Public property StartAngle Property that represents start angle of this elliptical arc.
Public property StartPoint Property that represents the start point of this elliptical arc.
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Top
Methods
  Name Description
Public method Clone Clones this entity and returns a handle to the cloned entity.
(Inherited from Entity2d)
Public methodStatic member Create Creates an object based on the passed pointer and returns a handle to the created object.
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Public method Dispose
(Inherited from DisposableWrapper)
Public method Equals Checks objects for equality.
(Inherited from DisposableWrapper)
Public method EvaluatePoint Retrieves the point on the curve corresponding to the specified parameter value.
(Inherited from Curve2d)
Public method Explode Explodes the curve into its component sub-curves.
(Inherited from Curve2d)
Public method GetArea(Double, Double) Retrieves the area of the parametric interval defined by the passed start and end parameters.
(Inherited from Curve2d)
Public method GetArea(Double, Double, Tolerance) Retrieves the area of the parametric interval defined by the passed start and end parameters within the specified tolerance.
(Inherited from Curve2d)
Public method GetBoundBlockOf Retrieves the oriented bounding box of the specified parametric interval of this curve.
(Inherited from Curve2d)
Public method GetClosestPointTo(Curve2d) Retrieves the closest points between this curve and the passed curve.
(Inherited from Curve2d)
Public method GetClosestPointTo(Point2d) Retrieves the closest point on this curve to the specified point.
(Inherited from Curve2d)
Public method GetClosestPointTo(Curve2d, Tolerance) Retrieves the closest points between this curve and the passed curve within a specified tolerance.
(Inherited from Curve2d)
Public method GetClosestPointTo(Point2d, Tolerance) Retrieves the closest point on this curve to the specified point within the specified tolerance.
(Inherited from Curve2d)
Public method GetDistanceTo(Curve2d) Retrieves the distance of the closest points between this curve and the passed curve.
(Inherited from Curve2d)
Public method GetDistanceTo(Point2d) Retrieves the distance of the closest point on this curve and the specified point.
(Inherited from Curve2d)
Public method GetDistanceTo(Curve2d, Tolerance) Retrieves the distance of the closest points between this curve and the passed curve within a specified tolerance.
(Inherited from Curve2d)
Public method GetDistanceTo(Point2d, Tolerance) Retrieves the distance of the closest point on this curve and the specified point within a specified tolerance.
(Inherited from Curve2d)
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetInterval Retrieves the parametric interval of this curve.
(Inherited from Curve2d)
Public method GetLength(Double, Double) Retrieves the arc length of the curve between the two parameter values.
(Inherited from Curve2d)
Public method GetLength(Double, Double, Tolerance) Retrieves the arc length of the curve between the two parameter values within a specified tolerance.
(Inherited from Curve2d)
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetNormalPoint(Point2d) Retrieves the point on this curve where normal extends through the passed point.
(Inherited from Curve2d)
Public method GetNormalPoint(Point2d, Tolerance) Retrieves the point on this curve where normal extends through the passed point within the specified tolerance.
(Inherited from Curve2d)
Public method GetOrthoBoundBlockOf Retrieves the bounding box of the specified parametric range of this curve. Bounding box sides are parallel to the coordinate axes.
(Inherited from Curve2d)
Public method GetParameterAtLength(Double, Double, Boolean) Retrieves the parameter value of the point whose arc length distance is the input length.
(Inherited from Curve2d)
Public method GetParameterAtLength(Double, Double, Boolean, Tolerance) Retrieves the parameter value of the point whose arc length distance is the input length.
(Inherited from Curve2d)
Public method GetParameterOf(Point2d) Retrieves the parameter value of a point.
(Inherited from Curve2d)
Public method GetParameterOf(Point2d, Tolerance) Retrieves the parameter value of a point within a specified tolerance.
(Inherited from Curve2d)
Public method GetReverseParameterCurve Reverses the parameter direction for this curve.
(Inherited from Curve2d)
Public method GetSamplePoints(Int32) Retrieves an array of sample points along this curve.
(Inherited from Curve2d)
Public method GetSamplePoints(Double, Double, Double) Retrieves specified arrays of sample points along this curve and their parameter values.
(Inherited from Curve2d)
Public method GetSplitCurves Retrieves two segments of this curve split at the specified parameter value.
(Inherited from Curve2d)
Public method GetTrimmedOffset(Double, OffsetCurveExtensionType) Retrieves offset curves that represent the trimmed offset of the curve.
(Inherited from Curve2d)
Public method GetTrimmedOffset(Double, OffsetCurveExtensionType, Tolerance) Retrieves one or more offset curves that represent the trimmed offset of the curve.
(Inherited from Curve2d)
Public method GetType
(Inherited from Object)
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Public method IntersectWith(LinearEntity2d) Calculates intersection points with the specified linear entity.
Public method IntersectWith(LinearEntity2d, Tolerance) Calculates intersection points with the specified linear entity according to a geometric tolerance.
Public method IsCircular Checks whether this arc is circular.
Public method IsCircular(Tolerance) Checks whether this arc is circular within a geometric tolerance.
Public method IsClosed Checks whether the curve is closed.
(Inherited from Curve2d)
Public method IsClosed(Tolerance) Checks whether the curve is closed within a specified tolerance.
(Inherited from Curve2d)
Public method IsDegenerate(Entity2d) Checks whether this curve is degenerate and returns the type of entity that the curve degenerates to (if degenerate).
(Inherited from Curve2d)
Public method IsDegenerate(Entity2d, Tolerance) Checks whether this curve is degenerate and returns the type of entity that the curve degenerates to (if degenerate).
(Inherited from Curve2d)
Public method IsEqualTo(Entity2d) Checks whether this entity is equal to the specified entity.
(Inherited from Entity2d)
Public method IsEqualTo(Entity2d, Tolerance) Checks whether this entity is equal to the specified entity within a geometric tolerance.
(Inherited from Entity2d)
Public method IsInside(Point2d) Checks whether the specified point lies within the full ellipse.
Public method IsInside(Point2d, Tolerance) Checks whether the specified point lies within the full ellipse according to a geometric tolerance.
Public method IsLinear(Line2d) Checks whether this curve is linear.
(Inherited from Curve2d)
Public method IsLinear(Line2d, Tolerance) Checks whether this curve is linear within a specified tolerance.
(Inherited from Curve2d)
Public method IsOn(Double) Checks whether a specified parameter value is within a valid parametric range of the curve.
(Inherited from Curve2d)
Public method IsOn(Point2d) Checks whether a specified point lies on this curve.
(Inherited from Curve2d)
Public method IsOn(Double, Tolerance) Checks whether a specified parameter value is within a parametric range of the curve.
(Inherited from Curve2d)
Public method IsOn(Point2d, Double) Checks whether a specified point lies on this curve.
(Inherited from Curve2d)
Public method IsOn(Point2d, Tolerance) Checks whether a specified point lies on this curve within specified tolerance.
(Inherited from Curve2d)
Public method IsOn(Point2d, Double, Tolerance) Checks whether a specified point lies on this curve.
(Inherited from Curve2d)
Public method IsPeriodic Checks whether the curve is periodic.
(Inherited from Curve2d)
Public method Mirror Mirrors this entity about the specified 2D line.
(Inherited from Entity2d)
Public method RotateBy Rotates this entity about the specified point by the specified angle.
(Inherited from Entity2d)
Public method ScaleBy Scales this entity by the specified scale factor about the specified point.
(Inherited from Entity2d)
Public method Set(CircularArc2d) Sets parameters of this elliptical arc by the passed circuilar arc.
Public method Set(Point2d, Vector2d, Vector2d, Double, Double) Sets the specified center, axes and radii for this arc.
Public method Set(Point2d, Vector2d, Vector2d, Double, Double, Double, Double) Sets the specified center, axes, radii and angles for this arc.
Public method SetAngles Sets the specified start and end angles for this elliptical arc.
Public method SetAxes Sets the specified axes for this elliptical arc.
Public method SetInterval Sets the parametric range of this curve.
(Inherited from Curve2d)
Public method ToString
(Inherited from Object)
Public method TransformBy Applies the specified 2D transformation matrix to this entity.
(Inherited from Entity2d)
Public method TranslateBy Translates this entity by applying a 2D translation vector.
(Inherited from Entity2d)
Top
Remarks
The angle of a point on an ellipse is measured by projecting the point along a vector perpendicular to the major axis onto a circle whose center is the center of this ellipse and whose radius is the major radius of this ellipse. The angle between the major axis of this ellipse, and a vector from the center of this ellipse to the intersection point with the circle, measured counterclockwise, is the angle of this point on the ellipse. For more information, see Working with Elliptical Arcs.
See Also

©  Bricsys NV. All rights reserved.