pub struct ResolvedRefs {
pub profile_center: Option<[f64; 3]>,
pub profile_normal: Option<[f64; 3]>,
pub axis_point: Option<[f64; 3]>,
pub axis_dir: Option<[f64; 3]>,
}Expand description
Resolved scene geometry an annotation builder needs beyond the pure
inputParams — the profile plane (extrude/revolve) and the axis line
(revolve). These are NOT pure params (they resolve scene references), so the
engine resolves them from the run report’s sketch profiles / axes (see
EngineState::feature_dimension_refs) and hands them in. All fields are
optional: a builder that can’t source what it needs returns [] gracefully.
Fields§
§profile_center: Option<[f64; 3]>Extrude/revolve: the profile CENTER (world centroid of the outer loop) — the anchor the distance/angle gizmo hangs off, matching the previous app’s resolved profile-reference-geometry center.
profile_normal: Option<[f64; 3]>Extrude/revolve: the profile plane NORMAL (unit) — the sketch +z basis,
the authoritative sweep/revolve-orientation direction.
axis_point: Option<[f64; 3]>Revolve: a point on the resolved axis LINE (world).
axis_dir: Option<[f64; 3]>Revolve: the resolved axis line DIRECTION (unit, UNORIENTED — the builder
orients it toward the profile front via the orient_revolve_axis port).
Trait Implementations§
Source§impl Clone for ResolvedRefs
impl Clone for ResolvedRefs
Source§fn clone(&self) -> ResolvedRefs
fn clone(&self) -> ResolvedRefs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ResolvedRefs
impl Debug for ResolvedRefs
Source§impl Default for ResolvedRefs
impl Default for ResolvedRefs
Source§fn default() -> ResolvedRefs
fn default() -> ResolvedRefs
Auto Trait Implementations§
impl Freeze for ResolvedRefs
impl RefUnwindSafe for ResolvedRefs
impl Send for ResolvedRefs
impl Sync for ResolvedRefs
impl Unpin for ResolvedRefs
impl UnsafeUnpin for ResolvedRefs
impl UnwindSafe for ResolvedRefs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more