Class SpanContourPos4d
- Namespace
- HiMech.Milling.FluteContours
- Assembly
- HiMech.dll
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()
public SpanContourPos4d()
SpanContourPos4d(Polar3d, double)
Ctor.
public SpanContourPos4d(Polar3d polar, double radialAngle_rad)
Parameters
SpanContourPos4d(SpanContourPos4d)
Copy constructor. Creates a new instance by copying values from the source object.
public SpanContourPos4d(SpanContourPos4d src)
Parameters
src
SpanContourPos4dThe source object to copy from
Properties
CsvText
Csv text.
public string CsvText { get; set; }
Property Value
CsvTitleText
Csv titles text.
public string CsvTitleText { get; }
Property Value
Polar
public Polar3d Polar { get; set; }
Property Value
RadialAngle_deg
public double RadialAngle_deg { get; set; }
Property Value
RadialAngle_rad
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
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)