MKI_3D_EDGE (Basic Classes) New in Version 2026.1

www.CAD6.com

This class contains the description of a 3D edge (directed line).

 

C++ Syntax

class MKI_3D_EDGE

{

  public:

 

  MKI_3D_POINT  m_cPoint;

  MKI_3D_VECTOR m_cVector;

 

  MKI_3D_EDGE( void );

 

  MKI_3D_EDGE(

 MKI_3D_EDGE* f_pThis );

 

  void

  SetZero( void );

 

  void

  Set(

 const MKI_3D_POINT& f_rPoint,

 const MKI_3D_VECTOR& f_rVector );

 

  void

  Set(

 const MKI_3D_POINT& f_rPoint1,

 const MKI_3D_POINT& f_rPoint2 );

 

  void

  Set(

 MKI_CONST_POINT_REF f_rPoint1,

 MKI_CONST_POINT_REF f_rPoint2 );

 

  bool

  Intersect(

 const MKI_3D_EDGE& f_rEdge,

 MKI_3D_POINT& f_rResult ) const;

};

 

Element Description

m_cPoint

[MKI_3D_POINT] X-, Y- and Z-coordinates of the start point of the edge. The coordinates are in [mm] relative to the page center.

m_cVector

[MKI_3D_VECTOR] X-, Y- and Z-components of the edge's vector. The components are in [mm].

 

MKD Syntax

Unused.

 

CAD6interface 2026.1 - Copyright 2026 Malz++Kassner® GmbH