Assembly: VMDSprocket.dll The base class is sprocket profile.
Inheritance
object ← ProfileSprocketBaseDerived
ProfileSprocket_ASA, ProfileSprocket_BSExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Constructors
ProfileSprocketBase(ProfileDataSprocket)
Initializes a new instance of the ProfileSprocketBase class.Parameters
info ProfileDataSprocket
The info is data for creation profile.
Fields
m_Info
The info is data for creation profileField Value
ProfileDataSprocketm_dRadius_shift
Shift radius value.Field Value
doublem_lstPtOrigin
The original point data.Field Value
List<VectorBase>m_lstPtWorkPlane
The transformed point data to work plane.Field Value
List<VectorBase>m_strError
Set error message when can not calculate profile.Field Value
stringProperties
Radius_Shift
Gets shift radius value.Property Value
doubleMethods
Calculation_Gradient(VectorBase, VectorBase)
Find the gradient of line equationParameters
_ptArbitrary1 VectorBase
The arbitrary point.
_ptArbitrary2 VectorBase
The arbitrary point.
Returns
double The gradientCalculation_Gradient_Bewteen_ArbitraryPoint_and_Circle(VectorBase, VectorBase, double)
Called when the gradient calculate between arbitrary point and circle.Parameters
_ptArbitrary VectorBase
The arbitrary point.
ptCenterofCircle VectorBase
The center point of circle.
_dRadiusofCircle double
The radius of circle.
Returns
double[] The array of gradient.Calculation_TangentPoint_Through_Line_Circle(double, VectorBase, VectorBase, double)
Called when tangent points calculates through line to circle.Parameters
dGradient double
The gradient.
_ptArbitrary VectorBase
The arbitrary point.
ptCenterofCircle VectorBase
The center point of circle.
_dRadiusofCircle double
The radius of circle.
Returns
List<VectorBase> The list of pointsCalculation_TangentPosition(double, VectorBase, VectorBase, double)
Called when tangent points calculates bewteen arbitrary point and circle.Parameters
dGradient double
The gradient.
_ptArbitrary VectorBase
The arbitrary point.
ptCenterofCircle VectorBase
The center point of circle.
_dRadiusofCircle double
The radius of circle.
Returns
double[] The tangent point.Calculation_line_Equation(VectorBase, double, ref double)
Find line equationParameters
_ptArbitrary VectorBase
The arbitrary point.
_dGradient double
y=mx+nm
_dConstant double
y=mx+nn
Claculation_TangentPoint_Between_Two_Circle(VectorBase, double, VectorBase, double)
Called when tangent points calculates bewteen two circles.Parameters
ptCenter1 VectorBase
The center position
dR1 double
The radius.
ptCenter2 VectorBase
The center position.
dR2 double
The radius.
Returns
List<VectorBase> The list of pointsCreateProfile()
Create profile data.Returns
boolGetPointData_For_WorkPlane()
Gets points data on work plane.Returns
List<VectorBase>GetPointData_For_XYPlane()
Gets points data on XY plane.Returns
List<VectorBase>Validation()
Check validation of member variablesReturns
boolmatvec(double[], VectorBase)
Parameters
mat double[]
vecA VectorBase
Returns
VectorBasevectlvec(VectorBase, VectorBase)
Parameters
vecA VectorBase
vecB VectorBase
Returns
VectorBasevectranspose_vectieldvec(VectorBase, VectorBase, VectorBase)
Parameters
vecDepth VectorBase
vecA VectorBase
vecB VectorBase