// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: spatial.proto

// This CPP symbol can be defined to use imports that match up to the framework
// imports needed when using CocoaPods.
#if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
 #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
#endif

#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
 #import <Protobuf/GPBProtocolBuffers.h>
#else
 #import "GPBProtocolBuffers.h"
#endif

#if GOOGLE_PROTOBUF_OBJC_VERSION < 30004
#error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
#endif
#if 30004 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
#error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
#endif

// @@protoc_insertion_point(imports)

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"

CF_EXTERN_C_BEGIN

@class Elements;
@class Extrema;
@class GridControl;
@class MeshControl;
@class Record64;
@class Revision;
@class SparseMatrix;
@class TreeControl;

NS_ASSUME_NONNULL_BEGIN

#pragma mark - SpatialRoot

/**
 * Exposes the extension registry for this file.
 *
 * The base class provides:
 * @code
 *   + (GPBExtensionRegistry *)extensionRegistry;
 * @endcode
 * which is a @c GPBExtensionRegistry that includes all the extensions defined by
 * this file and all files that it depends on.
 **/
GPB_FINAL @interface SpatialRoot : GPBRootObject
@end

#pragma mark - Zone

typedef GPB_ENUM(Zone_FieldNumber) {
  Zone_FieldNumber_Name = 1,
  Zone_FieldNumber_Id_p = 2,
  Zone_FieldNumber_Dimensionality = 3,
  Zone_FieldNumber_Revision = 4,
  Zone_FieldNumber_ElementsArray = 5,
  Zone_FieldNumber_ElementCount = 6,
  Zone_FieldNumber_Comments = 7,
  Zone_FieldNumber_Info = 8,
  Zone_FieldNumber_ResourceName = 9,
  Zone_FieldNumber_Bounds = 10,
  Zone_FieldNumber_TerminalCoordArray = 11,
};

GPB_FINAL @interface Zone : GPBMessage

@property(nonatomic, readwrite, copy, null_resettable) NSString *name;

@property(nonatomic, readwrite) int32_t id_p;

/** 0:node-group, 1:edge-loop, 2:face-surface, 3:cell-volume */
@property(nonatomic, readwrite) uint32_t dimensionality;

@property(nonatomic, readwrite, strong, null_resettable) Revision *revision;
/** Test to see if @c revision has been set. */
@property(nonatomic, readwrite) BOOL hasRevision;

/** optional set of element indices (else, all by this id) */
@property(nonatomic, readwrite, strong, null_resettable) GPBUInt32Array *elementsArray;
/** The number of items in @c elementsArray without causing the array to be created. */
@property(nonatomic, readonly) NSUInteger elementsArray_Count;

@property(nonatomic, readwrite) uint32_t elementCount;

@property(nonatomic, readwrite, copy, null_resettable) NSString *comments;

@property(nonatomic, readwrite, copy, null_resettable) NSString *info;

@property(nonatomic, readwrite, copy, null_resettable) NSString *resourceName;

@property(nonatomic, readwrite, strong, null_resettable) Extrema *bounds;
/** Test to see if @c bounds has been set. */
@property(nonatomic, readwrite) BOOL hasBounds;

/** in symbol icon's coordinates [0,1] */
@property(nonatomic, readwrite, strong, null_resettable) GPBFloatArray *terminalCoordArray;
/** The number of items in @c terminalCoordArray without causing the array to be created. */
@property(nonatomic, readonly) NSUInteger terminalCoordArray_Count;

@end

#pragma mark - GridControl

typedef GPB_ENUM(GridControl_FieldNumber) {
  GridControl_FieldNumber_Basis = 1,
  GridControl_FieldNumber_SizeArray = 2,
  GridControl_FieldNumber_SpacingArray = 3,
  GridControl_FieldNumber_GradingArray = 4,
  GridControl_FieldNumber_LengthUnits = 8,
  GridControl_FieldNumber_TargetN = 9,
  GridControl_FieldNumber_Bounds = 10,
  GridControl_FieldNumber_SymmetriesArray = 11,
  GridControl_FieldNumber_Interior = 12,
  GridControl_FieldNumber_Exterior = 13,
  GridControl_FieldNumber_Shell = 14,
};

GPB_FINAL @interface GridControl : GPBMessage

@property(nonatomic, readwrite) uint32_t basis;

@property(nonatomic, readwrite, strong, null_resettable) GPBUInt32Array *sizeArray;
/** The number of items in @c sizeArray without causing the array to be created. */
@property(nonatomic, readonly) NSUInteger sizeArray_Count;

@property(nonatomic, readwrite, strong, null_resettable) GPBDoubleArray *spacingArray;
/** The number of items in @c spacingArray without causing the array to be created. */
@property(nonatomic, readonly) NSUInteger spacingArray_Count;

@property(nonatomic, readwrite, strong, null_resettable) GPBDoubleArray *gradingArray;
/** The number of items in @c gradingArray without causing the array to be created. */
@property(nonatomic, readonly) NSUInteger gradingArray_Count;

/** 0-7: mm, cm, m, km, in, ft, yd, mi (defined in common/space.h) */
@property(nonatomic, readwrite) uint32_t lengthUnits;

@property(nonatomic, readwrite) uint64_t targetN;

@property(nonatomic, readwrite, strong, null_resettable) Extrema *bounds;
/** Test to see if @c bounds has been set. */
@property(nonatomic, readwrite) BOOL hasBounds;

@property(nonatomic, readwrite, strong, null_resettable) GPBBoolArray *symmetriesArray;
/** The number of items in @c symmetriesArray without causing the array to be created. */
@property(nonatomic, readonly) NSUInteger symmetriesArray_Count;

@property(nonatomic, readwrite) BOOL interior;

@property(nonatomic, readwrite) BOOL exterior;

@property(nonatomic, readwrite) BOOL shell;

@end

#pragma mark - MeshControl

typedef GPB_ENUM(MeshControl_FieldNumber) {
  MeshControl_FieldNumber_TargetN = 1,
  MeshControl_FieldNumber_MaxIterations = 2,
  MeshControl_FieldNumber_SizeRatio = 3,
  MeshControl_FieldNumber_SizeDecay = 4,
  MeshControl_FieldNumber_SizeExponent = 5,
  MeshControl_FieldNumber_CurvRatio = 6,
  MeshControl_FieldNumber_CurvDecay = 7,
  MeshControl_FieldNumber_CurvExponent = 8,
  MeshControl_FieldNumber_NodeRadius = 9,
  MeshControl_FieldNumber_Bounds = 10,
  MeshControl_FieldNumber_LengthUnits = 11,
  MeshControl_FieldNumber_Interior = 12,
  MeshControl_FieldNumber_Exterior = 13,
  MeshControl_FieldNumber_Shell = 14,
  MeshControl_FieldNumber_Equalize = 15,
  MeshControl_FieldNumber_Smooth = 16,
  MeshControl_FieldNumber_IncludeBackground = 18,
  MeshControl_FieldNumber_KeepExistingPoints = 19,
  MeshControl_FieldNumber_AutoFitDomain = 20,
  MeshControl_FieldNumber_BoundaryLayerThickness = 23,
  MeshControl_FieldNumber_SymmetriesArray = 24,
  MeshControl_FieldNumber_BackgroundN = 30,
};

GPB_FINAL @interface MeshControl : GPBMessage

@property(nonatomic, readwrite) uint64_t targetN;

@property(nonatomic, readwrite) uint32_t maxIterations;

@property(nonatomic, readwrite) double sizeRatio;

@property(nonatomic, readwrite) double sizeDecay;

@property(nonatomic, readwrite) double sizeExponent;

@property(nonatomic, readwrite) double curvRatio;

@property(nonatomic, readwrite) double curvDecay;

@property(nonatomic, readwrite) double curvExponent;

@property(nonatomic, readwrite) double nodeRadius;

@property(nonatomic, readwrite, strong, null_resettable) Extrema *bounds;
/** Test to see if @c bounds has been set. */
@property(nonatomic, readwrite) BOOL hasBounds;

/** 0-7: mm, cm, m, km, in, ft, yd, mi (defined in common/space.h) */
@property(nonatomic, readwrite) uint32_t lengthUnits;

@property(nonatomic, readwrite) BOOL interior;

@property(nonatomic, readwrite) BOOL exterior;

@property(nonatomic, readwrite) BOOL shell;

@property(nonatomic, readwrite) BOOL equalize;

@property(nonatomic, readwrite) BOOL smooth;

/** reserved */
@property(nonatomic, readwrite) BOOL includeBackground;

@property(nonatomic, readwrite) BOOL keepExistingPoints;

@property(nonatomic, readwrite) BOOL autoFitDomain;

/** reserved */
@property(nonatomic, readwrite) double boundaryLayerThickness;

@property(nonatomic, readwrite, strong, null_resettable) GPBBoolArray *symmetriesArray;
/** The number of items in @c symmetriesArray without causing the array to be created. */
@property(nonatomic, readonly) NSUInteger symmetriesArray_Count;

/** reserved */
@property(nonatomic, readwrite) uint64_t backgroundN;

@end

#pragma mark - TreeControl

typedef GPB_ENUM(TreeControl_FieldNumber) {
  TreeControl_FieldNumber_MinDepth = 1,
  TreeControl_FieldNumber_MaxDepth = 2,
  TreeControl_FieldNumber_MaxSize = 3,
  TreeControl_FieldNumber_RefDimensionality = 7,
  TreeControl_FieldNumber_LengthUnits = 8,
  TreeControl_FieldNumber_Bounds = 10,
};

GPB_FINAL @interface TreeControl : GPBMessage

@property(nonatomic, readwrite) uint32_t minDepth;

@property(nonatomic, readwrite) uint32_t maxDepth;

@property(nonatomic, readwrite) uint64_t maxSize;

/** reserved */
@property(nonatomic, readwrite) uint32_t refDimensionality;

/** 0-7: mm, cm, m, km, in, ft, yd, mi (defined in common/space.h) */
@property(nonatomic, readwrite) uint32_t lengthUnits;

/** reserved */
@property(nonatomic, readwrite, strong, null_resettable) Extrema *bounds;
/** Test to see if @c bounds has been set. */
@property(nonatomic, readwrite) BOOL hasBounds;

@end

#pragma mark - Topology

typedef GPB_ENUM(Topology_FieldNumber) {
  Topology_FieldNumber_Name = 1,
  Topology_FieldNumber_Type = 2,
  Topology_FieldNumber_Ndim = 3,
  Topology_FieldNumber_Basis = 4,
  Topology_FieldNumber_Filename = 5,
  Topology_FieldNumber_Revision = 6,
  Topology_FieldNumber_Info = 7,
  Topology_FieldNumber_Nodes = 10,
  Topology_FieldNumber_Edges = 11,
  Topology_FieldNumber_Faces = 12,
  Topology_FieldNumber_Cells = 13,
  Topology_FieldNumber_Data_p = 15,
  Topology_FieldNumber_SparseDataArray = 16,
  Topology_FieldNumber_GridControl = 20,
  Topology_FieldNumber_MeshControl = 21,
  Topology_FieldNumber_TreeControl = 22,
};

/**
 * Note:  message 'Elements' is defined in vector.proto to utilize arena/packed allocation
 **/
GPB_FINAL @interface Topology : GPBMessage

@property(nonatomic, readwrite, copy, null_resettable) NSString *name;

@property(nonatomic, readwrite) uint32_t type;

@property(nonatomic, readwrite) uint32_t ndim;

@property(nonatomic, readwrite) uint32_t basis;

@property(nonatomic, readwrite, copy, null_resettable) NSString *filename;

@property(nonatomic, readwrite, strong, null_resettable) Revision *revision;
/** Test to see if @c revision has been set. */
@property(nonatomic, readwrite) BOOL hasRevision;

/** as defined in common/space.hpp: mm=0, cm=1, m=2, km=3, in=4, ft=5, yd=6, mi=7 */
@property(nonatomic, readwrite, copy, null_resettable) NSString *info;

/** reserved */
@property(nonatomic, readwrite, strong, null_resettable) Elements *nodes;
/** Test to see if @c nodes has been set. */
@property(nonatomic, readwrite) BOOL hasNodes;

@property(nonatomic, readwrite, strong, null_resettable) Elements *edges;
/** Test to see if @c edges has been set. */
@property(nonatomic, readwrite) BOOL hasEdges;

@property(nonatomic, readwrite, strong, null_resettable) Elements *faces;
/** Test to see if @c faces has been set. */
@property(nonatomic, readwrite) BOOL hasFaces;

@property(nonatomic, readwrite, strong, null_resettable) Elements *cells;
/** Test to see if @c cells has been set. */
@property(nonatomic, readwrite) BOOL hasCells;

@property(nonatomic, readwrite, strong, null_resettable) Record64 *data_p;
/** Test to see if @c data_p has been set. */
@property(nonatomic, readwrite) BOOL hasData_p;

@property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<SparseMatrix*> *sparseDataArray;
/** The number of items in @c sparseDataArray without causing the array to be created. */
@property(nonatomic, readonly) NSUInteger sparseDataArray_Count;

/** reserved */
@property(nonatomic, readwrite, strong, null_resettable) GridControl *gridControl;
/** Test to see if @c gridControl has been set. */
@property(nonatomic, readwrite) BOOL hasGridControl;

@property(nonatomic, readwrite, strong, null_resettable) MeshControl *meshControl;
/** Test to see if @c meshControl has been set. */
@property(nonatomic, readwrite) BOOL hasMeshControl;

@property(nonatomic, readwrite, strong, null_resettable) TreeControl *treeControl;
/** Test to see if @c treeControl has been set. */
@property(nonatomic, readwrite) BOOL hasTreeControl;

@end

NS_ASSUME_NONNULL_END

CF_EXTERN_C_END

#pragma clang diagnostic pop

// @@protoc_insertion_point(global_scope)
