API 文件集 > Miscellaneous > Object ProOffset > Function ProOffsetXsecInfoGet
Function ProOffsetXsecInfoGet
Description
Returns parameters of offset X-section
Synopsis
#include <ProXsec.h>
ProOffsetXsecInfoGet
(
ProXsec* xsec
/* (In)
Cross-section handle
*/
ProView p_view
/* (In)
View handle
*/
Pro2dLinedef** p_ent_arr
/* (Out)
ProArray of Pro2dLinedef structures for X-section entities. Free this using ProArrayFree().
*/
/* (Out)
ProPlanedata for an entity plane.
*/
ProBoolean* p_one_sided
/* (Out)
TRUE if X-section is on one side of entity plane; FALSE - both sided.
*/
ProBoolean* p_flip
/* (Out)
FALSE, we remove material from the left of the oriented entities (if we look from the positive normal to entity plane) and if one_sided = TRUE, only from one side of entity plane opposite to its normal. TRUE, we instead keep this area and remove the rest of the material.
*/
ProXsecOffsetSide* p_side_xsec_mode
/* (Out)
returns orientation as PRO_XSEC_OFFSET_SIDE_1/PRO_XSEC_OFFSET_SIDE_2/ PRO_XSEC_OFFSET_BOTH_SIDES
*/
)
Returns
Data successfully retrieved.
Invalid input parameter(s).
Some of X-section entities is not a line segment.
這是否有幫助?