<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>IoP conference series: Journal of Physics: Conf. Series 1901 (2021)</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.26583/sv.10.1.04</article-id>
      <title-group>
        <article-title>Modeling of Geometric Objects in Point Calculus</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Evgeniy Konopatskiy</string-name>
          <email>e.v.konopatskiy@mail.ru</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andrey Bezditnyi</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Donbas National Academy of Civil Engineering and Architecture</institution>
          ,
          <addr-line>Derzhavina Street, 2, Makeevka, 286123</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Sevastopol branch of «Plekhanov Russian University of Economics»</institution>
          ,
          <addr-line>Vakulenchuk Street, 29, Sevastopol</addr-line>
        </aff>
      </contrib-group>
      <pub-date>
        <year>1901</year>
      </pub-date>
      <volume>4</volume>
      <issue>2</issue>
      <fpage>19</fpage>
      <lpage>28</lpage>
      <abstract>
        <p>The paper describes an approach to solid modeling of geometric objects in the form of an organized three-parameter set of points in three-dimensional space. The relevance of the research topic is due to the widespread use of solid-state models in various branches of science and technology, mechanical engineering, construction and medicine. Solid-state computer models are currently one of the basic computer graphics tools and an integral part of computeraided design and calculation systems. It is widely used as one of the control elements of CNC machines and 3D printing, the development of information systems in the design and construction of buildings and structures, finite element calculations of deformed states in aircraft and mechanical engineering, their manufacture in medicine, etc. The choice of point calculus as a mathematical apparatus for the analytical description of solid models of geometric objects is substantiated. Examples of modeling sets of elliptical bodies and toroidal bodies in a simplex of three-dimensional space are given. Solid modeling, point calculus, geometric modeling, geometric scheme, elliptical body,</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Solid-state computer models are currently an integral part of computer-aided design and calculation
systems. In addition, solid models are one of the basic tools for computer graphics and virtual reality.
They have found wide application as one of the control elements of clock-controlled machine tools and
printing on 3D printers, the development of information systems in construction and the calculation of
the stress-strain state of building structures, the calculation of parts and assemblies for strength and
stability in mechanical engineering, etc. These software products include a number of foreign
(AutoCAD, Mechanical Desktop, Inventor, SolidWorks, Solid Edge, 3DS Max и др.), and a number of
domestic (Compass-3D, nanoCAD, etc.) developments. You can also distinguish a number of programs
that have grown from computer graphics to information modeling, while retaining the functionality of
geometric modeling and shaping of geometric bodies and surfaces (Revit, Archicad, etc.). And in
mathematical programs and computer algebra systems (Maple, MathCAD, Mathlab, etc.), the
possibility of building and graphical visualization of solid models is not provided at all. Even if the
mathematical apparatus itself allows you to implement a solid model, the interpreter simply lacks a set
of necessary commands for displaying it and then exporting it to computer-aided design systems. In
addition, the overwhelming</p>
      <p>majority of these software products are paid, and therefore the
computational algorithms and mathematical apparatus embedded in them are a trade secret, which the
developers carefully guard from competitors. This significantly complicates the assessment of the
effectiveness of the mathematical component embedded in them. There are a number of works on solid
modeling and computer graphics containing algorithms and mathematical apparatus of computational</p>
      <p>2021 Copyright for this paper by its authors.
and computer geometry [1-4]. However, it is difficult to establish a specific relationship between these
works and the mathematical apparatus embedded in specific commercial software products.</p>
      <p>The disadvantages of existing solid-state modeling systems include the fact that at the stage of model
development, all systems use only one of the cores of a multicore processor. For example, the official
website Autodesk has the following information: “AutoCAD and AutoCAD for Mac products support
multi-core technology only in certain applications (2D regeneration). To take full advantage of
multicore processors, you need to use multi-threaded software. AutoCAD is a single threaded application".
At the stage of calculation, for example, using the finite element method, the multicore capabilities of
modern processors are already being used. But it is at the stage of development of the model of using
just one core may not be enough. And when the model turns out to be large enough, as a result of the
implementation of a large project with a large number of elements, it is extremely difficult to work with
it even with a powerful modern computer. Now this problem is being solved through the use of
additional software, which assembles one large project from different models using a limited display of
models. For example, in Autodesk Revit, several models with calculations are developed, which are
then assembled together using the Navisworks software package. However, this disadvantage can be
avoided by using the mathematical apparatus of parallel computations embedded in computational
algorithms for solid modeling.</p>
      <p>Another drawback of the existing solid modeling systems is the scarce tooling of shape-generating
elements and geometric primitives. For example, even such simple shape-generating elements as curves
of the 2nd order, which have already been studied quite deeply, both analytically and geometrically
[510], are not fully implemented in any of the above systems of solid modeling. In the best case, it is
possible to construct an ellipse in various parameterizations. The parabola is more complicated. And
the construction of an arc of a hyperbola is possible exclusively using approximation (for example, by
splines). Accordingly, more complex shaping elements are implemented in a similar way, and some of
them, for example, a body with a generator in the form of a cycloid, does not have the ability to be
realized at all. After all, this curve has unique properties, thanks to which it can be used both as a
tautochrone and as a brachistochrone. And if we approximate the cycloid line with other lines, then, of
course, it will look the same, but it will lose its unique properties. In [11] another example is given,
which describes that in order to build a simple and familiar onion dome that adorns St. Basil's Cathedral
with curves of the required curvature, it was necessary to develop a whole language of geometric
constructions for the computer implementation of geometric models. But then another problem arises.
Even if we use additional program code written, for example, in VBA or AutoLISP for AutoCAD, we
will certainly face the problem of graphical output of the results, which will again be reduced to
approximation, because visualization of other geometric primitives is simply not provided for the
functionality of software products. If we consider the problem from the point of view of further use of
the finite element method for calculating solid models, then this approach is quite justified and, in some
cases, even more convenient. On the other hand, it is completely inapplicable if it is necessary to use
the geometric properties of the model. And here it is appropriate to remember that the simplest of the
geometric primitives is the point. The point itself does not even have a size. This is a geometric analogue
of an infinitesimal value. However, using many points, you can get geometric objects of any
complexity. As our organism consists of atoms, so any geometric object, any space, can be described
by an organized set of points.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Justification of the choice of point calculus for the analytical description of solid geometric models</title>
      <p>The mathematical apparatus "Point calculus" (other names are BN-calculus, Balyuba-Naydysh's
point calculus) was developed by a team of scientists from the Melitopol School of Applied Geometry
under the leadership of Academician V.M. Naidysh [12-13]. At its core, it can be attributed to
computational geometry, since for any graphical operation of constructing a geometric object, the point
calculus associates an analytical operation, which makes it possible to represent the entire cycle of
geometric constructions in the form of point equations and computational algorithms based on them. In
other words, point calculus allows you to translate geometric algorithms for modeling lines, surfaces
and bodies into a digital language understandable for a computer, while maintaining the geometric
meaning of all graphic constructions through a number of parameters that make up point equations. It
should also be taken into account that in many cases geometric algorithms can provide a simpler
solution, and tools for geometric solution of various problems have accumulated and improved over
many centuries.</p>
      <p>In point calculus, any geometric object is represented by an organized set of points. A similar
approach to the definition of geometric objects uses the Wurf calculus proposed by H. Staudt. In total,
the point calculus in an affine space is a special case of the Wurf calculus in a projective space.</p>
      <p>Traditionally, to determine the relative position of geometric bodies, it is necessary to coordinate
each body separately, and then recalculate one coordinate system into another using the rotation and
translation matrices. Point calculus uses a different approach based on the definition of geometric
objects in a simplex, where a simplex is understood as an n-dimensional generalization of a tetrahedron.
In a particular case, a simplex can be represented as a Cartesian coordinate system. The advantage of
this approach is that all geometric objects are defined in a local simplex, and the result of their joint
interaction in the form of a final solid geometric model is defined in a global coordinate system.
Moreover, the transition from local simplices to the global one is carried out automatically, which is a
consequence of the special invariant properties used in the point calculus. This feature of the point
calculus makes it possible to develop computational algorithms for solid-state modeling using parallel
computations on a computer with a modern multi-core processor.</p>
      <p>Point calculus is based on invariants of affine geometry. On the one hand, this puts forward
additional requirements for the choice of parameters of point equations, and on the other hand, it
provides their coordinate-wise calculation. Based on this, the parameters of the point calculus can be
invariants of parallel projection, presented in an explicit or implicit form. In addition, all geometric
operations on geometric objects, taking into account their mutual position, also use the invariant
properties of affine geometry. These include a simple ratio of three points of a straight line, parallelism
of straight lines, intersection of straight lines, construction of a tangent, etc. All these geometric
operations have their computational analogs in the point calculus and therefore can serve as an effective
tool for computer modeling of complex geometric bodies consisting of several simpler bodies.</p>
      <p>Parameters in point calculus are of two types: fixed and movable (current). A fixed parameter defines
a point in space that has specific constant coordinates. The current point calculation parameter defines
the moving points, which are called the current points. Such points move in space due to a change in
the current parameter and fill the space with their movement. Thus, any continuous geometric objects
are represented as a set of points. To organize this set-in point calculus, a special method of a moving
simplex has been developed [14, 15], which is a generalization of the kinematic method for modeling
geometric objects to a multidimensional space in point calculus. Then the problem of solid modeling is
reduced to determining such a current point, which would completely fill the space bounded by some
planes and surfaces in 3-dimensional space with its motion.</p>
      <p>The work [16] outlined the principles of solid modeling in point calculus and the general concept,
which consists in defining a geometric body as a geometric set of points, in which the number of current
parameters defining it is equal to the dimension of space. This concept is a consequence of the further
development of the geometric theory of multidimensional interpolation [17-20]. Based on the proposed
concept in [16], examples were given of modeling simple geometric bodies in point calculus, which
include a variety of pyramids, prisms, cones and cylinders. In continuation of this work, we will
consider other examples of building solid models in point calculus.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Geometric modeling of elliptical bodies in point calculus</title>
      <p>By an elliptical body we mean a geometric object filled with points with an elliptical generatrix. In
the general case, this is the body of a triaxial ellipsoid, with the help of which, for example, a geoid is
described [21]. One of the special cases of such a body will be a sphere. In accordance with the general
approach to modeling geometric objects in point calculus, it is necessary to first develop a geometric
scheme, which is a graphical algorithm for constructing a geometric object (in our case, an elliptical
body).</p>
      <p>In the simplex of 3-dimensional space ABCD (fig. 1) we define 3 semiaxes: DA , DB and DC ,
specifying the coordinates of the points of the simplex. The axes can be positioned in 3-dimensional
space arbitrarily, in a particular case, you can use a rectangular Cartesian simplex with right angles at
the vertex D . Note that when DA  DB  DC we get the surface of a sphere centered at a point D,
when DA  DB  DC
(or</p>
      <p>DA  DB  DC , or</p>
      <p>DC  DA  DB ) we get an ellipsoid of
revolution, and when DA  DB  DC</p>
      <p>we get a triaxial ellipsoid.</p>
      <p>Let us define a guiding elliptical line AQB by the following point equation [13]:</p>
      <p>Q   A  D cos   B  Dsin  D,
where  is the current angular parameter of the point equation, which ranges from 0 to 2 .</p>
      <p>The generating line of the ellipsoid surface QNC is defined by a similar point equation with the
current parameter  :</p>
      <p>N  Q  D cos  C  Dsin  D 
  A  D cos cos   B  Dsin cos  C  Dsin  D,


.
where  is the current angular parameter, which varies from 
to
2 2</p>
      <p>With the stated limits of change of the current parameters  and  the entire surface of the ellipsoid
will be built. If necessary, changing the intervals of the current parameters, you can build the desired
surface fragment.</p>
      <p>Fill the internal space of the elliptical body with points by rotating the segment DN around the
point D , where N is the current point of the ellipsoid surface:</p>
      <p>M  Du  Nu   A  Du cos cos   B  Du sin cos  C  Du sin  D, (1)
where u is the current linear parameter, which ranges from 0 to 1;
u  1  u is the complement of the current parameter u to 1.</p>
      <p>Note that the point equation (1) defines the entire variety of elliptic bodies, which are determined
exclusively by the points of the simplex. In this case, the coordinates of the points of the simplex
immediately determine the position of the elliptical body in space, its size and variety (ball, body of an
ellipsoid of revolution, body of a triaxial ellipsoid).</p>
      <p>After performing the coordinate-wise calculation, we obtain a system of parametric equations for
the set of elliptic bodies in general form:
x   xA  xD u cos cos   xB  xD u sin cos   xC  xD u sin  xD
 y   yA  yD u cos cos   yB  yD u sin cos   yC  yD u sin  yD .

z   zA  zD u cos cos   zB  zD u sin cos   zC  zD u sin  zD</p>
    </sec>
    <sec id="sec-4">
      <title>4. Geometric modeling of toroidal bodies in point calculus</title>
      <p>Let's consider another example of modeling bodies of revolution, which also includes a toroidal
body. By a toroidal body we mean a geometric object, by analogy with an elliptical body, filled with
points and formed by the rotation of an elliptical line along an elliptical trajectory (one might say, an
orbit). Then a special case of a toroidal body will be a toroid (a circle rotating around a circle).</p>
      <p>Let us consider in more detail a graphical algorithm for constructing a toroidal body in the general
case (Fig. 2). In a simplex ABCD an elliptical guide line is given by the current point and is determined
by two semiaxes DA and DB . The generating elliptical line is given by the current point N and is
determined by two semiaxes PQ and PR , which form a movable simplex of the plane PQR . In this
case, the length of one semiaxis of the generating line PR  CD and is determined by the coordinates
of the corresponding points of the simplex, and the length of the second semiaxis is given by a separate
value PQ  a . Fill the inner part of the elliptical torus due to the movement of the current point M,
which defines a segment NP that rotates around the point P due to the movement of the point N along
an elliptical trajectory. Thus, for an unambiguous definition of an elliptical body in accordance with the
geometric scheme of its graphic construction (Fig. 2), it is necessary to know the coordinates of the
points of the simplex ABCD and the length of the horizontal semiaxis of the generating elliptical line
a .
where  is the current angular parameter, which varies from 0 to 2 .</p>
      <p>PD</p>
      <p>a
</p>
      <p> Q   P  D</p>
      <p>The current point R is determined using the length of the horizontal semiaxis of the generating
elliptical line a :</p>
      <p>QP a a
a
 P   A  D1  aa  cos   B  D1  aa sin  D,</p>
      <p> 
where is a  AD   xA  xD 2   yA  yD 2   zA  zD 2 .</p>
      <p>The current point R of the moving simplex PQR is determined using the pointwise parallel transfer
formula [7]:</p>
      <p>R  P  C  D   A  D cos   B  Dsin  C.</p>
      <p>The forming line of the surface of the elliptic torus is determined using a parameter  that varies
from 0 to 2 :</p>
      <p>N  Q  P cos   R  Psin  P 

  A  D cos 1 

a
a</p>
      <p> 
cos    B  Dsin 1 
 
a
a</p>
      <p>
cos   C  Dsin  D.</p>
      <p></p>
      <p>The following figure shows visualizations of geometric models of elliptical toroidal surfaces: Fig.
3a is the toroidal surface with elliptical guide and generatrix, Fig. 3b is the toroidal surface with a
circular guide and generatrix (toroid).</p>
      <p>Fill the inner part of the toroidal body with the set of the current point M , which is determined by
the parameter u :</p>
    </sec>
    <sec id="sec-5">
      <title>5. Conclusion</title>
    </sec>
    <sec id="sec-6">
      <title>6. References</title>
      <p>The prospect for further research is the development of the mathematical apparatus of solid modeling
of geometric objects in point calculus, the development of mathematical foundations of geometric
operations of solid modeling in point calculus (such as: extrusion, rotation, kinematic operation, section
operation, etc.) or their analogs, development computational algorithms for modeling simple and
complex bodies in the form of a sequence of point equations, development of computational algorithms
for Boolean operations on bodies in point calculus (such as: union, intersection and subtraction of
bodies).
[1] M. De Berg, O. Cheong, M. Van Kreveld, M. Overmars, Computational Geometry: Algorithms
and Applications, Springer-Verlag Berlin Heidelberg, 2008. doi: 10.1007/978-3-540-77974-2.
[2] S.L. Devadoss, J. O’Rourke, Discrete and Computational Geometry, Princeton University Press,
2011.
[3] D. Um, Solid Modeling and Application: Rapid Prototyping, CAD and CAE Theory, Springer</p>
      <p>Cham Heidelberg New York Dordrecht London, 2016. doi: 10.1007/978-3-319-21822-9.
[4] N.N. Golovanov, Geometric modeling, INFRA-M, Moscow, 2019.
[5] N.D. Vertinskaya, On some features of the behavior of second-order curves on the projective plane,</p>
      <p>Modern science-intensive technologies, No. 10, 2014, pp. 124-127.</p>
    </sec>
  </body>
  <back>
    <ref-list />
  </back>
</article>