ZeusMath-Library
2.0.4
|
#include <IStraightLine2D.hpp>
Public Member Functions | |
virtual const IVector2D &MQUALIFIER | getInitialVector () const =0 |
virtual const IVector2D &MQUALIFIER | getDirectionVector () const =0 |
virtual void MQUALIFIER | setInitialVector (const IVector2D &rVecInitial)=0 |
virtual void MQUALIFIER | setDirectionVector (const IVector2D &rVecDirection)=0 |
virtual bool MQUALIFIER | getSlope (Float &rfSlope) const =0 |
virtual bool MQUALIFIER | getYIntercept (Float &rfYIntercept) const =0 |
virtual void MQUALIFIER | assign (const IStraightLine2D &rStraightLine)=0 |
virtual void MQUALIFIER | initAsAxisX ()=0 |
virtual void MQUALIFIER | initAsAxisY ()=0 |
virtual bool MQUALIFIER | isAxisX () const =0 |
virtual bool MQUALIFIER | isAxisY () const =0 |
virtual bool MQUALIFIER | isValid () const =0 |
virtual bool MQUALIFIER | isEqual (const IStraightLine2D &rStraightLine) const =0 |
virtual bool MQUALIFIER | isParallel (const IStraightLine2D &rStraightLine) const =0 |
virtual void MQUALIFIER | calcPointFromParameter (const Float &fParameter, IVector2D &rVecPoint) const =0 |
virtual bool MQUALIFIER | calcParameterFromPoint (const IVector2D &rVecPoint, Float &fParameter) const =0 |
virtual bool MQUALIFIER | calcPointAtX (const Float &x, IVector2D &rVecPoint) const =0 |
virtual bool MQUALIFIER | calcPointAtY (const Float &y, IVector2D &rVecPoint) const =0 |
virtual bool MQUALIFIER | arePointsOnSameSide (const IVector2D &rVecPoint1, const IVector2D &rVecPoint2) const =0 |
Public Member Functions inherited from zeus::IGeometricObject2D | |
virtual const InterfaceID &MQUALIFIER | getInterfaceID () const =0 |
Get the interface ID as GUID return value. More... | |
virtual Float MQUALIFIER | getLength () const =0 |
Get the length. More... | |
virtual Retval MQUALIFIER | getPointFromRunningParameter (const Float &rfRunningParameter, IVector2D &rvecPoint) const =0 |
virtual Retval MQUALIFIER | intersect (const IGeometricObject2D &rObject, IList< IVector2D > &rLstIntersectionPoints, const Float &rfTangentTolerance=INTERSECT_TANGENT_TOLERANCE) const =0 |
virtual bool MQUALIFIER | containsPoint (const IVector2D &rVecPoint, const Float &rfTolerance=0) const =0 |
virtual void MQUALIFIER | calcClosestPointToPoint (const IVector2D &rVecPoint, IVector2D &rVecClosestPoint) const =0 |
virtual Float MQUALIFIER | calcDistanceToPoint (const IVector2D &rVecPoint) const =0 |
virtual Float MQUALIFIER | calcDistanceToObject (const IGeometricObject2D &rObject) const =0 |
virtual Retval MQUALIFIER | getXMinPoint (IVector2D &rVecPoint) const =0 |
virtual Retval MQUALIFIER | getXMaxPoint (IVector2D &rVecPoint) const =0 |
virtual Retval MQUALIFIER | getYMinPoint (IVector2D &rVecPoint) const =0 |
virtual Retval MQUALIFIER | getYMaxPoint (IVector2D &rVecPoint) const =0 |
virtual void MQUALIFIER | getMinMaxCoordinates (Float &rfXMin, Float &rfXMax, Float &rfYMin, Float &rfYMax) const =0 |
IStraightLine2D encapsulates a three dimensional floating point straight line for vector geometry calculations.
|
pure virtual |
Are two points on the same side of this straight line?
rVecPoint1,2 | [IN]: Two points. |
Implemented in zeus::TStraightLine2D.
|
pure virtual |
Assignment.
rStraightLine | [IN]: Straight line to be assigned to this straight line. |
Implemented in zeus::TStraightLine2D.
|
pure virtual |
Calculate the parameter of a given point on this straight line.
rVecPoint | [IN] : Vector to the given point. |
fParameter | [OUT]: Parameter. Only valid in case true is returned. |
Implemented in zeus::TStraightLine2D.
|
pure virtual |
Geometric calculations.
Calculate the position of a point on the straight line with fixed x coordinate.
x | [IN] : x coordinate. |
rVecPoint | [OUT]: Vector to the desired point. |
Implemented in zeus::TStraightLine2D.
|
pure virtual |
Calculate the position of a point on the straight line with fixed y coordinate.
y | [IN] : y coordinate. |
rVecPoint | [OUT]: Vector to the desired point. |
Implemented in zeus::TStraightLine2D.
|
pure virtual |
Parameter calculations.
Calculate the point on this straight line corresponding to a given parameter.
fParameter | [IN] : Parameter. |
rVecPoint | [OUT]: Vector to the point given by the parameter. |
Implemented in zeus::TStraightLine2D.
|
pure virtual |
Read the direction vector of the point direction form r = r0 + s * u.
Implemented in zeus::TStraightLine2D.
|
pure virtual |
Read the initial vector of the point direction form r = r0 + s * u.
Implemented in zeus::TStraightLine2D.
|
pure virtual |
Get the slope (Steigung) of the line.
rfSlope | [OUT]: Slope. |
Implemented in zeus::TStraightLine2D.
|
pure virtual |
Get the y-intercept (a-Achsenabschnitt) of the line.
rfYIntercept | [OUT]: y-intercept. |
Implemented in zeus::TStraightLine2D.
|
pure virtual |
|
pure virtual |
Initialize as y-axis.
Implemented in zeus::TStraightLine2D.
|
pure virtual |
Is this straigth line the x-axis?
Implemented in zeus::TStraightLine2D.
|
pure virtual |
Is this straigth line the y-axis?
Implemented in zeus::TStraightLine2D.
|
pure virtual |
Comparisons.
Equality with another straight line?
rStraightLine | [IN]: The other straight line. |
Implemented in zeus::TStraightLine2D.
|
pure virtual |
Parallel to another straight line?
rStraightLine | [IN]: The other straight line. |
Implemented in zeus::TStraightLine2D.
|
pure virtual |
|
pure virtual |
Set the direction vector of the point direction form r = r0 + s * u.
rVecDirection | [IN]: Direction vector. |
Implemented in zeus::TStraightLine2D.
|
pure virtual |
Set the initial vector of the point direction form r = r0 + s * u.
rVecInitial | [IN]: Initial vector. |
Implemented in zeus::TStraightLine2D.