Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/s2/s2polygon.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ class S2Loop;
class S2Polyline;
struct S2XYZFaceSiTi;

// An S2Polygon is an S2Region object that represents a polygon. A polygon is
// defined by zero or more loops; recall that the interior of a loop is
// defined to be its left-hand side (see S2Loop). There are two different
// conventions for creating an S2Polygon:
// Obsolete, see S2LaxPolygonShape. An S2Polygon is an S2Region object that
// represents a polygon. A polygon is defined by zero or more loops; recall
// that the interior of a loop is defined to be its left-hand side (see S2Loop).
// There are two different conventions for creating an S2Polygon:
//
// - InitNested() expects the input loops to be nested hierarchically. The
// polygon interior then consists of the set of points contained by an odd
Expand Down
7 changes: 4 additions & 3 deletions src/s2/s2polyline.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ class S2LatLng;
class S2PolylineCoder;
struct S2XYZFaceSiTi;

// An S2Polyline represents a sequence of zero or more vertices connected by
// straight edges (geodesics). Edges of length 0 and 180 degrees are not
// allowed, i.e. adjacent vertices should not be identical or antipodal.
// Obsolete, see S2LaxPolylineShape. An S2Polyline represents a sequence
// of zero or more vertices connected by straight edges (geodesics).
// Edges of length 0 and 180 degrees are not allowed, i.e. adjacent
// vertices should not be identical or antipodal.
class S2Polyline final : public S2Region {
public:
typedef s2coding::internal::S2LegacyHintCoder<S2Polyline> Coder;
Expand Down