|
enum | active_space : unsigned char {
no_space = 0,
model_space = 1,
page_space = 2,
uveditor_space = 3,
blockeditor_space = 4
} |
| Defines the current working space. More...
|
|
enum | AngleUnitSystem : unsigned char {
AngleUnitSystem::None = 0,
AngleUnitSystem::Turns = 1,
AngleUnitSystem::Radians = 2,
AngleUnitSystem::Degrees = 3,
AngleUnitSystem::Minutes = 4,
AngleUnitSystem::Seconds = 5,
AngleUnitSystem::Gradians = 6,
AngleUnitSystem::Unset = 255
} |
| ON::AngleUnitSystem identifies an angle unit system More...
|
|
enum | AnnotationType : unsigned char {
AnnotationType::Unset = 0,
AnnotationType::Aligned = 1,
AnnotationType::Angular = 2,
AnnotationType::Diameter = 3,
AnnotationType::Radius = 4,
AnnotationType::Rotated = 5,
AnnotationType::Ordinate = 6,
AnnotationType::ArcLen = 7,
AnnotationType::CenterMark = 8,
AnnotationType::Text = 9,
AnnotationType::Leader = 10,
AnnotationType::Angular3pt = 11
} |
| ON::AnnotationType identifies the type of an annotation object derived from ON_Annotation. More...
|
|
enum | archive_mode : unsigned int {
archive_mode::unset_archive_mode = 0,
archive_mode::read = 1,
archive_mode::write = 2,
archive_mode::readwrite = 3,
archive_mode::read3dm = 5,
archive_mode::write3dm = 6
} |
|
enum | bitmap_type { unknown_bitmap_type = 0,
windows_bitmap = 1,
opengl_bitmap = 2,
png_bitmap = 3
} |
|
enum | ComponentNameConflictResolution : unsigned char {
ComponentNameConflictResolution::Unset = 0,
ComponentNameConflictResolution::QueryMethod = 1,
ComponentNameConflictResolution::UseExistingComponent = 2,
ComponentNameConflictResolution::ReplaceExistingComponent = 3,
ComponentNameConflictResolution::KeepBothComponentsAutomaticRename = 4,
ComponentNameConflictResolution::KeepBothComponentsQueryRename = 5,
ComponentNameConflictResolution::NoConflict = 0xFF
} |
| ON::ComponentNameConflictResolution identifies a method to use when components are being added to model, the component name must be unique, and the name of the new is already in use in the context. The function ON_ModelComponent::UniqueNameRequired(ON_ModelComponent::Type) can be used to determine if a component requires a unique name. More...
|
|
enum | continuity : unsigned int {
continuity::unknown_continuity = 0,
continuity::C0_continuous = 1,
continuity::C1_continuous = 2,
continuity::C2_continuous = 3,
continuity::G1_continuous = 4,
continuity::G2_continuous = 5,
continuity::C0_locus_continuous = 6,
continuity::C1_locus_continuous = 7,
continuity::C2_locus_continuous = 8,
continuity::G1_locus_continuous = 9,
continuity::G2_locus_continuous = 10,
continuity::Cinfinity_continuous = 11,
continuity::Gsmooth_continuous = 12
} |
|
enum | coordinate_system { world_cs = 0,
camera_cs = 1,
clip_cs = 2,
screen_cs = 3
} |
|
enum | cubic_loft_end_condition {
cubic_loft_ec_quadratic = 0,
cubic_loft_ec_linear = 1,
cubic_loft_ec_cubic = 2,
cubic_loft_ec_natural = 3,
cubic_loft_ec_unit_tangent = 4,
cubic_loft_ec_1st_derivative = 5,
cubic_loft_ec_2nd_derivative = 6,
cubic_loft_ec_free_cv = 7
} |
|
enum | curvature_style {
unknown_curvature_style = 0,
gaussian_curvature = 1,
mean_curvature = 2,
min_curvature = 3,
max_curvature = 4,
curvature_style_count = 5
} |
|
enum | curve_style {
unknown_curve_style = 0,
line = 1,
circle = 2,
ellipse = 3,
parabola = 4,
hyperbola = 5,
planar_polyline = 6,
polyline = 7,
planar_freeform_curve = 8,
freeform_curve = 9,
curve_style_count = 10
} |
|
enum | EarthCoordinateSystem : unsigned char {
EarthCoordinateSystem::Unset = 0,
EarthCoordinateSystem::GroundLevel = 1,
EarthCoordinateSystem::MeanSeaLevel = 2,
EarthCoordinateSystem::CenterOfEarth = 3,
EarthCoordinateSystem::WGS1984 = 5,
EarthCoordinateSystem::EGM2008 = 6
} |
| ON::EarthCoordinateSystem identifies the standard used to define Earth latitude, longitude, and elevation coordinates. More...
|
|
enum | eCurveType {
ctCurve,
ctArc,
ctCircle,
ctLine,
ctNurbs,
ctOnsurface,
ctProxy,
ctPolycurve,
ctPolyline
} |
|
enum | endian : unsigned int { endian::little_endian = 0,
endian::big_endian = 1
} |
|
enum | exception_type {
unknown_exception = 0,
out_of_memory,
corrupt_object,
unable_to_write_archive,
unable_to_read_archive,
unable_to_seek_archive,
unexpected_end_of_archive,
unexpected_value_in_archive
} |
|
enum | knot_style {
unknown_knot_style = 0,
uniform_knots = 1,
quasi_uniform_knots = 2,
piecewise_bezier_knots = 3,
clamped_end_knots = 4,
non_uniform_knots = 5,
knot_style_count = 6
} |
| < if a knot vector meets the conditions of two styles, More...
|
|
enum | layer_mode { normal_layer = 0,
hidden_layer = 1,
locked_layer = 2,
layer_mode_count = 3
} |
|
enum | LengthUnitSystem : unsigned char {
LengthUnitSystem::None = 0,
LengthUnitSystem::Angstroms = 12,
LengthUnitSystem::Nanometers = 13,
LengthUnitSystem::Microns = 1,
LengthUnitSystem::Millimeters = 2,
LengthUnitSystem::Centimeters = 3,
LengthUnitSystem::Decimeters = 14,
LengthUnitSystem::Meters = 4,
LengthUnitSystem::Dekameters = 15,
LengthUnitSystem::Hectometers = 16,
LengthUnitSystem::Kilometers = 5,
LengthUnitSystem::Megameters = 17,
LengthUnitSystem::Gigameters = 18,
LengthUnitSystem::Microinches = 6,
LengthUnitSystem::Mils = 7,
LengthUnitSystem::Inches = 8,
LengthUnitSystem::Feet = 9,
LengthUnitSystem::Yards = 19,
LengthUnitSystem::Miles = 10,
LengthUnitSystem::PrinterPoints = 20,
LengthUnitSystem::PrinterPicas = 21,
LengthUnitSystem::NauticalMiles = 22,
LengthUnitSystem::AstronomicalUnits = 23,
LengthUnitSystem::LightYears = 24,
LengthUnitSystem::Parsecs = 25,
LengthUnitSystem::CustomUnits = 11,
LengthUnitSystem::Unset = 255
} |
| ON::LengthUnitSystem identifies a length unit system United States customary length units references: http://www.nist.gov/pml/wmd/metric/upload/frn-59-5442-1959.pdf http://en.wikipedia.org/wiki/United_States_customary_units http://en.wikipedia.org/wiki/International_yard_and_pound More...
|
|
enum | light_style {
unknown_light_style = 0,
camera_directional_light = 4,
camera_point_light = 5,
camera_spot_light = 6,
world_directional_light = 7,
world_point_light = 8,
world_spot_light = 9,
ambient_light = 10,
world_linear_light = 11,
world_rectangular_light = 12,
light_style_count = 13
} |
|
enum | LineCapStyle : unsigned char { LineCapStyle::Round = 0,
LineCapStyle::Flat = 1,
LineCapStyle::Square = 2
} |
| Shape to be used at the ends of open curves More...
|
|
enum | LineJoinStyle : unsigned char { LineJoinStyle::Round = 0,
LineJoinStyle::Miter = 1,
LineJoinStyle::Bevel = 2
} |
| Shape to be used at the corners of curves More...
|
|
enum | mesh_type {
default_mesh = 0,
render_mesh = 1,
analysis_mesh = 2,
preview_mesh = 3,
any_mesh = 4
} |
|
enum | object_color_source { color_from_layer = 0,
color_from_object = 1,
color_from_material = 2,
color_from_parent = 3
} |
|
enum | object_decoration { no_object_decoration = 0,
start_arrowhead = 0x08,
end_arrowhead = 0x10,
both_arrowhead = 0x18
} |
|
enum | object_linetype_source { linetype_from_layer = 0,
linetype_from_object = 1,
linetype_from_parent = 3
} |
|
enum | object_material_source { material_from_layer = 0,
material_from_object = 1,
material_from_parent = 3
} |
|
enum | object_mode {
normal_object = 0,
hidden_object = 1,
locked_object = 2,
idef_object = 3,
object_mode_count = 4
} |
|
enum | object_type {
unknown_object_type = 0,
point_object = 1,
pointset_object = 2,
curve_object = 4,
surface_object = 8,
brep_object = 0x10,
mesh_object = 0x20,
layer_object = 0x40,
material_object = 0x80,
light_object = 0x100,
annotation_object = 0x200,
userdata_object = 0x400,
instance_definition = 0x800,
instance_reference = 0x1000,
text_dot = 0x2000,
grip_object = 0x4000,
detail_object = 0x8000,
hatch_object = 0x10000,
morph_control_object = 0x20000,
subd_object = 0x40000,
loop_object = 0x80000,
brepvertex_filter = 0x100000,
polysrf_filter = 0x200000,
edge_filter = 0x400000,
polyedge_filter = 0x800000,
meshvertex_filter = 0x01000000,
meshedge_filter = 0x02000000,
meshface_filter = 0x04000000,
meshcomponent_reference = 0x07000000,
cage_object = 0x08000000,
phantom_object = 0x10000000,
clipplane_object = 0x20000000,
extrusion_object = 0x40000000,
any_object = 0xFFFFFFFF
} |
|
enum | OBSOLETE_DistanceDisplayMode : unsigned char { OBSOLETE_DistanceDisplayMode::Decimal = 0,
OBSOLETE_DistanceDisplayMode::Fractional = 1,
OBSOLETE_DistanceDisplayMode::FeetInches = 2
} |
| Obsolete - use ON_DimStyle::DimensionLengthDisplay. More...
|
|
enum | osnap_mode {
os_none = 0,
os_near = 2,
os_focus = 8,
os_center = 0x20,
os_vertex = 0x40,
os_knot = 0x80,
os_quadrant = 0x200,
os_midpoint = 0x800,
os_intersection = 0x2000,
os_end = 0x20000,
os_perpendicular = 0x80000,
os_tangent = 0x200000,
os_point = 0x08000000,
os_all_snaps = 0xFFFFFFFF
} |
|
enum | plot_color_source { plot_color_from_layer = 0,
plot_color_from_object = 1,
plot_color_from_display = 2,
plot_color_from_parent = 3
} |
|
enum | plot_weight_source { plot_weight_from_layer = 0,
plot_weight_from_object = 1,
plot_weight_from_parent = 3
} |
|
enum | point_style {
unknown_point_style = 0,
not_rational = 1,
homogeneous_rational = 2,
euclidean_rational = 3,
intrinsic_point_style = 4,
point_style_count = 5
} |
|
enum | ReadFileResult : unsigned char { ReadFileResult::Unset = 0,
ReadFileResult::Completed = 1,
ReadFileResult::CompletedWithErrors = 2,
ReadFileResult::Failed = 3
} |
| ON::ReadFileResult reports what happened when a file read was attempted. More...
|
|
enum | RichTextStyle : unsigned char { RichTextStyle::Unset = 0,
RichTextStyle::Windows10SDK = 1,
RichTextStyle::AppleOSXSDK = 2
} |
| Rich text style More...
|
|
enum | RuntimeEnvironment : unsigned char {
RuntimeEnvironment::Unset = 0,
RuntimeEnvironment::None = 1,
RuntimeEnvironment::Windows = 2,
RuntimeEnvironment::Apple = 3,
RuntimeEnvironment::Android = 4,
RuntimeEnvironment::Linux = 5,
RuntimeEnvironment::WebAssembly = 6
} |
| ON::RuntimeEnvironment identifies a runtime environment (operating system). This value is saved in binary archives so appropriate adjustments to resources provided by runtime environments, like fonts, can be made when an archive created in one runtime environment is used in another. More...
|
|
enum | SectionAttributesSource : unsigned char { SectionAttributesSource::FromLayer = 0,
SectionAttributesSource::FromObject = 1,
SectionAttributesSource::FromParent = 2,
SectionAttributesSource::FromSectioner = 3
} |
| The source of sectioning attributes on an object. More...
|
|
enum | SectionFillRule : unsigned char { SectionFillRule::ClosedCurves = 0,
SectionFillRule::SolidObjects = 1
} |
| For sectioning an object; the decision of when to generate hatches and fills. More...
|
|
enum | SectionLabelStyle : unsigned char { SectionLabelStyle::None = 0,
SectionLabelStyle::TextDotFromName = 1,
SectionLabelStyle::TextFromName = 2
} |
| The source of sectioning attributes on an object. More...
|
|
enum | sort_algorithm : unsigned int { sort_algorithm::heap_sort = 0,
sort_algorithm::quick_sort = 1
} |
|
enum | surface_style {
unknown_surface_style = 0,
plane = 1,
circular_cylinder = 2,
elliptical_cylinder = 3,
circular_cone = 4,
elliptical_cone = 5,
sphere = 6,
torus = 7,
surface_of_revolution = 8,
ruled_surface = 9,
freeform_surface = 10,
surface_style_count = 11
} |
|
enum | TextHorizontalAlignment : unsigned char { TextHorizontalAlignment::Left = 0,
TextHorizontalAlignment::Center = 1,
TextHorizontalAlignment::Right = 2,
TextHorizontalAlignment::Auto = 3
} |
| Horizontal location of text attach point relative to text More...
|
|
enum | TextOrientation : unsigned char { TextOrientation::InPlane = 0,
TextOrientation::InView = 1
} |
| Method for getting rotation for drawing text More...
|
|
enum | texture_mode { no_texture = 0,
modulate_texture = 1,
decal_texture = 2
} |
|
enum | TextVerticalAlignment : unsigned char {
TextVerticalAlignment::Top = 0,
TextVerticalAlignment::MiddleOfTop = 1,
TextVerticalAlignment::BottomOfTop = 2,
TextVerticalAlignment::Middle = 3,
TextVerticalAlignment::MiddleOfBottom = 4,
TextVerticalAlignment::Bottom = 5,
TextVerticalAlignment::BottomOfBoundingBox = 6
} |
| Vertical location of text attach point relative to text More...
|
|
enum | v3_display_mode { v3_default_display = 0,
v3_wireframe_display = 1,
v3_shaded_display = 2,
v3_renderpreview_display = 3
} |
|
enum | view_projection : unsigned int { unknown_view = 0,
parallel_view = 1,
perspective_view = 2
} |
|
enum | view_type {
model_view_type = 0,
page_view_type = 1,
nested_view_type = 2,
uveditor_view_type = 3,
blockeditor_view_type = 4
} |
|
enum | ViewSectionBehavior : unsigned char { ViewSectionBehavior::ClipAndSection = 0,
ViewSectionBehavior::SectionOnly = 1
} |
| Defines how views work with clipping planes. More...
|
|
|
static active_space | ActiveSpace (int) |
| convert integer to active_space enum More...
|
|
static double | AngleUnitScale (ON::AngleUnitSystem us_from, ON::AngleUnitSystem us_to) |
|
static ON::AngleUnitSystem | AngleUnitSystemFromUnsigned (unsigned int angle_unit_system_as_unsigned) |
|
static ON::AnnotationType | AnnotationTypeFromUnsigned (unsigned int annotation_type_as_unsigned) |
|
static archive_mode | ArchiveMode (int) |
| convert integer to endian enum More...
|
|
static void | Begin () |
|
static bitmap_type | BitmapType (int) |
| convert integer to bitmap_type enum More...
|
|
static int | CloseAllFiles () |
| like _fcloseall() - needed when OpenNURBS is used as a DLL More...
|
|
static int | CloseFile (FILE *) |
|
static ON::ComponentNameConflictResolution | ComponentNameConflictResolutionFromUnsigned (unsigned int component_name_conflict_resolution_as_unsigned) |
|
static continuity | Continuity (int) |
|
static coordinate_system | CoordinateSystem (int) |
| convert integer to coordinate_system enum More...
|
|
static cubic_loft_end_condition | CubicLoftEndCondition (int i) |
|
static ON::RuntimeEnvironment | CurrentRuntimeEnvironment () |
|
static curvature_style | CurvatureStyle (int) |
| convert integer to curvature_style enum More...
|
|
static curve_style | CurveStyle (int) |
| convert integer to curve_style enum More...
|
|
static ON::OBSOLETE_DistanceDisplayMode | DistanceDisplayModeFromUnsigned (unsigned int distance_display_mode_as_unsigned) |
|
static ON::EarthCoordinateSystem | EarthCoordinateSystemFromUnsigned (unsigned int earth_coordinte_system_as_unsigned) |
|
static void | End () |
|
static endian | Endian () |
| returns endian-ness of current CPU More...
|
|
static endian | Endian (int) |
| convert integer to endian enum More...
|
|
static exception_type | ExceptionType (int) |
| convert integer to exception_type enum More...
|
|
static bool | GetFileStats (const wchar_t *filename, size_t *filesize, time_t *create_time, time_t *lastmodify_time) |
|
static bool | GetFileStats (FILE *fp, size_t *filesize, time_t *create_time, time_t *lastmodify_time) |
|
static bool | IsDirectory (const char *utf8pathname) |
|
static bool | IsDirectory (const wchar_t *pathname) |
|
static bool | IsExtraTerrestrialLengthUnit (ON::LengthUnitSystem length_unit_system) |
|
static bool | IsMetricLengthUnit (ON::LengthUnitSystem length_unit_system) |
|
static bool | IsMicroscopicLengthUnit (ON::LengthUnitSystem length_unit_system) |
|
static int | IsOpenNURBSFile (const char *utf8pathname) |
|
static int | IsOpenNURBSFile (const wchar_t *pathname) |
|
static int | IsOpenNURBSFile (FILE *fp) |
|
static bool | IsParallelProjection (ON::view_projection projection) |
|
static bool | IsPerspectiveProjection (ON::view_projection projection) |
|
static bool | IsTerrestrialLengthUnit (ON::LengthUnitSystem length_unit_system) |
|
static bool | IsUnitedStatesCustomaryLengthUnit (ON::LengthUnitSystem length_unit_system) |
|
static bool | IsUnitedStatesPrinterLengthUnit (ON::LengthUnitSystem length_unit_system) |
|
static knot_style | KnotStyle (int) |
| convert integer to knot_style enum More...
|
|
static layer_mode | LayerMode (int) |
| convert integer to layer_mode enum More...
|
|
static ON::LengthUnitSystem | LengthUnitSystemFromUnsigned (unsigned int length_unit_system_as_unsigned) |
|
static unsigned int | LibraryStatus () |
|
static light_style | LightStyle (int) |
| convert integer to light_style enum More...
|
|
static LineCapStyle | LineCapStyleFromUnsigned (unsigned int cap_as_unsigned) |
|
static LineJoinStyle | LineJoinStyleFromUnsigned (unsigned int join_as_unsigned) |
|
static mesh_type | MeshType (int) |
| convert integer to mesh_type enum More...
|
|
static ON::LengthUnitSystem | ModelLengthUnitSystem (ON__UINT_PTR model_serial_number) |
|
static object_color_source | ObjectColorSource (int) |
| convert integer to object_color_source enum More...
|
|
static object_decoration | ObjectDecoration (int) |
| convert integer to line_pattern enum More...
|
|
static object_linetype_source | ObjectLinetypeSource (int) |
| convert integer to object_linetype_source enum More...
|
|
static object_material_source | ObjectMaterialSource (int) |
| convert integer to object_color_source enum More...
|
|
static object_mode | ObjectMode (int) |
| convert integer to object_mode enum More...
|
|
static object_type | ObjectType (int) |
| convert integer to object_type enum More...
|
|
static FILE * | OpenFile (const char *filename, const char *filemode) |
|
static FILE * | OpenFile (const wchar_t *filename, const wchar_t *filemode) |
|
static osnap_mode | OSnapMode (int) |
| convert integer to osnap_mode enum More...
|
|
static continuity | ParametricContinuity (int) |
|
static plot_color_source | PlotColorSource (int) |
| convert integer to plot_color_source enum More...
|
|
static plot_weight_source | PlotWeightSource (int) |
| convert integer to plot_color_source enum More...
|
|
static point_style | PointStyle (int) |
| convert integer to point_style enum More...
|
|
static continuity | PolylineContinuity (int) |
|
static bool | ReadFileCompleted (ON::ReadFileResult read_file_result) |
|
static bool | ReadFileFailed (ON::ReadFileResult read_file_result) |
|
static ON::ReadFileResult | ReadFileResultFromUnsigned (unsigned int read_file_result_as_unsigned) |
|
static void | RegisterModelLengthUnitSystemCallback (ON::LengthUnitSystem(*func_ModelLengthUnitSystemCallback)(ON__UINT_PTR)) |
|
static ON::RichTextStyle | RichTextStyleFromCurrentPlatform () |
|
static ON::RichTextStyle | RichTextStyleFromUnsigned (unsigned int u) |
|
static ON::RuntimeEnvironment | RuntimeEnvironmentFromUnsigned (unsigned int runtime_environment_as_unsigned) |
|
static SectionAttributesSource | SectionAttributesSourceFromUnsigned (unsigned int section_attributes_source_as_unsigned) |
|
static SectionFillRule | SectionFillRuleFromUnsigned (unsigned int section_fill_rule_as_unsigned) |
|
static SectionLabelStyle | SectionLabelStyleFromUnsigned (unsigned int section_label_style_as_unsigned) |
|
static void | SetLibraryStatus (unsigned int status) |
|
static sort_algorithm | SortAlgorithm (int) |
| convert integer to sort_method enum More...
|
|
static const char * | SourceGitBranchName () |
|
static const char * | SourceGitRevisionHash () |
|
static const char * | SourceIdentification () |
|
static surface_style | SurfaceStyle (int) |
| convert integer to surface_style enum More...
|
|
static ON::TextHorizontalAlignment | TextHorizontalAlignmentFromUnsigned (unsigned int horizontal_alignment_as_unsigned) |
|
static ON::TextHorizontalAlignment | TextHorizontalAlignmentFromV5Justification (unsigned int v5_justification_bits) |
|
static ON::TextOrientation | TextOrientationFromUnsigned (unsigned int orientation_as_unsigned) |
|
static texture_mode | TextureMode (int) |
| OBSOLETE. More...
|
|
static ON::TextVerticalAlignment | TextVerticalAlignmentFromUnsigned (unsigned int vertical_alignment_as_unsigned) |
|
static ON::TextVerticalAlignment | TextVerticalAlignmentFromV5Justification (unsigned int v5_justification_bits) |
|
static double | UnitScale (const class ON_3dmUnitsAndTolerances &us_from, const class ON_3dmUnitsAndTolerances &us_to) |
|
static double | UnitScale (const class ON_UnitSystem &us_from, const class ON_UnitSystem &us_to) |
|
static double | UnitScale (const class ON_UnitSystem &us_from, ON::LengthUnitSystem us_to) |
|
static double | UnitScale (ON::LengthUnitSystem us_from, const class ON_UnitSystem &us_to) |
|
static double | UnitScale (ON::LengthUnitSystem us_from, ON::LengthUnitSystem us_to) |
|
static ON::v3_display_mode | V3DisplayMode (int) |
| convert integer to legacy v3_display_mode enum More...
|
|
static unsigned int | Version () |
|
static unsigned int | VersionBranch () |
|
static unsigned int | VersionDayOfMonth () |
|
static unsigned int | VersionGetQuartet (unsigned int version_quartet[4]) |
|
static unsigned int | VersionHour () |
|
static unsigned int | VersionMajor () |
|
static unsigned int | VersionMajorMaximum () |
|
static unsigned int | VersionMinor () |
|
static unsigned int | VersionMinorMaximum () |
|
static unsigned int | VersionMinute () |
|
static unsigned int | VersionMonth () |
|
static const char * | VersionQuartetAsString () |
|
static const wchar_t * | VersionQuartetAsWideString () |
|
static unsigned int | VersionYear () |
|
static view_projection | ViewProjection (int i) |
|
static ViewSectionBehavior | ViewSectionBehaviorFromUnsigned (unsigned int view_section_behavior_as_unsigned) |
|
static view_type | ViewType (int) |
| convert integer to display_mode enum More...
|
|