Skip to content

Commit

Permalink
Fixed a typo and tweaked documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
AngusJohnson committed Nov 26, 2023
1 parent ff85874 commit 0a6a3ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CPP/Clipper2Lib/include/clipper2/clipper.export.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*******************************************************************************
* Author : Angus Johnson *
* Date : 22 November 2023 *
* Date : 26 November 2023 *
* Website : http://www.angusj.com *
* Copyright : Angus Johnson 2010-2023 *
* Purpose : This module exports the Clipper2 Library (ie DLL/so) *
Expand All @@ -21,18 +21,18 @@ The path structures used extensively in other parts of this library are all
based on std::vector classes. Since C++ classes can't be accessed by other
languages, these paths must be converted into simple C data structures that
can be understood by just about any programming language. And these C style
path structures will be simple arrays of int94_t (CPath64) or double (CPathD).
path structures are simple arrays of int64_t (CPath64) and double (CPathD).
CPath64 and CPathD:
These are simple arrays of consecutive x and y path coordinates preceeded by
These are arrays of consecutive x and y path coordinates preceeded by
a pair of values containing the path's length (N) and a 0 value.
__________________________________
|counter|coord1|coord2|...|coordN|
|N, 0 |x1, y1|x2, y2|...|xN, yN|
__________________________________
CPaths64 and CPathsD:
These are also simple arrays containing any number of consecutive CPath64 or
These are also arrays containing any number of consecutive CPath64 or
CPathD structures. But preceeding these consecutive paths, there is pair of
values that contain the total length of the array (A) and the number of
contained paths (C).
Expand Down

0 comments on commit 0a6a3ab

Please sign in to comment.