Class SpanContourPos4d
- Namespace
- Hi.Milling.FluteContours
- Assembly
- HiMech.dll
Represents a position in 4D space (r, theta, z, radial angle) for contour spans
public class SpanContourPos4d : IAdditionOperators<SpanContourPos4d, SpanContourPos4d, SpanContourPos4d>, IMultiplyOperators<SpanContourPos4d, double, SpanContourPos4d>, IDivisionOperators<SpanContourPos4d, double, SpanContourPos4d>, ICsvRowIo
- Inheritance
-
SpanContourPos4d
- Implements
- Inherited Members
- Extension Methods
Constructors
SpanContourPos4d()
Initializes a new instance of the SpanContourPos4d class
public SpanContourPos4d()
SpanContourPos4d(Polar3d, double)
Initializes a new instance of the SpanContourPos4d class with specified polar coordinates and radial angle
public SpanContourPos4d(Polar3d polar, double radialAngle_rad)
Parameters
SpanContourPos4d(SpanContourPos4d)
Initializes a new instance of the SpanContourPos4d class by copying another instance
public SpanContourPos4d(SpanContourPos4d src)
Parameters
src
SpanContourPos4dThe source instance to copy from
Properties
CsvText
Gets or sets the CSV text representation of this instance
public string CsvText { get; set; }
Property Value
CsvTitleText
Gets the CSV title text for this instance
public string CsvTitleText { get; }
Property Value
Polar
Gets or sets the polar coordinates (r, theta, z)
public Polar3d Polar { get; set; }
Property Value
RadialAngle_deg
Gets or sets the radial angle in degrees
public double RadialAngle_deg { get; set; }
Property Value
RadialAngle_rad
Gets or sets the radial angle in radians. The radial angle is the angle between surface and radial line. The radial line is the line vertical to the z-axis for side flute or vertical to the r-axis for bottom flute.
public double RadialAngle_rad { get; set; }
Property Value
StaticCsvTitleText
Gets the static CSV title text for the class
public static string StaticCsvTitleText { get; }
Property Value
Operators
operator +(SpanContourPos4d, SpanContourPos4d)
Plus.
public static SpanContourPos4d operator +(SpanContourPos4d a, SpanContourPos4d b)
Parameters
a
SpanContourPos4da
b
SpanContourPos4db
Returns
- SpanContourPos4d
ContourSurfacePos4d(a.Polar+b.Polar,a.RadialAngle_rad+b.RadialAngle_rad)
operator /(SpanContourPos4d, double)
Get a new object from a
scaled by 1/d
.
public static SpanContourPos4d operator /(SpanContourPos4d a, double d)
Parameters
a
SpanContourPos4da
d
doubledenominator
Returns
- SpanContourPos4d
result
operator *(SpanContourPos4d, double)
Scale a by s.
public static SpanContourPos4d operator *(SpanContourPos4d a, double s)
Parameters
a
SpanContourPos4dvalue
s
doublescale
Returns
- SpanContourPos4d
ContourSurfacePos4d(a.Polar * s, a.RadialAngle_rad * s)
operator -(SpanContourPos4d, SpanContourPos4d)
Plus.
public static SpanContourPos4d operator -(SpanContourPos4d a, SpanContourPos4d b)
Parameters
a
SpanContourPos4da
b
SpanContourPos4db
Returns
- SpanContourPos4d
ContourSurfacePos4d(a.Polar - b.Polar, a.RadialAngle_rad - b.RadialAngle_rad)