Lines Matching refs:_3dsolid

5488   Dwg_Entity__3DSOLID *restrict _3dsolid = obj->tio.entity->tio._3DSOLID;  in test__3DSOLID()  local
5490 if (!obj_obj || !_3dsolid) in test__3DSOLID()
5497 … if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "_dxf_sab_converted", &_dxf_sab_converted, NULL) in test__3DSOLID()
5498 && _dxf_sab_converted == _3dsolid->_dxf_sab_converted) in test__3DSOLID()
5501 …fail ("3DSOLID._dxf_sab_converted [B] " FORMAT_B " != " FORMAT_B "", _3dsolid->_dxf_sab_converted,… in test__3DSOLID()
5503 …if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "_dxf_sab_converted", &_dxf_sab_converted, 0) in test__3DSOLID()
5504 && _dxf_sab_converted == _3dsolid->_dxf_sab_converted) in test__3DSOLID()
5507 …fail ("3DSOLID._dxf_sab_converted [B] set+1 " FORMAT_B " != " FORMAT_B "", _3dsolid->_dxf_sab_conv… in test__3DSOLID()
5508 _3dsolid->_dxf_sab_converted--; in test__3DSOLID()
5512 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "acis_data", &acis_data, NULL) in test__3DSOLID()
5514 ? strEQ ((char *)acis_data, (char *)_3dsolid->acis_data) in test__3DSOLID()
5515 : !_3dsolid->acis_data) in test__3DSOLID()
5518 fail ("3DSOLID.acis_data [RC*] '%s' <> '%s'", acis_data, _3dsolid->acis_data); in test__3DSOLID()
5522 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "acis_empty", &acis_empty, NULL) in test__3DSOLID()
5523 && acis_empty == _3dsolid->acis_empty) in test__3DSOLID()
5526 … fail ("3DSOLID.acis_empty [B] " FORMAT_B " != " FORMAT_B "", _3dsolid->acis_empty, acis_empty); in test__3DSOLID()
5528 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "acis_empty", &acis_empty, 0) in test__3DSOLID()
5529 && acis_empty == _3dsolid->acis_empty) in test__3DSOLID()
5532 …fail ("3DSOLID.acis_empty [B] set+1 " FORMAT_B " != " FORMAT_B "", _3dsolid->acis_empty, acis_empt… in test__3DSOLID()
5533 _3dsolid->acis_empty--; in test__3DSOLID()
5537 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "acis_empty2", &acis_empty2, NULL) in test__3DSOLID()
5538 && acis_empty2 == _3dsolid->acis_empty2) in test__3DSOLID()
5541 … fail ("3DSOLID.acis_empty2 [B] " FORMAT_B " != " FORMAT_B "", _3dsolid->acis_empty2, acis_empty2); in test__3DSOLID()
5543 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "acis_empty2", &acis_empty2, 0) in test__3DSOLID()
5544 && acis_empty2 == _3dsolid->acis_empty2) in test__3DSOLID()
5547 …fail ("3DSOLID.acis_empty2 [B] set+1 " FORMAT_B " != " FORMAT_B "", _3dsolid->acis_empty2, acis_em… in test__3DSOLID()
5548 _3dsolid->acis_empty2--; in test__3DSOLID()
5552 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "acis_empty_bit", &acis_empty_bit, NULL) in test__3DSOLID()
5553 && acis_empty_bit == _3dsolid->acis_empty_bit) in test__3DSOLID()
5556 …fail ("3DSOLID.acis_empty_bit [B] " FORMAT_B " != " FORMAT_B "", _3dsolid->acis_empty_bit, acis_em… in test__3DSOLID()
5558 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "acis_empty_bit", &acis_empty_bit, 0) in test__3DSOLID()
5559 && acis_empty_bit == _3dsolid->acis_empty_bit) in test__3DSOLID()
5562 …fail ("3DSOLID.acis_empty_bit [B] set+1 " FORMAT_B " != " FORMAT_B "", _3dsolid->acis_empty_bit, a… in test__3DSOLID()
5563 _3dsolid->acis_empty_bit--; in test__3DSOLID()
5567 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "block_size", &block_size, NULL) in test__3DSOLID()
5568 && !memcmp (&block_size, &_3dsolid->block_size, sizeof (BITCODE_BL*))) in test__3DSOLID()
5575 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "encr_sat_data", &encr_sat_data, NULL) in test__3DSOLID()
5576 && !memcmp (&encr_sat_data, &_3dsolid->encr_sat_data, sizeof (_3dsolid->encr_sat_data))) in test__3DSOLID()
5583 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "end_marker", &end_marker, NULL) in test__3DSOLID()
5584 && end_marker == _3dsolid->end_marker) in test__3DSOLID()
5587 fail ("3DSOLID.end_marker [BL] %u != %u", _3dsolid->end_marker, end_marker); in test__3DSOLID()
5589 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "end_marker", &end_marker, 0) in test__3DSOLID()
5590 && end_marker == _3dsolid->end_marker) in test__3DSOLID()
5593 fail ("3DSOLID.end_marker [BL] set+1 %u != %u", _3dsolid->end_marker, end_marker); in test__3DSOLID()
5594 _3dsolid->end_marker--; in test__3DSOLID()
5598 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "extra_acis_data", &extra_acis_data, NULL) in test__3DSOLID()
5599 … && !memcmp (&extra_acis_data, &_3dsolid->extra_acis_data, sizeof (struct _dwg_entity_3DSOLID*))) in test__3DSOLID()
5606 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "has_revision_guid", &has_revision_guid, NULL) in test__3DSOLID()
5607 && has_revision_guid == _3dsolid->has_revision_guid) in test__3DSOLID()
5610 …fail ("3DSOLID.has_revision_guid [B] " FORMAT_B " != " FORMAT_B "", _3dsolid->has_revision_guid, h… in test__3DSOLID()
5612 … if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "has_revision_guid", &has_revision_guid, 0) in test__3DSOLID()
5613 && has_revision_guid == _3dsolid->has_revision_guid) in test__3DSOLID()
5616 …fail ("3DSOLID.has_revision_guid [B] set+1 " FORMAT_B " != " FORMAT_B "", _3dsolid->has_revision_g… in test__3DSOLID()
5617 _3dsolid->has_revision_guid--; in test__3DSOLID()
5621 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "history_id", &history_id, NULL) in test__3DSOLID()
5622 && !memcmp (&history_id, &_3dsolid->history_id, sizeof (BITCODE_H))) in test__3DSOLID()
5629 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "isoline_present", &isoline_present, NULL) in test__3DSOLID()
5630 && isoline_present == _3dsolid->isoline_present) in test__3DSOLID()
5633 …fail ("3DSOLID.isoline_present [B] " FORMAT_B " != " FORMAT_B "", _3dsolid->isoline_present, isoli… in test__3DSOLID()
5635 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "isoline_present", &isoline_present, 0) in test__3DSOLID()
5636 && isoline_present == _3dsolid->isoline_present) in test__3DSOLID()
5639 …fail ("3DSOLID.isoline_present [B] set+1 " FORMAT_B " != " FORMAT_B "", _3dsolid->isoline_present,… in test__3DSOLID()
5640 _3dsolid->isoline_present--; in test__3DSOLID()
5644 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "isolines", &isolines, NULL) in test__3DSOLID()
5645 && isolines == _3dsolid->isolines) in test__3DSOLID()
5648 fail ("3DSOLID.isolines [BL] %u != %u", _3dsolid->isolines, isolines); in test__3DSOLID()
5650 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "isolines", &isolines, 0) in test__3DSOLID()
5651 && isolines == _3dsolid->isolines) in test__3DSOLID()
5654 fail ("3DSOLID.isolines [BL] set+1 %u != %u", _3dsolid->isolines, isolines); in test__3DSOLID()
5655 _3dsolid->isolines--; in test__3DSOLID()
5660 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "num_materials", &count, NULL) in test__3DSOLID()
5661 && dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "materials", &materials, NULL) in test__3DSOLID()
5662 && materials == _3dsolid->materials) in test__3DSOLID()
5669 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "num_blocks", &num_blocks, NULL) in test__3DSOLID()
5670 && num_blocks == _3dsolid->num_blocks) in test__3DSOLID()
5673 fail ("3DSOLID.num_blocks [BL] %u != %u", _3dsolid->num_blocks, num_blocks); in test__3DSOLID()
5675 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "num_blocks", &num_blocks, 0) in test__3DSOLID()
5676 && num_blocks == _3dsolid->num_blocks) in test__3DSOLID()
5679 fail ("3DSOLID.num_blocks [BL] set+1 %u != %u", _3dsolid->num_blocks, num_blocks); in test__3DSOLID()
5680 _3dsolid->num_blocks--; in test__3DSOLID()
5684 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "num_materials", &num_materials, NULL) in test__3DSOLID()
5685 && num_materials == _3dsolid->num_materials) in test__3DSOLID()
5688 fail ("3DSOLID.num_materials [BL] %u != %u", _3dsolid->num_materials, num_materials); in test__3DSOLID()
5690 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "num_materials", &num_materials, 0) in test__3DSOLID()
5691 && num_materials == _3dsolid->num_materials) in test__3DSOLID()
5694 fail ("3DSOLID.num_materials [BL] set+1 %u != %u", _3dsolid->num_materials, num_materials); in test__3DSOLID()
5695 _3dsolid->num_materials--; in test__3DSOLID()
5699 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "num_silhouettes", &num_silhouettes, NULL) in test__3DSOLID()
5700 && num_silhouettes == _3dsolid->num_silhouettes) in test__3DSOLID()
5703 fail ("3DSOLID.num_silhouettes [BL] %u != %u", _3dsolid->num_silhouettes, num_silhouettes); in test__3DSOLID()
5705 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "num_silhouettes", &num_silhouettes, 0) in test__3DSOLID()
5706 && num_silhouettes == _3dsolid->num_silhouettes) in test__3DSOLID()
5709 … fail ("3DSOLID.num_silhouettes [BL] set+1 %u != %u", _3dsolid->num_silhouettes, num_silhouettes); in test__3DSOLID()
5710 _3dsolid->num_silhouettes--; in test__3DSOLID()
5714 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "num_wires", &num_wires, NULL) in test__3DSOLID()
5715 && num_wires == _3dsolid->num_wires) in test__3DSOLID()
5718 fail ("3DSOLID.num_wires [BL] %u != %u", _3dsolid->num_wires, num_wires); in test__3DSOLID()
5720 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "num_wires", &num_wires, 0) in test__3DSOLID()
5721 && num_wires == _3dsolid->num_wires) in test__3DSOLID()
5724 fail ("3DSOLID.num_wires [BL] set+1 %u != %u", _3dsolid->num_wires, num_wires); in test__3DSOLID()
5725 _3dsolid->num_wires--; in test__3DSOLID()
5729 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "parent", &parent, NULL) in test__3DSOLID()
5730 && !memcmp (&parent, &_3dsolid->parent, sizeof (struct _dwg_object_entity*))) in test__3DSOLID()
5737 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "point", &point, NULL) in test__3DSOLID()
5738 && !memcmp (&point, &_3dsolid->point, sizeof (BITCODE_3BD))) in test__3DSOLID()
5745 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "point_present", &point_present, NULL) in test__3DSOLID()
5746 && point_present == _3dsolid->point_present) in test__3DSOLID()
5749 …fail ("3DSOLID.point_present [B] " FORMAT_B " != " FORMAT_B "", _3dsolid->point_present, point_pre… in test__3DSOLID()
5751 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "point_present", &point_present, 0) in test__3DSOLID()
5752 && point_present == _3dsolid->point_present) in test__3DSOLID()
5755 …fail ("3DSOLID.point_present [B] set+1 " FORMAT_B " != " FORMAT_B "", _3dsolid->point_present, poi… in test__3DSOLID()
5756 _3dsolid->point_present--; in test__3DSOLID()
5760 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "revision_bytes[9]", &revision_bytes, NULL) in test__3DSOLID()
5761 && !memcmp (&revision_bytes, &_3dsolid->revision_bytes, sizeof (BITCODE_RC))) in test__3DSOLID()
5768 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "revision_guid[39]", &revision_guid, NULL) in test__3DSOLID()
5769 && !memcmp (&revision_guid, &_3dsolid->revision_guid, sizeof (BITCODE_RC))) in test__3DSOLID()
5776 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "revision_major", &revision_major, NULL) in test__3DSOLID()
5777 && revision_major == _3dsolid->revision_major) in test__3DSOLID()
5780 fail ("3DSOLID.revision_major [BL] %u != %u", _3dsolid->revision_major, revision_major); in test__3DSOLID()
5782 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "revision_major", &revision_major, 0) in test__3DSOLID()
5783 && revision_major == _3dsolid->revision_major) in test__3DSOLID()
5786 fail ("3DSOLID.revision_major [BL] set+1 %u != %u", _3dsolid->revision_major, revision_major); in test__3DSOLID()
5787 _3dsolid->revision_major--; in test__3DSOLID()
5791 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "revision_minor1", &revision_minor1, NULL) in test__3DSOLID()
5792 && revision_minor1 == _3dsolid->revision_minor1) in test__3DSOLID()
5795 fail ("3DSOLID.revision_minor1 [BS] %hu != %hu", _3dsolid->revision_minor1, revision_minor1); in test__3DSOLID()
5797 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "revision_minor1", &revision_minor1, 0) in test__3DSOLID()
5798 && revision_minor1 == _3dsolid->revision_minor1) in test__3DSOLID()
5801 …fail ("3DSOLID.revision_minor1 [BS] set+1 %hu != %hu", _3dsolid->revision_minor1, revision_minor1); in test__3DSOLID()
5802 _3dsolid->revision_minor1--; in test__3DSOLID()
5806 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "revision_minor2", &revision_minor2, NULL) in test__3DSOLID()
5807 && revision_minor2 == _3dsolid->revision_minor2) in test__3DSOLID()
5810 fail ("3DSOLID.revision_minor2 [BS] %hu != %hu", _3dsolid->revision_minor2, revision_minor2); in test__3DSOLID()
5812 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "revision_minor2", &revision_minor2, 0) in test__3DSOLID()
5813 && revision_minor2 == _3dsolid->revision_minor2) in test__3DSOLID()
5816 …fail ("3DSOLID.revision_minor2 [BS] set+1 %hu != %hu", _3dsolid->revision_minor2, revision_minor2); in test__3DSOLID()
5817 _3dsolid->revision_minor2--; in test__3DSOLID()
5821 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "sab_size", &sab_size, NULL) in test__3DSOLID()
5822 && sab_size == _3dsolid->sab_size) in test__3DSOLID()
5825 fail ("3DSOLID.sab_size [BL] %u != %u", _3dsolid->sab_size, sab_size); in test__3DSOLID()
5827 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "sab_size", &sab_size, 0) in test__3DSOLID()
5828 && sab_size == _3dsolid->sab_size) in test__3DSOLID()
5831 fail ("3DSOLID.sab_size [BL] set+1 %u != %u", _3dsolid->sab_size, sab_size); in test__3DSOLID()
5832 _3dsolid->sab_size--; in test__3DSOLID()
5837 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "num_silhouettes", &count, NULL) in test__3DSOLID()
5838 && dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "silhouettes", &silhouettes, NULL) in test__3DSOLID()
5839 && silhouettes == _3dsolid->silhouettes) in test__3DSOLID()
5846 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "unknown", &unknown, NULL) in test__3DSOLID()
5847 && unknown == _3dsolid->unknown) in test__3DSOLID()
5850 fail ("3DSOLID.unknown [B] " FORMAT_B " != " FORMAT_B "", _3dsolid->unknown, unknown); in test__3DSOLID()
5852 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "unknown", &unknown, 0) in test__3DSOLID()
5853 && unknown == _3dsolid->unknown) in test__3DSOLID()
5856 fail ("3DSOLID.unknown [B] set+1 " FORMAT_B " != " FORMAT_B "", _3dsolid->unknown, unknown); in test__3DSOLID()
5857 _3dsolid->unknown--; in test__3DSOLID()
5861 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "version", &version, NULL) in test__3DSOLID()
5862 && version == _3dsolid->version) in test__3DSOLID()
5865 fail ("3DSOLID.version [BS] %hu != %hu", _3dsolid->version, version); in test__3DSOLID()
5867 if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "version", &version, 0) in test__3DSOLID()
5868 && version == _3dsolid->version) in test__3DSOLID()
5871 fail ("3DSOLID.version [BS] set+1 %hu != %hu", _3dsolid->version, version); in test__3DSOLID()
5872 _3dsolid->version--; in test__3DSOLID()
5876 …if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "wireframe_data_present", &wireframe_data_presen… in test__3DSOLID()
5877 && wireframe_data_present == _3dsolid->wireframe_data_present) in test__3DSOLID()
5880 …fail ("3DSOLID.wireframe_data_present [B] " FORMAT_B " != " FORMAT_B "", _3dsolid->wireframe_data_… in test__3DSOLID()
5882 …if (dwg_dynapi_entity_set_value (_3dsolid, "3DSOLID", "wireframe_data_present", &wireframe_data_pr… in test__3DSOLID()
5883 && wireframe_data_present == _3dsolid->wireframe_data_present) in test__3DSOLID()
5886 …fail ("3DSOLID.wireframe_data_present [B] set+1 " FORMAT_B " != " FORMAT_B "", _3dsolid->wireframe… in test__3DSOLID()
5887 _3dsolid->wireframe_data_present--; in test__3DSOLID()
5892 if (dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "num_wires", &count, NULL) in test__3DSOLID()
5893 && dwg_dynapi_entity_value (_3dsolid, "3DSOLID", "wires", &wires, NULL) in test__3DSOLID()
5894 && wires == _3dsolid->wires) in test__3DSOLID()