VECTOR3D (STRUCT) ¶ TYPE VECTOR3D : STRUCT This structure defines a vector \(\vec{0P} = \vec{P}\) of the three dimensional space by specifying the floating-point values of the x-, y- and z-component of its target point \(P\) . InOut: Name Type Initial Comment dX LREAL 0 x-component of target point (floating point, initialized with 0) dY LREAL 0 y-component of target point (floating point, initialized with 0) dZ LREAL 0 z-component of target point (floating point, initialized with 0)
GetSupplierVersion (FUN) ¶ FUNCTION GetSupplierVersion : WORD This is a necessary module for each CAA library. InOut: Scope Name Type Comment Return GetSupplierVersion WORD Indicates the implementation version assigned by the manufacturer. The more significant byte contains the release version, the less significant byte the implementation version. Example: The return 522=16#020A indicates release version 2 and implementation version 10. Input xDummy BOOL For compatibility only
Library Information ¶ GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function)
GetLibVersion (FUN) ¶ FUNCTION GetLibVersion : VERSION This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersion VERSION
GetLibVersionNumber (FUN) ¶ FUNCTION GetLibVersionNumber : DWORD This function has been automatically generated from the project information. InOut: Scope Name Type Return GetLibVersionNumber DWORD
IsLibReleased (FUN) ¶ FUNCTION IsLibReleased : BOOL This function has been automatically generated from the project information. InOut: Scope Name Type Return IsLibReleased BOOL
VersionConstants (GVL) ¶ InOut: Scope Name Type Initial Constant gc_byVersion BYTE 1 gc_Version_1 BYTE 0
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 15.12.2017, 11:36:22 companyName string 3S-Smart Software Solutions GmbH libraryFile CAA_Mathematics.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP12 contentFile CAA_Mathematics.clean.json version version 2.0.0.0 ProjectInformation OnlineHelp bool True Released True LastModificationDateTime date 15.12.2017, 11:36:15 LibraryCategories library-category-list Intern|CAA|Utilities Author string 3S - Smart Software Solutions GmbH Company CAA Technical Workgroup DefaultNamespace MATH Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder CAA Mathematics Project CAA_Mathematics Title CAA Mathematics Version version 3.5.12.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces.
ProjectPointOnLine (FUN) ¶ FUNCTION ProjectPointOnLine : BOOL This function will project the point \(x \in \mathbb{R^{3}}\) onto a straight line: thereby, the direction vector of the straight line is taken as normal vector of a plane that is moved along the line as long as it touches the point \(x\) . The intersection point of the plane with the line corresponding to this location is the projected point. InOut: Scope Name Type Comment Return ProjectPointOnLine BOOL Input pline POINTER TO LINE_3D Pointer on straight line pvOrig POINTER TO Vector3D Pointer on point \(x\) to be projected pvProj POINTER TO Vector3D Pointer to projected result